mocks

package
v0.0.1-rc9 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. 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 (*Client) ClientContext

func (_m *Client) ClientContext() client.Context

ClientContext provides a mock function with given fields:

func (*Client) EXPECT

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) Node

func (_m *Client) Node() v1beta3.NodeClient

Node provides a mock function with given fields:

func (*Client) PrintMessage

func (_m *Client) PrintMessage(_a0 interface{}) error

PrintMessage provides a mock function with given fields: _a0

func (*Client) Query

func (_m *Client) Query() v1beta3.QueryClient

Query provides a mock function with given fields:

func (*Client) Tx

func (_m *Client) Tx() v1beta3.TxClient

Tx provides a mock function with given fields:

type Client_ClientContext_Call

type Client_ClientContext_Call struct {
	*mock.Call
}

Client_ClientContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientContext'

func (*Client_ClientContext_Call) Return

func (*Client_ClientContext_Call) Run

func (*Client_ClientContext_Call) RunAndReturn

func (_c *Client_ClientContext_Call) RunAndReturn(run func() client.Context) *Client_ClientContext_Call

type Client_Expecter

type Client_Expecter struct {
	// contains filtered or unexported fields
}

func (*Client_Expecter) ClientContext

func (_e *Client_Expecter) ClientContext() *Client_ClientContext_Call

ClientContext is a helper method to define mock.On call

func (*Client_Expecter) Node

func (_e *Client_Expecter) Node() *Client_Node_Call

Node is a helper method to define mock.On call

func (*Client_Expecter) PrintMessage

func (_e *Client_Expecter) PrintMessage(_a0 interface{}) *Client_PrintMessage_Call

PrintMessage is a helper method to define mock.On call

  • _a0 interface{}

func (*Client_Expecter) Query

func (_e *Client_Expecter) Query() *Client_Query_Call

Query is a helper method to define mock.On call

func (*Client_Expecter) Tx

func (_e *Client_Expecter) Tx() *Client_Tx_Call

Tx is a helper method to define mock.On call

type Client_Node_Call

type Client_Node_Call struct {
	*mock.Call
}

Client_Node_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Node'

func (*Client_Node_Call) Return

func (*Client_Node_Call) Run

func (_c *Client_Node_Call) Run(run func()) *Client_Node_Call

func (*Client_Node_Call) RunAndReturn

func (_c *Client_Node_Call) RunAndReturn(run func() v1beta3.NodeClient) *Client_Node_Call

type Client_PrintMessage_Call

type Client_PrintMessage_Call struct {
	*mock.Call
}

Client_PrintMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrintMessage'

func (*Client_PrintMessage_Call) Return

func (*Client_PrintMessage_Call) Run

func (_c *Client_PrintMessage_Call) Run(run func(_a0 interface{})) *Client_PrintMessage_Call

func (*Client_PrintMessage_Call) RunAndReturn

func (_c *Client_PrintMessage_Call) RunAndReturn(run func(interface{}) error) *Client_PrintMessage_Call

type Client_Query_Call

type Client_Query_Call struct {
	*mock.Call
}

Client_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'

func (*Client_Query_Call) Return

func (*Client_Query_Call) Run

func (_c *Client_Query_Call) Run(run func()) *Client_Query_Call

func (*Client_Query_Call) RunAndReturn

func (_c *Client_Query_Call) RunAndReturn(run func() v1beta3.QueryClient) *Client_Query_Call

type Client_Tx_Call

type Client_Tx_Call struct {
	*mock.Call
}

Client_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'

func (*Client_Tx_Call) Return

func (_c *Client_Tx_Call) Return(_a0 v1beta3.TxClient) *Client_Tx_Call

func (*Client_Tx_Call) Run

func (_c *Client_Tx_Call) Run(run func()) *Client_Tx_Call

func (*Client_Tx_Call) RunAndReturn

func (_c *Client_Tx_Call) RunAndReturn(run func() v1beta3.TxClient) *Client_Tx_Call

type LightClient

type LightClient struct {
	mock.Mock
}

LightClient is an autogenerated mock type for the LightClient type

func NewLightClient

func NewLightClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *LightClient

NewLightClient creates a new instance of LightClient. 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 (*LightClient) ClientContext

func (_m *LightClient) ClientContext() client.Context

ClientContext provides a mock function with given fields:

func (*LightClient) EXPECT

func (_m *LightClient) EXPECT() *LightClient_Expecter

func (*LightClient) Node

func (_m *LightClient) Node() v1beta3.NodeClient

Node provides a mock function with given fields:

func (*LightClient) PrintMessage

func (_m *LightClient) PrintMessage(_a0 interface{}) error

PrintMessage provides a mock function with given fields: _a0

func (*LightClient) Query

func (_m *LightClient) Query() v1beta3.QueryClient

Query provides a mock function with given fields:

type LightClient_ClientContext_Call

type LightClient_ClientContext_Call struct {
	*mock.Call
}

LightClient_ClientContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientContext'

func (*LightClient_ClientContext_Call) Return

func (*LightClient_ClientContext_Call) Run

func (*LightClient_ClientContext_Call) RunAndReturn

type LightClient_Expecter

type LightClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*LightClient_Expecter) ClientContext

ClientContext is a helper method to define mock.On call

func (*LightClient_Expecter) Node

Node is a helper method to define mock.On call

func (*LightClient_Expecter) PrintMessage

func (_e *LightClient_Expecter) PrintMessage(_a0 interface{}) *LightClient_PrintMessage_Call

PrintMessage is a helper method to define mock.On call

  • _a0 interface{}

func (*LightClient_Expecter) Query

Query is a helper method to define mock.On call

type LightClient_Node_Call

type LightClient_Node_Call struct {
	*mock.Call
}

LightClient_Node_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Node'

func (*LightClient_Node_Call) Return

func (*LightClient_Node_Call) Run

func (_c *LightClient_Node_Call) Run(run func()) *LightClient_Node_Call

func (*LightClient_Node_Call) RunAndReturn

func (_c *LightClient_Node_Call) RunAndReturn(run func() v1beta3.NodeClient) *LightClient_Node_Call

type LightClient_PrintMessage_Call

type LightClient_PrintMessage_Call struct {
	*mock.Call
}

LightClient_PrintMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PrintMessage'

func (*LightClient_PrintMessage_Call) Return

func (*LightClient_PrintMessage_Call) Run

func (_c *LightClient_PrintMessage_Call) Run(run func(_a0 interface{})) *LightClient_PrintMessage_Call

func (*LightClient_PrintMessage_Call) RunAndReturn

func (_c *LightClient_PrintMessage_Call) RunAndReturn(run func(interface{}) error) *LightClient_PrintMessage_Call

type LightClient_Query_Call

type LightClient_Query_Call struct {
	*mock.Call
}

LightClient_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'

func (*LightClient_Query_Call) Return

func (*LightClient_Query_Call) Run

func (_c *LightClient_Query_Call) Run(run func()) *LightClient_Query_Call

func (*LightClient_Query_Call) RunAndReturn

func (_c *LightClient_Query_Call) RunAndReturn(run func() v1beta3.QueryClient) *LightClient_Query_Call

type NodeClient

type NodeClient struct {
	mock.Mock
}

NodeClient is an autogenerated mock type for the NodeClient type

func NewNodeClient

func NewNodeClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *NodeClient

NewNodeClient creates a new instance of NodeClient. 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 (*NodeClient) CurrentBlockHeight

func (_m *NodeClient) CurrentBlockHeight(_a0 context.Context) (int64, error)

CurrentBlockHeight provides a mock function with given fields: _a0

func (*NodeClient) EXPECT

func (_m *NodeClient) EXPECT() *NodeClient_Expecter

func (*NodeClient) SyncInfo

func (_m *NodeClient) SyncInfo(_a0 context.Context) (*coretypes.SyncInfo, error)

SyncInfo provides a mock function with given fields: _a0

type NodeClient_CurrentBlockHeight_Call

type NodeClient_CurrentBlockHeight_Call struct {
	*mock.Call
}

NodeClient_CurrentBlockHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentBlockHeight'

func (*NodeClient_CurrentBlockHeight_Call) Return

func (*NodeClient_CurrentBlockHeight_Call) Run

func (*NodeClient_CurrentBlockHeight_Call) RunAndReturn

type NodeClient_Expecter

type NodeClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*NodeClient_Expecter) CurrentBlockHeight

func (_e *NodeClient_Expecter) CurrentBlockHeight(_a0 interface{}) *NodeClient_CurrentBlockHeight_Call

CurrentBlockHeight is a helper method to define mock.On call

  • _a0 context.Context

func (*NodeClient_Expecter) SyncInfo

func (_e *NodeClient_Expecter) SyncInfo(_a0 interface{}) *NodeClient_SyncInfo_Call

SyncInfo is a helper method to define mock.On call

  • _a0 context.Context

type NodeClient_SyncInfo_Call

type NodeClient_SyncInfo_Call struct {
	*mock.Call
}

NodeClient_SyncInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncInfo'

func (*NodeClient_SyncInfo_Call) Return

func (*NodeClient_SyncInfo_Call) Run

func (*NodeClient_SyncInfo_Call) RunAndReturn

type QueryClient

type QueryClient struct {
	mock.Mock
}

QueryClient is an autogenerated mock type for the QueryClient type

func NewQueryClient

func NewQueryClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *QueryClient

NewQueryClient creates a new instance of QueryClient. 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 (*QueryClient) Audit

func (_m *QueryClient) Audit() v1.QueryClient

Audit provides a mock function with given fields:

func (*QueryClient) Auth

func (_m *QueryClient) Auth() types.QueryClient

Auth provides a mock function with given fields:

func (*QueryClient) Authz

func (_m *QueryClient) Authz() authz.QueryClient

Authz provides a mock function with given fields:

func (*QueryClient) Bank

func (_m *QueryClient) Bank() banktypes.QueryClient

Bank provides a mock function with given fields:

func (*QueryClient) Certs

func (_m *QueryClient) Certs() certv1.QueryClient

Certs provides a mock function with given fields:

func (*QueryClient) ClientContext

func (_m *QueryClient) ClientContext() client.Context

ClientContext provides a mock function with given fields:

func (*QueryClient) Deployment

func (_m *QueryClient) Deployment() v1beta4.QueryClient

Deployment provides a mock function with given fields:

func (*QueryClient) Distribution

func (_m *QueryClient) Distribution() distributiontypes.QueryClient

Distribution provides a mock function with given fields:

func (*QueryClient) EXPECT

func (_m *QueryClient) EXPECT() *QueryClient_Expecter

func (*QueryClient) Evidence

func (_m *QueryClient) Evidence() evidencetypes.QueryClient

Evidence provides a mock function with given fields:

func (*QueryClient) Feegrant

func (_m *QueryClient) Feegrant() feegrant.QueryClient

Feegrant provides a mock function with given fields:

func (*QueryClient) Gov

func (_m *QueryClient) Gov() govv1.QueryClient

Gov provides a mock function with given fields:

func (*QueryClient) GovLegacy

func (_m *QueryClient) GovLegacy() v1beta1.QueryClient

GovLegacy provides a mock function with given fields:

func (*QueryClient) Market

func (_m *QueryClient) Market() v1beta5.QueryClient

Market provides a mock function with given fields:

func (*QueryClient) Mint

func (_m *QueryClient) Mint() minttypes.QueryClient

Mint provides a mock function with given fields:

func (*QueryClient) Provider

func (_m *QueryClient) Provider() providerv1beta4.QueryClient

Provider provides a mock function with given fields:

func (*QueryClient) Slashing

func (_m *QueryClient) Slashing() slashingtypes.QueryClient

Slashing provides a mock function with given fields:

