mocks

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 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) 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 types.Msg, 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