Documentation ¶
Index ¶
- type Client
- type Client_ClientContext_Call
- type Client_Expecter
- func (_e *Client_Expecter) ClientContext() *Client_ClientContext_Call
- func (_e *Client_Expecter) Node() *Client_Node_Call
- func (_e *Client_Expecter) PrintMessage(_a0 interface{}) *Client_PrintMessage_Call
- func (_e *Client_Expecter) Query() *Client_Query_Call
- func (_e *Client_Expecter) Tx() *Client_Tx_Call
- type Client_Node_Call
- type Client_PrintMessage_Call
- type Client_Query_Call
- type Client_Tx_Call
- type LightClient
- type LightClient_ClientContext_Call
- func (_c *LightClient_ClientContext_Call) Return(_a0 client.Context) *LightClient_ClientContext_Call
- func (_c *LightClient_ClientContext_Call) Run(run func()) *LightClient_ClientContext_Call
- func (_c *LightClient_ClientContext_Call) RunAndReturn(run func() client.Context) *LightClient_ClientContext_Call
- type LightClient_Expecter
- type LightClient_Node_Call
- type LightClient_PrintMessage_Call
- func (_c *LightClient_PrintMessage_Call) Return(_a0 error) *LightClient_PrintMessage_Call
- func (_c *LightClient_PrintMessage_Call) Run(run func(_a0 interface{})) *LightClient_PrintMessage_Call
- func (_c *LightClient_PrintMessage_Call) RunAndReturn(run func(interface{}) error) *LightClient_PrintMessage_Call
- type LightClient_Query_Call
- type NodeClient
- type NodeClient_CurrentBlockHeight_Call
- func (_c *NodeClient_CurrentBlockHeight_Call) Return(_a0 int64, _a1 error) *NodeClient_CurrentBlockHeight_Call
- func (_c *NodeClient_CurrentBlockHeight_Call) Run(run func(_a0 context.Context)) *NodeClient_CurrentBlockHeight_Call
- func (_c *NodeClient_CurrentBlockHeight_Call) RunAndReturn(run func(context.Context) (int64, error)) *NodeClient_CurrentBlockHeight_Call
- type NodeClient_Expecter
- type NodeClient_SyncInfo_Call
- func (_c *NodeClient_SyncInfo_Call) Return(_a0 *coretypes.SyncInfo, _a1 error) *NodeClient_SyncInfo_Call
- func (_c *NodeClient_SyncInfo_Call) Run(run func(_a0 context.Context)) *NodeClient_SyncInfo_Call
- func (_c *NodeClient_SyncInfo_Call) RunAndReturn(run func(context.Context) (*coretypes.SyncInfo, error)) *NodeClient_SyncInfo_Call
- type QueryClient
- func (_m *QueryClient) Audit() v1.QueryClient
- func (_m *QueryClient) Auth() types.QueryClient
- func (_m *QueryClient) Authz() authz.QueryClient
- func (_m *QueryClient) Bank() banktypes.QueryClient
- func (_m *QueryClient) Certs() certv1.QueryClient
- func (_m *QueryClient) ClientContext() client.Context
- func (_m *QueryClient) Deployment() v1beta4.QueryClient
- func (_m *QueryClient) Distribution() distributiontypes.QueryClient
- func (_m *QueryClient) EXPECT() *QueryClient_Expecter
- func (_m *QueryClient) Evidence() evidencetypes.QueryClient
- func (_m *QueryClient) Feegrant() feegrant.QueryClient
- func (_m *QueryClient) Gov() govv1.QueryClient
- func (_m *QueryClient) GovLegacy() v1beta1.QueryClient
- func (_m *QueryClient) Market() v1beta5.QueryClient
- func (_m *QueryClient) Mint() minttypes.QueryClient
- func (_m *QueryClient) Provider() providerv1beta4.QueryClient
- func (_m *QueryClient) Slashing() slashingtypes.QueryClient
- func (_m *QueryClient) Staking() stakingtypes.QueryClient
- func (_m *QueryClient) Upgrade() upgradetypes.QueryClient
- type QueryClient_Audit_Call
- type QueryClient_Auth_Call
- type QueryClient_Authz_Call
- type QueryClient_Bank_Call
- type QueryClient_Certs_Call
- type QueryClient_ClientContext_Call
- func (_c *QueryClient_ClientContext_Call) Return(_a0 client.Context) *QueryClient_ClientContext_Call
- func (_c *QueryClient_ClientContext_Call) Run(run func()) *QueryClient_ClientContext_Call
- func (_c *QueryClient_ClientContext_Call) RunAndReturn(run func() client.Context) *QueryClient_ClientContext_Call
- type QueryClient_Deployment_Call
- type QueryClient_Distribution_Call
- func (_c *QueryClient_Distribution_Call) Return(_a0 distributiontypes.QueryClient) *QueryClient_Distribution_Call
- func (_c *QueryClient_Distribution_Call) Run(run func()) *QueryClient_Distribution_Call
- func (_c *QueryClient_Distribution_Call) RunAndReturn(run func() distributiontypes.QueryClient) *QueryClient_Distribution_Call
- type QueryClient_Evidence_Call
- type QueryClient_Expecter
- func (_e *QueryClient_Expecter) Audit() *QueryClient_Audit_Call
- func (_e *QueryClient_Expecter) Auth() *QueryClient_Auth_Call
- func (_e *QueryClient_Expecter) Authz() *QueryClient_Authz_Call
- func (_e *QueryClient_Expecter) Bank() *QueryClient_Bank_Call
- func (_e *QueryClient_Expecter) Certs() *QueryClient_Certs_Call
- func (_e *QueryClient_Expecter) ClientContext() *QueryClient_ClientContext_Call
- func (_e *QueryClient_Expecter) Deployment() *QueryClient_Deployment_Call
- func (_e *QueryClient_Expecter) Distribution() *QueryClient_Distribution_Call
- func (_e *QueryClient_Expecter) Evidence() *QueryClient_Evidence_Call
- func (_e *QueryClient_Expecter) Feegrant() *QueryClient_Feegrant_Call
- func (_e *QueryClient_Expecter) Gov() *QueryClient_Gov_Call
- func (_e *QueryClient_Expecter) GovLegacy() *QueryClient_GovLegacy_Call
- func (_e *QueryClient_Expecter) Market() *QueryClient_Market_Call
- func (_e *QueryClient_Expecter) Mint() *QueryClient_Mint_Call
- func (_e *QueryClient_Expecter) Provider() *QueryClient_Provider_Call
- func (_e *QueryClient_Expecter) Slashing() *QueryClient_Slashing_Call
- func (_e *QueryClient_Expecter) Staking() *QueryClient_Staking_Call
- func (_e *QueryClient_Expecter) Upgrade() *QueryClient_Upgrade_Call
- type QueryClient_Feegrant_Call
- type QueryClient_GovLegacy_Call
- type QueryClient_Gov_Call
- type QueryClient_Market_Call
- type QueryClient_Mint_Call
- type QueryClient_Provider_Call
- func (_c *QueryClient_Provider_Call) Return(_a0 providerv1beta4.QueryClient) *QueryClient_Provider_Call
- func (_c *QueryClient_Provider_Call) Run(run func()) *QueryClient_Provider_Call
- func (_c *QueryClient_Provider_Call) RunAndReturn(run func() providerv1beta4.QueryClient) *QueryClient_Provider_Call
- type QueryClient_Slashing_Call
- type QueryClient_Staking_Call
- type QueryClient_Upgrade_Call
- type TxClient
- type TxClient_BroadcastMsgs_Call
- func (_c *TxClient_BroadcastMsgs_Call) Return(_a0 interface{}, _a1 error) *TxClient_BroadcastMsgs_Call
- func (_c *TxClient_BroadcastMsgs_Call) Run(run func(_a0 context.Context, _a1 []types.Msg, _a2 ...v1beta3.BroadcastOption)) *TxClient_BroadcastMsgs_Call
- func (_c *TxClient_BroadcastMsgs_Call) RunAndReturn(...) *TxClient_BroadcastMsgs_Call
- type TxClient_BroadcastTx_Call
- func (_c *TxClient_BroadcastTx_Call) Return(_a0 interface{}, _a1 error) *TxClient_BroadcastTx_Call
- func (_c *TxClient_BroadcastTx_Call) Run(run func(_a0 context.Context, _a1 types.Tx, _a2 ...v1beta3.BroadcastOption)) *TxClient_BroadcastTx_Call
- func (_c *TxClient_BroadcastTx_Call) RunAndReturn(...) *TxClient_BroadcastTx_Call
- type TxClient_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
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 ¶
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 ¶
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:
type Client_ClientContext_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 (_c *Client_ClientContext_Call) Return(_a0 client.Context) *Client_ClientContext_Call
func (*Client_ClientContext_Call) Run ¶
func (_c *Client_ClientContext_Call) Run(run func()) *Client_ClientContext_Call
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 ¶
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 (_c *Client_Node_Call) Return(_a0 v1beta3.NodeClient) *Client_Node_Call
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 ¶
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 (_c *Client_PrintMessage_Call) Return(_a0 error) *Client_PrintMessage_Call
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 ¶
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 (_c *Client_Query_Call) Return(_a0 v1beta3.QueryClient) *Client_Query_Call
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 ¶
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 ¶
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 ¶
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 (_c *LightClient_ClientContext_Call) Return(_a0 client.Context) *LightClient_ClientContext_Call
func (*LightClient_ClientContext_Call) Run ¶
func (_c *LightClient_ClientContext_Call) Run(run func()) *LightClient_ClientContext_Call
func (*LightClient_ClientContext_Call) RunAndReturn ¶
func (_c *LightClient_ClientContext_Call) RunAndReturn(run func() client.Context) *LightClient_ClientContext_Call
type LightClient_Expecter ¶
type LightClient_Expecter struct {
// contains filtered or unexported fields
}
func (*LightClient_Expecter) ClientContext ¶
func (_e *LightClient_Expecter) ClientContext() *LightClient_ClientContext_Call
ClientContext is a helper method to define mock.On call
func (*LightClient_Expecter) Node ¶
func (_e *LightClient_Expecter) Node() *LightClient_Node_Call
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 ¶
func (_e *LightClient_Expecter) Query() *LightClient_Query_Call
Query is a helper method to define mock.On call
type LightClient_Node_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 (_c *LightClient_Node_Call) Return(_a0 v1beta3.NodeClient) *LightClient_Node_Call
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 ¶
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 (_c *LightClient_PrintMessage_Call) Return(_a0 error) *LightClient_PrintMessage_Call
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 ¶
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 (_c *LightClient_Query_Call) Return(_a0 v1beta3.QueryClient) *LightClient_Query_Call
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 ¶
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
type NodeClient_CurrentBlockHeight_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 (_c *NodeClient_CurrentBlockHeight_Call) Return(_a0 int64, _a1 error) *NodeClient_CurrentBlockHeight_Call
func (*NodeClient_CurrentBlockHeight_Call) Run ¶
func (_c *NodeClient_CurrentBlockHeight_Call) Run(run func(_a0 context.Context)) *NodeClient_CurrentBlockHeight_Call
func (*NodeClient_CurrentBlockHeight_Call) RunAndReturn ¶
func (_c *NodeClient_CurrentBlockHeight_Call) RunAndReturn(run func(context.Context) (int64, error)) *NodeClient_CurrentBlockHeight_Call
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 ¶
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 (_c *NodeClient_SyncInfo_Call) Return(_a0 *coretypes.SyncInfo, _a1 error) *NodeClient_SyncInfo_Call
func (*NodeClient_SyncInfo_Call) Run ¶
func (_c *NodeClient_SyncInfo_Call) Run(run func(_a0 context.Context)) *NodeClient_SyncInfo_Call
func (*NodeClient_SyncInfo_Call) RunAndReturn ¶
func (_c *NodeClient_SyncInfo_Call) RunAndReturn(run func(context.Context) (*coretypes.SyncInfo, error)) *NodeClient_SyncInfo_Call
type QueryClient ¶
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 ¶
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 (_c *QueryClient_Audit_Call) Return(_a0 v1.QueryClient) *QueryClient_Audit_Call
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 ¶
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 (_c *QueryClient_Auth_Call) Return(_a0 types.QueryClient) *QueryClient_Auth_Call
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 ¶
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 (_c *QueryClient_Authz_Call) Return(_a0 authz.QueryClient) *QueryClient_Authz_Call
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 ¶
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 (_c *QueryClient_Bank_Call) Return(_a0 banktypes.QueryClient) *QueryClient_Bank_Call
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 ¶
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 (_c *QueryClient_Certs_Call) Return(_a0 certv1.QueryClient) *QueryClient_Certs_Call
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 ¶
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 (_c *QueryClient_ClientContext_Call) Return(_a0 client.Context) *QueryClient_ClientContext_Call
func (*QueryClient_ClientContext_Call) Run ¶
func (_c *QueryClient_ClientContext_Call) Run(run func()) *QueryClient_ClientContext_Call
func (*QueryClient_ClientContext_Call) RunAndReturn ¶
func (_c *QueryClient_ClientContext_Call) RunAndReturn(run func() client.Context) *QueryClient_ClientContext_Call
type QueryClient_Deployment_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 (_c *QueryClient_Deployment_Call) Return(_a0 v1beta4.QueryClient) *QueryClient_Deployment_Call
func (*QueryClient_Deployment_Call) Run ¶
func (_c *QueryClient_Deployment_Call) Run(run func()) *QueryClient_Deployment_Call
func (*QueryClient_Deployment_Call) RunAndReturn ¶
func (_c *QueryClient_Deployment_Call) RunAndReturn(run func() v1beta4.QueryClient) *QueryClient_Deployment_Call
type QueryClient_Distribution_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 (_c *QueryClient_Distribution_Call) Return(_a0 distributiontypes.QueryClient) *QueryClient_Distribution_Call
func (*QueryClient_Distribution_Call) Run ¶
func (_c *QueryClient_Distribution_Call) Run(run func()) *QueryClient_Distribution_Call
func (*QueryClient_Distribution_Call) RunAndReturn ¶
func (_c *QueryClient_Distribution_Call) RunAndReturn(run func() distributiontypes.QueryClient) *QueryClient_Distribution_Call
type QueryClient_Evidence_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 (_c *QueryClient_Evidence_Call) Return(_a0 evidencetypes.QueryClient) *QueryClient_Evidence_Call
func (*QueryClient_Evidence_Call) Run ¶
func (_c *QueryClient_Evidence_Call) Run(run func()) *QueryClient_Evidence_Call
func (*QueryClient_Evidence_Call) RunAndReturn ¶
func (_c *QueryClient_Evidence_Call) RunAndReturn(run func() evidencetypes.QueryClient) *QueryClient_Evidence_Call
type QueryClient_Expecter ¶
type QueryClient_Expecter struct {
// contains filtered or unexported fields
}
func (*QueryClient_Expecter) Audit ¶
func (_e *QueryClient_Expecter) Audit() *QueryClient_Audit_Call
Audit is a helper method to define mock.On call
func (*QueryClient_Expecter) Auth ¶
func (_e *QueryClient_Expecter) Auth() *QueryClient_Auth_Call
Auth is a helper method to define mock.On call
func (*QueryClient_Expecter) Authz ¶
func (_e *QueryClient_Expecter) Authz() *QueryClient_Authz_Call
Authz is a helper method to define mock.On call
func (*QueryClient_Expecter) Bank ¶
func (_e *QueryClient_Expecter) Bank() *QueryClient_Bank_Call
Bank is a helper method to define mock.On call
func (*QueryClient_Expecter) Certs ¶
func (_e *QueryClient_Expecter) Certs() *QueryClient_Certs_Call
Certs is a helper method to define mock.On call
func (*QueryClient_Expecter) ClientContext ¶
func (_e *QueryClient_Expecter) ClientContext() *QueryClient_ClientContext_Call
ClientContext is a helper method to define mock.On call
func (*QueryClient_Expecter) Deployment ¶
func (_e *QueryClient_Expecter) Deployment() *QueryClient_Deployment_Call
Deployment is a helper method to define mock.On call
func (*QueryClient_Expecter) Distribution ¶
func (_e *QueryClient_Expecter) Distribution() *QueryClient_Distribution_Call
Distribution is a helper method to define mock.On call
func (*QueryClient_Expecter) Evidence ¶
func (_e *QueryClient_Expecter) Evidence() *QueryClient_Evidence_Call
Evidence is a helper method to define mock.On call
func (*QueryClient_Expecter) Feegrant ¶
func (_e *QueryClient_Expecter) Feegrant() *QueryClient_Feegrant_Call
Feegrant is a helper method to define mock.On call
func (*QueryClient_Expecter) Gov ¶
func (_e *QueryClient_Expecter) Gov() *QueryClient_Gov_Call
Gov is a helper method to define mock.On call
func (*QueryClient_Expecter) GovLegacy ¶
func (_e *QueryClient_Expecter) GovLegacy() *QueryClient_GovLegacy_Call
GovLegacy is a helper method to define mock.On call
func (*QueryClient_Expecter) Market ¶
func (_e *QueryClient_Expecter) Market() *QueryClient_Market_Call
Market is a helper method to define mock.On call
func (*QueryClient_Expecter) Mint ¶
func (_e *QueryClient_Expecter) Mint() *QueryClient_Mint_Call
Mint is a helper method to define mock.On call
func (*QueryClient_Expecter) Provider ¶
func (_e *QueryClient_Expecter) Provider() *QueryClient_Provider_Call
Provider is a helper method to define mock.On call
func (*QueryClient_Expecter) Slashing ¶
func (_e *QueryClient_Expecter) Slashing() *QueryClient_Slashing_Call
Slashing is a helper method to define mock.On call
func (*QueryClient_Expecter) Staking ¶
func (_e *QueryClient_Expecter) Staking() *QueryClient_Staking_Call
Staking is a helper method to define mock.On call
func (*QueryClient_Expecter) Upgrade ¶
func (_e *QueryClient_Expecter) Upgrade() *QueryClient_Upgrade_Call
Upgrade is a helper method to define mock.On call
type QueryClient_Feegrant_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 (_c *QueryClient_Feegrant_Call) Return(_a0 feegrant.QueryClient) *QueryClient_Feegrant_Call
func (*QueryClient_Feegrant_Call) Run ¶
func (_c *QueryClient_Feegrant_Call) Run(run func()) *QueryClient_Feegrant_Call
func (*QueryClient_Feegrant_Call) RunAndReturn ¶
func (_c *QueryClient_Feegrant_Call) RunAndReturn(run func() feegrant.QueryClient) *QueryClient_Feegrant_Call
type QueryClient_GovLegacy_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 (_c *QueryClient_GovLegacy_Call) Return(_a0 v1beta1.QueryClient) *QueryClient_GovLegacy_Call
func (*QueryClient_GovLegacy_Call) Run ¶
func (_c *QueryClient_GovLegacy_Call) Run(run func()) *QueryClient_GovLegacy_Call
func (*QueryClient_GovLegacy_Call) RunAndReturn ¶
func (_c *QueryClient_GovLegacy_Call) RunAndReturn(run func() v1beta1.QueryClient) *QueryClient_GovLegacy_Call
type QueryClient_Gov_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 (_c *QueryClient_Gov_Call) Return(_a0 govv1.QueryClient) *QueryClient_Gov_Call
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 ¶
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 (_c *QueryClient_Market_Call) Return(_a0 v1beta5.QueryClient) *QueryClient_Market_Call
func (*QueryClient_Market_Call) Run ¶
func (_c *QueryClient_Market_Call) Run(run func()) *QueryClient_Market_Call
func (*QueryClient_Market_Call) RunAndReturn ¶
func (_c *QueryClient_Market_Call) RunAndReturn(run func() v1beta5.QueryClient) *QueryClient_Market_Call
type QueryClient_Mint_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 (_c *QueryClient_Mint_Call) Return(_a0 minttypes.QueryClient) *QueryClient_Mint_Call
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 ¶
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 (_c *QueryClient_Provider_Call) Return(_a0 providerv1beta4.QueryClient) *QueryClient_Provider_Call
func (*QueryClient_Provider_Call) Run ¶
func (_c *QueryClient_Provider_Call) Run(run func()) *QueryClient_Provider_Call
func (*QueryClient_Provider_Call) RunAndReturn ¶
func (_c *QueryClient_Provider_Call) RunAndReturn(run func() providerv1beta4.QueryClient) *QueryClient_Provider_Call
type QueryClient_Slashing_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 (_c *QueryClient_Slashing_Call) Return(_a0 slashingtypes.QueryClient) *QueryClient_Slashing_Call
func (*QueryClient_Slashing_Call) Run ¶
func (_c *QueryClient_Slashing_Call) Run(run func()) *QueryClient_Slashing_Call
func (*QueryClient_Slashing_Call) RunAndReturn ¶
func (_c *QueryClient_Slashing_Call) RunAndReturn(run func() slashingtypes.QueryClient) *QueryClient_Slashing_Call
type QueryClient_Staking_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 (_c *QueryClient_Staking_Call) Return(_a0 stakingtypes.QueryClient) *QueryClient_Staking_Call
func (*QueryClient_Staking_Call) Run ¶
func (_c *QueryClient_Staking_Call) Run(run func()) *QueryClient_Staking_Call
func (*QueryClient_Staking_Call) RunAndReturn ¶
func (_c *QueryClient_Staking_Call) RunAndReturn(run func() stakingtypes.QueryClient) *QueryClient_Staking_Call
type QueryClient_Upgrade_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 (_c *QueryClient_Upgrade_Call) Return(_a0 upgradetypes.QueryClient) *QueryClient_Upgrade_Call
func (*QueryClient_Upgrade_Call) Run ¶
func (_c *QueryClient_Upgrade_Call) Run(run func()) *QueryClient_Upgrade_Call
func (*QueryClient_Upgrade_Call) RunAndReturn ¶
func (_c *QueryClient_Upgrade_Call) RunAndReturn(run func() upgradetypes.QueryClient) *QueryClient_Upgrade_Call
type TxClient ¶
TxClient is an autogenerated mock type for the TxClient type
func NewTxClient ¶
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 ¶
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 (_c *TxClient_BroadcastMsgs_Call) Run(run func(_a0 context.Context, _a1 []types.Msg, _a2 ...v1beta3.BroadcastOption)) *TxClient_BroadcastMsgs_Call
func (*TxClient_BroadcastMsgs_Call) RunAndReturn ¶
func (_c *TxClient_BroadcastMsgs_Call) RunAndReturn(run func(context.Context, []types.Msg, ...v1beta3.BroadcastOption) (interface{}, error)) *TxClient_BroadcastMsgs_Call
type TxClient_BroadcastTx_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 (_c *TxClient_BroadcastTx_Call) Run(run func(_a0 context.Context, _a1 types.Tx, _a2 ...v1beta3.BroadcastOption)) *TxClient_BroadcastTx_Call
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