func (*QueryClient) Staking

func (_m *QueryClient) Staking() stakingtypes.QueryClient

Staking provides a mock function with given fields:

func (*QueryClient) Upgrade

func (_m *QueryClient) Upgrade() upgradetypes.QueryClient

Upgrade provides a mock function with given fields:

type QueryClient_Audit_Call

type QueryClient_Audit_Call struct {
	*mock.Call
}

QueryClient_Audit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Audit'

func (*QueryClient_Audit_Call) Return

func (*QueryClient_Audit_Call) Run

func (_c *QueryClient_Audit_Call) Run(run func()) *QueryClient_Audit_Call

func (*QueryClient_Audit_Call) RunAndReturn

func (_c *QueryClient_Audit_Call) RunAndReturn(run func() v1.QueryClient) *QueryClient_Audit_Call

type QueryClient_Auth_Call

type QueryClient_Auth_Call struct {
	*mock.Call
}

QueryClient_Auth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Auth'

func (*QueryClient_Auth_Call) Return

func (*QueryClient_Auth_Call) Run

func (_c *QueryClient_Auth_Call) Run(run func()) *QueryClient_Auth_Call

func (*QueryClient_Auth_Call) RunAndReturn

func (_c *QueryClient_Auth_Call) RunAndReturn(run func() types.QueryClient) *QueryClient_Auth_Call

type QueryClient_Authz_Call

type QueryClient_Authz_Call struct {
	*mock.Call
}

QueryClient_Authz_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Authz'

func (*QueryClient_Authz_Call) Return

func (*QueryClient_Authz_Call) Run

func (_c *QueryClient_Authz_Call) Run(run func()) *QueryClient_Authz_Call

func (*QueryClient_Authz_Call) RunAndReturn

func (_c *QueryClient_Authz_Call) RunAndReturn(run func() authz.QueryClient) *QueryClient_Authz_Call

type QueryClient_Bank_Call

type QueryClient_Bank_Call struct {
	*mock.Call
}

QueryClient_Bank_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bank'

func (*QueryClient_Bank_Call) Return

func (*QueryClient_Bank_Call) Run

func (_c *QueryClient_Bank_Call) Run(run func()) *QueryClient_Bank_Call

func (*QueryClient_Bank_Call) RunAndReturn

func (_c *QueryClient_Bank_Call) RunAndReturn(run func() banktypes.QueryClient) *QueryClient_Bank_Call

type QueryClient_Certs_Call

type QueryClient_Certs_Call struct {
	*mock.Call
}

QueryClient_Certs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Certs'

func (*QueryClient_Certs_Call) Return

func (*QueryClient_Certs_Call) Run

func (_c *QueryClient_Certs_Call) Run(run func()) *QueryClient_Certs_Call

func (*QueryClient_Certs_Call) RunAndReturn

func (_c *QueryClient_Certs_Call) RunAndReturn(run func() certv1.QueryClient) *QueryClient_Certs_Call

type QueryClient_ClientContext_Call

type QueryClient_ClientContext_Call struct {
	*mock.Call
}

QueryClient_ClientContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientContext'

func (*QueryClient_ClientContext_Call) Return

func (*QueryClient_ClientContext_Call) Run

func (*QueryClient_ClientContext_Call) RunAndReturn

type QueryClient_Deployment_Call

type QueryClient_Deployment_Call struct {
	*mock.Call
}

QueryClient_Deployment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deployment'

func (*QueryClient_Deployment_Call) Return

func (*QueryClient_Deployment_Call) Run

func (*QueryClient_Deployment_Call) RunAndReturn

type QueryClient_Distribution_Call

type QueryClient_Distribution_Call struct {
	*mock.Call
}

QueryClient_Distribution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Distribution'

func (*QueryClient_Distribution_Call) Return

func (*QueryClient_Distribution_Call) Run

func (*QueryClient_Distribution_Call) RunAndReturn

type QueryClient_Evidence_Call

type QueryClient_Evidence_Call struct {
	*mock.Call
}

