mocks

package
v1.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IonClient added in v1.10.0

type IonClient struct {
	mock.Mock
}

IonClient is an autogenerated mock type for the IonClient type

func NewIonClient added in v1.10.0

func NewIonClient(t interface {
	mock.TestingT
	Cleanup(func())
},
) *IonClient

NewIonClient creates a new instance of IonClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IonClient) DecodeBech32ValAddr added in v1.10.0

func (_m *IonClient) DecodeBech32ValAddr(_a0 string) (types.ValAddress, error)

DecodeBech32ValAddr provides a mock function with given fields: _a0

func (*IonClient) GetKeyAddress added in v1.12.0

func (_m *IonClient) GetKeyAddress() (types.AccAddress, error)

GetKeyAddress provides a mock function with given fields:

func (*IonClient) GetKeybase added in v1.10.0

func (_m *IonClient) GetKeybase() keyring.Keyring

GetKeybase provides a mock function with given fields:

func (*IonClient) SetSDKContext added in v1.10.0

func (_m *IonClient) SetSDKContext() func()

SetSDKContext provides a mock function with given fields:

func (*IonClient) Status added in v1.10.0

func (_m *IonClient) Status(_a0 context.Context) (*coretypes.ResultStatus, error)

Status provides a mock function with given fields: _a0

type MessageSender

type MessageSender struct {
	mock.Mock
}

MessageSender is an autogenerated mock type for the MessageSender type

func NewMessageSender

func NewMessageSender(t interface {
	mock.TestingT
	Cleanup(func())
},
) *MessageSender

NewMessageSender creates a new instance of MessageSender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MessageSender) SendMsg

func (_m *MessageSender) SendMsg(ctx context.Context, msg proto.Message, memo string, opts ...ion.SendMsgOption) (*types.TxResponse, error)

SendMsg provides a mock function with given fields: ctx, msg, memo, opts

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL