Documentation ¶
Index ¶
- type IonClient
- func (_m *IonClient) DecodeBech32ValAddr(_a0 string) (types.ValAddress, error)
- func (_m *IonClient) GetKeyAddress() (types.AccAddress, error)
- func (_m *IonClient) GetKeybase() keyring.Keyring
- func (_m *IonClient) SetSDKContext() func()
- func (_m *IonClient) Status(_a0 context.Context) (*coretypes.ResultStatus, error)
- type MessageSender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IonClient ¶ added in v1.10.0
IonClient is an autogenerated mock type for the IonClient type
func NewIonClient ¶ added in v1.10.0
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
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:
type MessageSender ¶
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