QueryClient_Evidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Evidence'

func (*QueryClient_Evidence_Call) Return

func (*QueryClient_Evidence_Call) Run

func (*QueryClient_Evidence_Call) RunAndReturn

type QueryClient_Expecter

type QueryClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*QueryClient_Expecter) Audit

Audit is a helper method to define mock.On call

func (*QueryClient_Expecter) Auth

Auth is a helper method to define mock.On call

func (*QueryClient_Expecter) Authz

Authz is a helper method to define mock.On call

func (*QueryClient_Expecter) Bank

Bank is a helper method to define mock.On call

func (*QueryClient_Expecter) Certs

Certs is a helper method to define mock.On call

func (*QueryClient_Expecter) ClientContext

ClientContext is a helper method to define mock.On call

func (*QueryClient_Expecter) Deployment

Deployment is a helper method to define mock.On call

func (*QueryClient_Expecter) Distribution

Distribution is a helper method to define mock.On call

func (*QueryClient_Expecter) Evidence

Evidence is a helper method to define mock.On call

func (*QueryClient_Expecter) Feegrant

Feegrant is a helper method to define mock.On call

func (*QueryClient_Expecter) Gov

Gov is a helper method to define mock.On call

func (*QueryClient_Expecter) GovLegacy

GovLegacy is a helper method to define mock.On call

func (*QueryClient_Expecter) Market

Market is a helper method to define mock.On call

func (*QueryClient_Expecter) Mint

Mint is a helper method to define mock.On call

func (*QueryClient_Expecter) Provider

Provider is a helper method to define mock.On call

func (*QueryClient_Expecter) Slashing

Slashing is a helper method to define mock.On call

func (*QueryClient_Expecter) Staking

Staking is a helper method to define mock.On call

func (*QueryClient_Expecter) Upgrade

Upgrade is a helper method to define mock.On call

type QueryClient_Feegrant_Call

type QueryClient_Feegrant_Call struct {
	*mock.Call
}

QueryClient_Feegrant_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Feegrant'

func (*QueryClient_Feegrant_Call) Return

func (*QueryClient_Feegrant_Call) Run

func (*QueryClient_Feegrant_Call) RunAndReturn

type QueryClient_GovLegacy_Call

type QueryClient_GovLegacy_Call struct {
	*mock.Call
}

QueryClient_GovLegacy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GovLegacy'

func (*QueryClient_GovLegacy_Call) Return

func (*QueryClient_GovLegacy_Call) Run

func (*QueryClient_GovLegacy_Call) RunAndReturn

type QueryClient_Gov_Call

type QueryClient_Gov_Call struct {
	*mock.Call
}

QueryClient_Gov_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Gov'

func (*QueryClient_Gov_Call) Return

func (*QueryClient_Gov_Call) Run

func (_c *QueryClient_Gov_Call) Run(run func()) *QueryClient_Gov_Call

func (*QueryClient_Gov_Call) RunAndReturn

func (_c *QueryClient_Gov_Call) RunAndReturn(run func() govv1.QueryClient) *QueryClient_Gov_Call

type QueryClient_Market_Call

type QueryClient_Market_Call struct {
	*mock.Call
}

QueryClient_Market_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Market'

func (*QueryClient_Market_Call) Return

func (*QueryClient_Market_Call) Run

func (_c *QueryClient_Market_Call) Run(run func()) *QueryClient_Market_Call

func (*QueryClient_Market_Call) RunAndReturn

type QueryClient_Mint_Call

type QueryClient_Mint_Call struct {
	*mock.Call
}

QueryClient_Mint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mint'

func (*QueryClient_Mint_Call) Return

func (*QueryClient_Mint_Call) Run

func (_c *QueryClient_Mint_Call) Run(run func()) *QueryClient_Mint_Call

func (*QueryClient_Mint_Call) RunAndReturn

func (_c *QueryClient_Mint_Call) RunAndReturn(run func() minttypes.QueryClient) *QueryClient_Mint_Call

type QueryClient_Provider_Call

type QueryClient_Provider_Call struct {
	*mock.Call
}

QueryClient_Provider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Provider'

func (*QueryClient_Provider_Call) Return

func (*QueryClient_Provider_Call) Run

func (*QueryClient_Provider_Call) RunAndReturn

type QueryClient_Slashing_Call

type QueryClient_Slashing_Call struct {
	*mock.Call
}

QueryClient_Slashing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Slashing'

func (*QueryClient_Slashing_Call) Return

func (*QueryClient_Slashing_Call) Run

func (*QueryClient_Slashing_Call) RunAndReturn

type QueryClient_Staking_Call

type QueryClient_Staking_Call struct {
	*mock.Call
}

QueryClient_Staking_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Staking'

func (*QueryClient_Staking_Call) Return

func (*QueryClient_Staking_Call) Run

func (*QueryClient_Staking_Call) RunAndReturn

type QueryClient_Upgrade_Call

type QueryClient_Upgrade_Call struct {
	*mock.Call
}

QueryClient_Upgrade_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upgrade'

func (*QueryClient_Upgrade_Call) Return

func (*QueryClient_Upgrade_Call) Run

func (*QueryClient_Upgrade_Call) RunAndReturn

type TxClient

type TxClient struct {
	mock.Mock
}

TxClient is an autogenerated mock type for the TxClient type

func NewTxClient

func NewTxClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *TxClient

NewTxClient creates a new instance of TxClient. 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 (*TxClient) BroadcastMsgs

func (_m *TxClient) BroadcastMsgs(_a0 context.Context, _a1 []types.Msg, _a2 ...v1beta3.BroadcastOption) (interface{}, error)

BroadcastMsgs provides a mock function with given fields: _a0, _a1, _a2

func (*TxClient) BroadcastTx

func (_m *TxClient) BroadcastTx(_a0 context.Context, _a1 types.Tx, _a2 ...v1beta3.BroadcastOption) (interface{}, error)

BroadcastTx provides a mock function with given fields: _a0, _a1, _a2

func (*TxClient) EXPECT

func (_m *TxClient) EXPECT() *TxClient_Expecter

type TxClient_BroadcastMsgs_Call

type TxClient_BroadcastMsgs_Call struct {
	*mock.Call
}

TxClient_BroadcastMsgs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastMsgs'

func (*TxClient_BroadcastMsgs_Call) Return

func (_c *TxClient_BroadcastMsgs_Call) Return(_a0 interface{}, _a1 error) *TxClient_BroadcastMsgs_Call

func (*TxClient_BroadcastMsgs_Call) Run

func (*TxClient_BroadcastMsgs_Call) RunAndReturn

type TxClient_BroadcastTx_Call

type TxClient_BroadcastTx_Call struct {
	*mock.Call
}

TxClient_BroadcastTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTx'

func (*TxClient_BroadcastTx_Call) Return

func (_c *TxClient_BroadcastTx_Call) Return(_a0 interface{}, _a1 error) *TxClient_BroadcastTx_Call

func (*TxClient_BroadcastTx_Call) Run

func (*TxClient_BroadcastTx_Call) RunAndReturn

func (_c *TxClient_BroadcastTx_Call) RunAndReturn(run func(context.Context, types.Tx, ...v1beta3.BroadcastOption) (interface{}, error)) *TxClient_BroadcastTx_Call

type TxClient_Expecter

type TxClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*TxClient_Expecter) BroadcastMsgs

func (_e *TxClient_Expecter) BroadcastMsgs(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *TxClient_BroadcastMsgs_Call

BroadcastMsgs is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 []types.Msg
  • _a2 ...v1beta3.BroadcastOption

func (*TxClient_Expecter) BroadcastTx

func (_e *TxClient_Expecter) BroadcastTx(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *TxClient_BroadcastTx_Call

BroadcastTx is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 types.Tx
  • _a2 ...v1beta3.BroadcastOption

Jump to

Keyboard shortcuts

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