Documentation
¶
Index ¶
- type Client
- func (_m *Client) ABCIInfo(_a0 context.Context) (*coretypes.ResultABCIInfo, error)
- func (_m *Client) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
- func (_m *Client) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*coretypes.ResultABCIQuery, error)
- func (_m *Client) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
- func (_m *Client) BlockByHash(ctx context.Context, hash []byte) (*coretypes.ResultBlock, error)
- func (_m *Client) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
- func (_m *Client) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
- func (_m *Client) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
- func (_m *Client) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
- func (_m *Client) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *Client) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
- func (_m *Client) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *Client) CheckTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultCheckTx, error)
- func (_m *Client) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
- func (_m *Client) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
- func (_m *Client) ConsensusState(_a0 context.Context) (*coretypes.ResultConsensusState, error)
- func (_m *Client) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) Genesis(_a0 context.Context) (*coretypes.ResultGenesis, error)
- func (_m *Client) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
- func (_m *Client) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
- func (_m *Client) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
- func (_m *Client) Health(_a0 context.Context) (*coretypes.ResultHealth, error)
- func (_m *Client) IsRunning() bool
- func (_m *Client) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)
- func (_m *Client) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *Client) OnReset() error
- func (_m *Client) OnStart() error
- func (_m *Client) OnStop()
- func (_m *Client) Quit() <-chan struct{}
- func (_m *Client) Reset() error
- func (_m *Client) SetLogger(_a0 log.Logger)
- func (_m *Client) Start() error
- func (_m *Client) Status(_a0 context.Context) (*coretypes.ResultStatus, error)
- func (_m *Client) Stop() error
- func (_m *Client) String() string
- func (_m *Client) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
- func (_m *Client) Tx(ctx context.Context, hash []byte, prove bool) (*coretypes.ResultTx, error)
- func (_m *Client) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, ...) (*coretypes.ResultTxSearch, error)
- func (_m *Client) UnconfirmedTxs(ctx context.Context, limit *int) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *Client) Unsubscribe(ctx context.Context, subscriber string, query string) error
- func (_m *Client) UnsubscribeAll(ctx context.Context, subscriber string) error
- func (_m *Client) Validators(ctx context.Context, height *int64, page *int, perPage *int) (*coretypes.ResultValidators, error)
- type Client_ABCIInfo_Call
- func (_c *Client_ABCIInfo_Call) Return(_a0 *coretypes.ResultABCIInfo, _a1 error) *Client_ABCIInfo_Call
- func (_c *Client_ABCIInfo_Call) Run(run func(_a0 context.Context)) *Client_ABCIInfo_Call
- func (_c *Client_ABCIInfo_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultABCIInfo, error)) *Client_ABCIInfo_Call
- type Client_ABCIQueryWithOptions_Call
- func (_c *Client_ABCIQueryWithOptions_Call) Return(_a0 *coretypes.ResultABCIQuery, _a1 error) *Client_ABCIQueryWithOptions_Call
- func (_c *Client_ABCIQueryWithOptions_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes, ...)) *Client_ABCIQueryWithOptions_Call
- func (_c *Client_ABCIQueryWithOptions_Call) RunAndReturn(...) *Client_ABCIQueryWithOptions_Call
- type Client_ABCIQuery_Call
- func (_c *Client_ABCIQuery_Call) Return(_a0 *coretypes.ResultABCIQuery, _a1 error) *Client_ABCIQuery_Call
- func (_c *Client_ABCIQuery_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes)) *Client_ABCIQuery_Call
- func (_c *Client_ABCIQuery_Call) RunAndReturn(...) *Client_ABCIQuery_Call
- type Client_BlockByHash_Call
- func (_c *Client_BlockByHash_Call) Return(_a0 *coretypes.ResultBlock, _a1 error) *Client_BlockByHash_Call
- func (_c *Client_BlockByHash_Call) Run(run func(ctx context.Context, hash []byte)) *Client_BlockByHash_Call
- func (_c *Client_BlockByHash_Call) RunAndReturn(run func(context.Context, []byte) (*coretypes.ResultBlock, error)) *Client_BlockByHash_Call
- type Client_BlockResults_Call
- func (_c *Client_BlockResults_Call) Return(_a0 *coretypes.ResultBlockResults, _a1 error) *Client_BlockResults_Call
- func (_c *Client_BlockResults_Call) Run(run func(ctx context.Context, height *int64)) *Client_BlockResults_Call
- func (_c *Client_BlockResults_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultBlockResults, error)) *Client_BlockResults_Call
- type Client_BlockSearch_Call
- type Client_Block_Call
- func (_c *Client_Block_Call) Return(_a0 *coretypes.ResultBlock, _a1 error) *Client_Block_Call
- func (_c *Client_Block_Call) Run(run func(ctx context.Context, height *int64)) *Client_Block_Call
- func (_c *Client_Block_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultBlock, error)) *Client_Block_Call
- type Client_BlockchainInfo_Call
- func (_c *Client_BlockchainInfo_Call) Return(_a0 *coretypes.ResultBlockchainInfo, _a1 error) *Client_BlockchainInfo_Call
- func (_c *Client_BlockchainInfo_Call) Run(run func(ctx context.Context, minHeight int64, maxHeight int64)) *Client_BlockchainInfo_Call
- func (_c *Client_BlockchainInfo_Call) RunAndReturn(...) *Client_BlockchainInfo_Call
- type Client_BroadcastEvidence_Call
- func (_c *Client_BroadcastEvidence_Call) Return(_a0 *coretypes.ResultBroadcastEvidence, _a1 error) *Client_BroadcastEvidence_Call
- func (_c *Client_BroadcastEvidence_Call) Run(run func(_a0 context.Context, _a1 types.Evidence)) *Client_BroadcastEvidence_Call
- func (_c *Client_BroadcastEvidence_Call) RunAndReturn(...) *Client_BroadcastEvidence_Call
- type Client_BroadcastTxAsync_Call
- func (_c *Client_BroadcastTxAsync_Call) Return(_a0 *coretypes.ResultBroadcastTx, _a1 error) *Client_BroadcastTxAsync_Call
- func (_c *Client_BroadcastTxAsync_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Client_BroadcastTxAsync_Call
- func (_c *Client_BroadcastTxAsync_Call) RunAndReturn(run func(context.Context, types.Tx) (*coretypes.ResultBroadcastTx, error)) *Client_BroadcastTxAsync_Call
- type Client_BroadcastTxCommit_Call
- func (_c *Client_BroadcastTxCommit_Call) Return(_a0 *coretypes.ResultBroadcastTxCommit, _a1 error) *Client_BroadcastTxCommit_Call
- func (_c *Client_BroadcastTxCommit_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Client_BroadcastTxCommit_Call
- func (_c *Client_BroadcastTxCommit_Call) RunAndReturn(...) *Client_BroadcastTxCommit_Call
- type Client_BroadcastTxSync_Call
- func (_c *Client_BroadcastTxSync_Call) Return(_a0 *coretypes.ResultBroadcastTx, _a1 error) *Client_BroadcastTxSync_Call
- func (_c *Client_BroadcastTxSync_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Client_BroadcastTxSync_Call
- func (_c *Client_BroadcastTxSync_Call) RunAndReturn(run func(context.Context, types.Tx) (*coretypes.ResultBroadcastTx, error)) *Client_BroadcastTxSync_Call
- type Client_CheckTx_Call
- func (_c *Client_CheckTx_Call) Return(_a0 *coretypes.ResultCheckTx, _a1 error) *Client_CheckTx_Call
- func (_c *Client_CheckTx_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Client_CheckTx_Call
- func (_c *Client_CheckTx_Call) RunAndReturn(run func(context.Context, types.Tx) (*coretypes.ResultCheckTx, error)) *Client_CheckTx_Call
- type Client_Commit_Call
- func (_c *Client_Commit_Call) Return(_a0 *coretypes.ResultCommit, _a1 error) *Client_Commit_Call
- func (_c *Client_Commit_Call) Run(run func(ctx context.Context, height *int64)) *Client_Commit_Call
- func (_c *Client_Commit_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultCommit, error)) *Client_Commit_Call
- type Client_ConsensusParams_Call
- func (_c *Client_ConsensusParams_Call) Return(_a0 *coretypes.ResultConsensusParams, _a1 error) *Client_ConsensusParams_Call
- func (_c *Client_ConsensusParams_Call) Run(run func(ctx context.Context, height *int64)) *Client_ConsensusParams_Call
- func (_c *Client_ConsensusParams_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultConsensusParams, error)) *Client_ConsensusParams_Call
- type Client_ConsensusState_Call
- func (_c *Client_ConsensusState_Call) Return(_a0 *coretypes.ResultConsensusState, _a1 error) *Client_ConsensusState_Call
- func (_c *Client_ConsensusState_Call) Run(run func(_a0 context.Context)) *Client_ConsensusState_Call
- func (_c *Client_ConsensusState_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultConsensusState, error)) *Client_ConsensusState_Call
- type Client_DumpConsensusState_Call
- func (_c *Client_DumpConsensusState_Call) Return(_a0 *coretypes.ResultDumpConsensusState, _a1 error) *Client_DumpConsensusState_Call
- func (_c *Client_DumpConsensusState_Call) Run(run func(_a0 context.Context)) *Client_DumpConsensusState_Call
- func (_c *Client_DumpConsensusState_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultDumpConsensusState, error)) *Client_DumpConsensusState_Call
- type Client_Expecter
- func (_e *Client_Expecter) ABCIInfo(_a0 interface{}) *Client_ABCIInfo_Call
- func (_e *Client_Expecter) ABCIQuery(ctx interface{}, path interface{}, data interface{}) *Client_ABCIQuery_Call
- func (_e *Client_Expecter) ABCIQueryWithOptions(ctx interface{}, path interface{}, data interface{}, opts interface{}) *Client_ABCIQueryWithOptions_Call
- func (_e *Client_Expecter) Block(ctx interface{}, height interface{}) *Client_Block_Call
- func (_e *Client_Expecter) BlockByHash(ctx interface{}, hash interface{}) *Client_BlockByHash_Call
- func (_e *Client_Expecter) BlockResults(ctx interface{}, height interface{}) *Client_BlockResults_Call
- func (_e *Client_Expecter) BlockSearch(ctx interface{}, query interface{}, page interface{}, perPage interface{}, ...) *Client_BlockSearch_Call
- func (_e *Client_Expecter) BlockchainInfo(ctx interface{}, minHeight interface{}, maxHeight interface{}) *Client_BlockchainInfo_Call
- func (_e *Client_Expecter) BroadcastEvidence(_a0 interface{}, _a1 interface{}) *Client_BroadcastEvidence_Call
- func (_e *Client_Expecter) BroadcastTxAsync(_a0 interface{}, _a1 interface{}) *Client_BroadcastTxAsync_Call
- func (_e *Client_Expecter) BroadcastTxCommit(_a0 interface{}, _a1 interface{}) *Client_BroadcastTxCommit_Call
- func (_e *Client_Expecter) BroadcastTxSync(_a0 interface{}, _a1 interface{}) *Client_BroadcastTxSync_Call
- func (_e *Client_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *Client_CheckTx_Call
- func (_e *Client_Expecter) Commit(ctx interface{}, height interface{}) *Client_Commit_Call
- func (_e *Client_Expecter) ConsensusParams(ctx interface{}, height interface{}) *Client_ConsensusParams_Call
- func (_e *Client_Expecter) ConsensusState(_a0 interface{}) *Client_ConsensusState_Call
- func (_e *Client_Expecter) DumpConsensusState(_a0 interface{}) *Client_DumpConsensusState_Call
- func (_e *Client_Expecter) Genesis(_a0 interface{}) *Client_Genesis_Call
- func (_e *Client_Expecter) GenesisChunked(_a0 interface{}, _a1 interface{}) *Client_GenesisChunked_Call
- func (_e *Client_Expecter) Header(ctx interface{}, height interface{}) *Client_Header_Call
- func (_e *Client_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *Client_HeaderByHash_Call
- func (_e *Client_Expecter) Health(_a0 interface{}) *Client_Health_Call
- func (_e *Client_Expecter) IsRunning() *Client_IsRunning_Call
- func (_e *Client_Expecter) NetInfo(_a0 interface{}) *Client_NetInfo_Call
- func (_e *Client_Expecter) NumUnconfirmedTxs(_a0 interface{}) *Client_NumUnconfirmedTxs_Call
- func (_e *Client_Expecter) OnReset() *Client_OnReset_Call
- func (_e *Client_Expecter) OnStart() *Client_OnStart_Call
- func (_e *Client_Expecter) OnStop() *Client_OnStop_Call
- func (_e *Client_Expecter) Quit() *Client_Quit_Call
- func (_e *Client_Expecter) Reset() *Client_Reset_Call
- func (_e *Client_Expecter) SetLogger(_a0 interface{}) *Client_SetLogger_Call
- func (_e *Client_Expecter) Start() *Client_Start_Call
- func (_e *Client_Expecter) Status(_a0 interface{}) *Client_Status_Call
- func (_e *Client_Expecter) Stop() *Client_Stop_Call
- func (_e *Client_Expecter) String() *Client_String_Call
- func (_e *Client_Expecter) Subscribe(ctx interface{}, subscriber interface{}, query interface{}, ...) *Client_Subscribe_Call
- func (_e *Client_Expecter) Tx(ctx interface{}, hash interface{}, prove interface{}) *Client_Tx_Call
- func (_e *Client_Expecter) TxSearch(ctx interface{}, query interface{}, prove interface{}, page interface{}, ...) *Client_TxSearch_Call
- func (_e *Client_Expecter) UnconfirmedTxs(ctx interface{}, limit interface{}) *Client_UnconfirmedTxs_Call
- func (_e *Client_Expecter) Unsubscribe(ctx interface{}, subscriber interface{}, query interface{}) *Client_Unsubscribe_Call
- func (_e *Client_Expecter) UnsubscribeAll(ctx interface{}, subscriber interface{}) *Client_UnsubscribeAll_Call
- func (_e *Client_Expecter) Validators(ctx interface{}, height interface{}, page interface{}, perPage interface{}) *Client_Validators_Call
- type Client_GenesisChunked_Call
- func (_c *Client_GenesisChunked_Call) Return(_a0 *coretypes.ResultGenesisChunk, _a1 error) *Client_GenesisChunked_Call
- func (_c *Client_GenesisChunked_Call) Run(run func(_a0 context.Context, _a1 uint)) *Client_GenesisChunked_Call
- func (_c *Client_GenesisChunked_Call) RunAndReturn(run func(context.Context, uint) (*coretypes.ResultGenesisChunk, error)) *Client_GenesisChunked_Call
- type Client_Genesis_Call
- func (_c *Client_Genesis_Call) Return(_a0 *coretypes.ResultGenesis, _a1 error) *Client_Genesis_Call
- func (_c *Client_Genesis_Call) Run(run func(_a0 context.Context)) *Client_Genesis_Call
- func (_c *Client_Genesis_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultGenesis, error)) *Client_Genesis_Call
- type Client_HeaderByHash_Call
- func (_c *Client_HeaderByHash_Call) Return(_a0 *coretypes.ResultHeader, _a1 error) *Client_HeaderByHash_Call
- func (_c *Client_HeaderByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *Client_HeaderByHash_Call
- func (_c *Client_HeaderByHash_Call) RunAndReturn(run func(context.Context, bytes.HexBytes) (*coretypes.ResultHeader, error)) *Client_HeaderByHash_Call
- type Client_Header_Call
- func (_c *Client_Header_Call) Return(_a0 *coretypes.ResultHeader, _a1 error) *Client_Header_Call
- func (_c *Client_Header_Call) Run(run func(ctx context.Context, height *int64)) *Client_Header_Call
- func (_c *Client_Header_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultHeader, error)) *Client_Header_Call
- type Client_Health_Call
- func (_c *Client_Health_Call) Return(_a0 *coretypes.ResultHealth, _a1 error) *Client_Health_Call
- func (_c *Client_Health_Call) Run(run func(_a0 context.Context)) *Client_Health_Call
- func (_c *Client_Health_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultHealth, error)) *Client_Health_Call
- type Client_IsRunning_Call
- type Client_NetInfo_Call
- func (_c *Client_NetInfo_Call) Return(_a0 *coretypes.ResultNetInfo, _a1 error) *Client_NetInfo_Call
- func (_c *Client_NetInfo_Call) Run(run func(_a0 context.Context)) *Client_NetInfo_Call
- func (_c *Client_NetInfo_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultNetInfo, error)) *Client_NetInfo_Call
- type Client_NumUnconfirmedTxs_Call
- func (_c *Client_NumUnconfirmedTxs_Call) Return(_a0 *coretypes.ResultUnconfirmedTxs, _a1 error) *Client_NumUnconfirmedTxs_Call
- func (_c *Client_NumUnconfirmedTxs_Call) Run(run func(_a0 context.Context)) *Client_NumUnconfirmedTxs_Call
- func (_c *Client_NumUnconfirmedTxs_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultUnconfirmedTxs, error)) *Client_NumUnconfirmedTxs_Call
- type Client_OnReset_Call
- type Client_OnStart_Call
- type Client_OnStop_Call
- type Client_Quit_Call
- type Client_Reset_Call
- type Client_SetLogger_Call
- type Client_Start_Call
- type Client_Status_Call
- func (_c *Client_Status_Call) Return(_a0 *coretypes.ResultStatus, _a1 error) *Client_Status_Call
- func (_c *Client_Status_Call) Run(run func(_a0 context.Context)) *Client_Status_Call
- func (_c *Client_Status_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultStatus, error)) *Client_Status_Call
- type Client_Stop_Call
- type Client_String_Call
- type Client_Subscribe_Call
- type Client_TxSearch_Call
- type Client_Tx_Call
- func (_c *Client_Tx_Call) Return(_a0 *coretypes.ResultTx, _a1 error) *Client_Tx_Call
- func (_c *Client_Tx_Call) Run(run func(ctx context.Context, hash []byte, prove bool)) *Client_Tx_Call
- func (_c *Client_Tx_Call) RunAndReturn(run func(context.Context, []byte, bool) (*coretypes.ResultTx, error)) *Client_Tx_Call
- type Client_UnconfirmedTxs_Call
- func (_c *Client_UnconfirmedTxs_Call) Return(_a0 *coretypes.ResultUnconfirmedTxs, _a1 error) *Client_UnconfirmedTxs_Call
- func (_c *Client_UnconfirmedTxs_Call) Run(run func(ctx context.Context, limit *int)) *Client_UnconfirmedTxs_Call
- func (_c *Client_UnconfirmedTxs_Call) RunAndReturn(run func(context.Context, *int) (*coretypes.ResultUnconfirmedTxs, error)) *Client_UnconfirmedTxs_Call
- type Client_UnsubscribeAll_Call
- func (_c *Client_UnsubscribeAll_Call) Return(_a0 error) *Client_UnsubscribeAll_Call
- func (_c *Client_UnsubscribeAll_Call) Run(run func(ctx context.Context, subscriber string)) *Client_UnsubscribeAll_Call
- func (_c *Client_UnsubscribeAll_Call) RunAndReturn(run func(context.Context, string) error) *Client_UnsubscribeAll_Call
- type Client_Unsubscribe_Call
- func (_c *Client_Unsubscribe_Call) Return(_a0 error) *Client_Unsubscribe_Call
- func (_c *Client_Unsubscribe_Call) Run(run func(ctx context.Context, subscriber string, query string)) *Client_Unsubscribe_Call
- func (_c *Client_Unsubscribe_Call) RunAndReturn(run func(context.Context, string, string) error) *Client_Unsubscribe_Call
- type Client_Validators_Call
- func (_c *Client_Validators_Call) Return(_a0 *coretypes.ResultValidators, _a1 error) *Client_Validators_Call
- func (_c *Client_Validators_Call) Run(run func(ctx context.Context, height *int64, page *int, perPage *int)) *Client_Validators_Call
- func (_c *Client_Validators_Call) RunAndReturn(...) *Client_Validators_Call
- type EVMQueryClient
- func (_m *EVMQueryClient) Account(ctx context.Context, in *types.QueryAccountRequest, opts ...grpc.CallOption) (*types.QueryAccountResponse, error)
- func (_m *EVMQueryClient) Balance(ctx context.Context, in *types.QueryBalanceRequest, opts ...grpc.CallOption) (*types.QueryBalanceResponse, error)
- func (_m *EVMQueryClient) BaseFee(ctx context.Context, in *types.QueryBaseFeeRequest, opts ...grpc.CallOption) (*types.QueryBaseFeeResponse, error)
- func (_m *EVMQueryClient) Code(ctx context.Context, in *types.QueryCodeRequest, opts ...grpc.CallOption) (*types.QueryCodeResponse, error)
- func (_m *EVMQueryClient) Config(ctx context.Context, in *types.QueryConfigRequest, opts ...grpc.CallOption) (*types.QueryConfigResponse, error)
- func (_m *EVMQueryClient) CosmosAccount(ctx context.Context, in *types.QueryCosmosAccountRequest, ...) (*types.QueryCosmosAccountResponse, error)
- func (_m *EVMQueryClient) EXPECT() *EVMQueryClient_Expecter
- func (_m *EVMQueryClient) EstimateGas(ctx context.Context, in *types.EthCallRequest, opts ...grpc.CallOption) (*types.EstimateGasResponse, error)
- func (_m *EVMQueryClient) EthCall(ctx context.Context, in *types.EthCallRequest, opts ...grpc.CallOption) (*types.MsgEthereumTxResponse, error)
- func (_m *EVMQueryClient) GlobalMinGasPrice(ctx context.Context, in *types.QueryGlobalMinGasPriceRequest, ...) (*types.QueryGlobalMinGasPriceResponse, error)
- func (_m *EVMQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- func (_m *EVMQueryClient) Storage(ctx context.Context, in *types.QueryStorageRequest, opts ...grpc.CallOption) (*types.QueryStorageResponse, error)
- func (_m *EVMQueryClient) TraceBlock(ctx context.Context, in *types.QueryTraceBlockRequest, opts ...grpc.CallOption) (*types.QueryTraceBlockResponse, error)
- func (_m *EVMQueryClient) TraceCall(ctx context.Context, in *types.QueryTraceCallRequest, opts ...grpc.CallOption) (*types.QueryTraceCallResponse, error)
- func (_m *EVMQueryClient) TraceTx(ctx context.Context, in *types.QueryTraceTxRequest, opts ...grpc.CallOption) (*types.QueryTraceTxResponse, error)
- func (_m *EVMQueryClient) ValidatorAccount(ctx context.Context, in *types.QueryValidatorAccountRequest, ...) (*types.QueryValidatorAccountResponse, error)
- type EVMQueryClient_Account_Call
- type EVMQueryClient_Balance_Call
- type EVMQueryClient_BaseFee_Call
- type EVMQueryClient_Code_Call
- type EVMQueryClient_Config_Call
- type EVMQueryClient_CosmosAccount_Call
- func (_c *EVMQueryClient_CosmosAccount_Call) Return(_a0 *types.QueryCosmosAccountResponse, _a1 error) *EVMQueryClient_CosmosAccount_Call
- func (_c *EVMQueryClient_CosmosAccount_Call) Run(run func(ctx context.Context, in *types.QueryCosmosAccountRequest, ...)) *EVMQueryClient_CosmosAccount_Call
- func (_c *EVMQueryClient_CosmosAccount_Call) RunAndReturn(...) *EVMQueryClient_CosmosAccount_Call
- type EVMQueryClient_EstimateGas_Call
- func (_c *EVMQueryClient_EstimateGas_Call) Return(_a0 *types.EstimateGasResponse, _a1 error) *EVMQueryClient_EstimateGas_Call
- func (_c *EVMQueryClient_EstimateGas_Call) Run(...) *EVMQueryClient_EstimateGas_Call
- func (_c *EVMQueryClient_EstimateGas_Call) RunAndReturn(...) *EVMQueryClient_EstimateGas_Call
- type EVMQueryClient_EthCall_Call
- type EVMQueryClient_Expecter
- func (_e *EVMQueryClient_Expecter) Account(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Account_Call
- func (_e *EVMQueryClient_Expecter) Balance(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Balance_Call
- func (_e *EVMQueryClient_Expecter) BaseFee(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_BaseFee_Call
- func (_e *EVMQueryClient_Expecter) Code(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Code_Call
- func (_e *EVMQueryClient_Expecter) Config(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Config_Call
- func (_e *EVMQueryClient_Expecter) CosmosAccount(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_CosmosAccount_Call
- func (_e *EVMQueryClient_Expecter) EstimateGas(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_EstimateGas_Call
- func (_e *EVMQueryClient_Expecter) EthCall(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_EthCall_Call
- func (_e *EVMQueryClient_Expecter) GlobalMinGasPrice(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_GlobalMinGasPrice_Call
- func (_e *EVMQueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Params_Call
- func (_e *EVMQueryClient_Expecter) Storage(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Storage_Call
- func (_e *EVMQueryClient_Expecter) TraceBlock(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_TraceBlock_Call
- func (_e *EVMQueryClient_Expecter) TraceCall(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_TraceCall_Call
- func (_e *EVMQueryClient_Expecter) TraceTx(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_TraceTx_Call
- func (_e *EVMQueryClient_Expecter) ValidatorAccount(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_ValidatorAccount_Call
- type EVMQueryClient_GlobalMinGasPrice_Call
- func (_c *EVMQueryClient_GlobalMinGasPrice_Call) Return(_a0 *types.QueryGlobalMinGasPriceResponse, _a1 error) *EVMQueryClient_GlobalMinGasPrice_Call
- func (_c *EVMQueryClient_GlobalMinGasPrice_Call) Run(run func(ctx context.Context, in *types.QueryGlobalMinGasPriceRequest, ...)) *EVMQueryClient_GlobalMinGasPrice_Call
- func (_c *EVMQueryClient_GlobalMinGasPrice_Call) RunAndReturn(...) *EVMQueryClient_GlobalMinGasPrice_Call
- type EVMQueryClient_Params_Call
- type EVMQueryClient_Storage_Call
- type EVMQueryClient_TraceBlock_Call
- func (_c *EVMQueryClient_TraceBlock_Call) Return(_a0 *types.QueryTraceBlockResponse, _a1 error) *EVMQueryClient_TraceBlock_Call
- func (_c *EVMQueryClient_TraceBlock_Call) Run(...) *EVMQueryClient_TraceBlock_Call
- func (_c *EVMQueryClient_TraceBlock_Call) RunAndReturn(...) *EVMQueryClient_TraceBlock_Call
- type EVMQueryClient_TraceCall_Call
- type EVMQueryClient_TraceTx_Call
- type EVMQueryClient_ValidatorAccount_Call
- func (_c *EVMQueryClient_ValidatorAccount_Call) Return(_a0 *types.QueryValidatorAccountResponse, _a1 error) *EVMQueryClient_ValidatorAccount_Call
- func (_c *EVMQueryClient_ValidatorAccount_Call) Run(run func(ctx context.Context, in *types.QueryValidatorAccountRequest, ...)) *EVMQueryClient_ValidatorAccount_Call
- func (_c *EVMQueryClient_ValidatorAccount_Call) RunAndReturn(...) *EVMQueryClient_ValidatorAccount_Call
- type FeeMarketQueryClient
- func (_m *FeeMarketQueryClient) BaseFee(ctx context.Context, in *types.QueryBaseFeeRequest, opts ...grpc.CallOption) (*types.QueryBaseFeeResponse, error)
- func (_m *FeeMarketQueryClient) BlockGas(ctx context.Context, in *types.QueryBlockGasRequest, opts ...grpc.CallOption) (*types.QueryBlockGasResponse, error)
- func (_m *FeeMarketQueryClient) EXPECT() *FeeMarketQueryClient_Expecter
- func (_m *FeeMarketQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- type FeeMarketQueryClient_BaseFee_Call
- func (_c *FeeMarketQueryClient_BaseFee_Call) Return(_a0 *types.QueryBaseFeeResponse, _a1 error) *FeeMarketQueryClient_BaseFee_Call
- func (_c *FeeMarketQueryClient_BaseFee_Call) Run(...) *FeeMarketQueryClient_BaseFee_Call
- func (_c *FeeMarketQueryClient_BaseFee_Call) RunAndReturn(...) *FeeMarketQueryClient_BaseFee_Call
- type FeeMarketQueryClient_BlockGas_Call
- func (_c *FeeMarketQueryClient_BlockGas_Call) Return(_a0 *types.QueryBlockGasResponse, _a1 error) *FeeMarketQueryClient_BlockGas_Call
- func (_c *FeeMarketQueryClient_BlockGas_Call) Run(...) *FeeMarketQueryClient_BlockGas_Call
- func (_c *FeeMarketQueryClient_BlockGas_Call) RunAndReturn(...) *FeeMarketQueryClient_BlockGas_Call
- type FeeMarketQueryClient_Expecter
- func (_e *FeeMarketQueryClient_Expecter) BaseFee(ctx interface{}, in interface{}, opts ...interface{}) *FeeMarketQueryClient_BaseFee_Call
- func (_e *FeeMarketQueryClient_Expecter) BlockGas(ctx interface{}, in interface{}, opts ...interface{}) *FeeMarketQueryClient_BlockGas_Call
- func (_e *FeeMarketQueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *FeeMarketQueryClient_Params_Call
- type FeeMarketQueryClient_Params_Call
- func (_c *FeeMarketQueryClient_Params_Call) Return(_a0 *types.QueryParamsResponse, _a1 error) *FeeMarketQueryClient_Params_Call
- func (_c *FeeMarketQueryClient_Params_Call) Run(...) *FeeMarketQueryClient_Params_Call
- func (_c *FeeMarketQueryClient_Params_Call) RunAndReturn(...) *FeeMarketQueryClient_Params_Call
- type Mempool
- func (_m *Mempool) CountTx() int
- func (_m *Mempool) EXPECT() *Mempool_Expecter
- func (_m *Mempool) GetTxPool() *txpool.TxPool
- func (_m *Mempool) Insert(_a0 context.Context, _a1 types.Tx) error
- func (_m *Mempool) Remove(_a0 types.Tx) error
- func (_m *Mempool) Select(_a0 context.Context, _a1 [][]byte) mempool.Iterator
- type Mempool_CountTx_Call
- type Mempool_Expecter
- func (_e *Mempool_Expecter) CountTx() *Mempool_CountTx_Call
- func (_e *Mempool_Expecter) GetTxPool() *Mempool_GetTxPool_Call
- func (_e *Mempool_Expecter) Insert(_a0 interface{}, _a1 interface{}) *Mempool_Insert_Call
- func (_e *Mempool_Expecter) Remove(_a0 interface{}) *Mempool_Remove_Call
- func (_e *Mempool_Expecter) Select(_a0 interface{}, _a1 interface{}) *Mempool_Select_Call
- type Mempool_GetTxPool_Call
- type Mempool_Insert_Call
- type Mempool_Remove_Call
- type Mempool_Select_Call
- func (_c *Mempool_Select_Call) Return(_a0 mempool.Iterator) *Mempool_Select_Call
- func (_c *Mempool_Select_Call) Run(run func(_a0 context.Context, _a1 [][]byte)) *Mempool_Select_Call
- func (_c *Mempool_Select_Call) RunAndReturn(run func(context.Context, [][]byte) mempool.Iterator) *Mempool_Select_Call
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) ABCIQuery ¶
func (_m *Client) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
ABCIQuery provides a mock function with given fields: ctx, path, data
func (*Client) ABCIQueryWithOptions ¶
func (_m *Client) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error)
ABCIQueryWithOptions provides a mock function with given fields: ctx, path, data, opts
func (*Client) BlockByHash ¶
BlockByHash provides a mock function with given fields: ctx, hash
func (*Client) BlockResults ¶
func (_m *Client) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
BlockResults provides a mock function with given fields: ctx, height
func (*Client) BlockSearch ¶
func (_m *Client) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
BlockSearch provides a mock function with given fields: ctx, query, page, perPage, orderBy
func (*Client) BlockchainInfo ¶
func (_m *Client) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
BlockchainInfo provides a mock function with given fields: ctx, minHeight, maxHeight
func (*Client) BroadcastEvidence ¶
func (_m *Client) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
BroadcastEvidence provides a mock function with given fields: _a0, _a1
func (*Client) BroadcastTxAsync ¶
func (_m *Client) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxAsync provides a mock function with given fields: _a0, _a1
func (*Client) BroadcastTxCommit ¶
func (_m *Client) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
BroadcastTxCommit provides a mock function with given fields: _a0, _a1
func (*Client) BroadcastTxSync ¶
func (_m *Client) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxSync provides a mock function with given fields: _a0, _a1
func (*Client) ConsensusParams ¶
func (_m *Client) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
ConsensusParams provides a mock function with given fields: ctx, height
func (*Client) ConsensusState ¶
ConsensusState provides a mock function with given fields: _a0
func (*Client) DumpConsensusState ¶
func (_m *Client) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
DumpConsensusState provides a mock function with given fields: _a0
func (*Client) EXPECT ¶ added in v0.7.0
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) GenesisChunked ¶
func (_m *Client) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
GenesisChunked provides a mock function with given fields: _a0, _a1
func (*Client) HeaderByHash ¶
func (_m *Client) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
HeaderByHash provides a mock function with given fields: ctx, hash
func (*Client) NumUnconfirmedTxs ¶
NumUnconfirmedTxs provides a mock function with given fields: _a0
func (*Client) Quit ¶
func (_m *Client) Quit() <-chan struct{}
Quit provides a mock function with no fields
func (*Client) Subscribe ¶
func (_m *Client) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
Subscribe provides a mock function with given fields: ctx, subscriber, query, outCapacity
func (*Client) TxSearch ¶
func (_m *Client) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string) (*coretypes.ResultTxSearch, error)
TxSearch provides a mock function with given fields: ctx, query, prove, page, perPage, orderBy
func (*Client) UnconfirmedTxs ¶
func (_m *Client) UnconfirmedTxs(ctx context.Context, limit *int) (*coretypes.ResultUnconfirmedTxs, error)
UnconfirmedTxs provides a mock function with given fields: ctx, limit
func (*Client) Unsubscribe ¶
Unsubscribe provides a mock function with given fields: ctx, subscriber, query
func (*Client) UnsubscribeAll ¶
UnsubscribeAll provides a mock function with given fields: ctx, subscriber
type Client_ABCIInfo_Call ¶ added in v0.7.0
Client_ABCIInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIInfo'
func (*Client_ABCIInfo_Call) Return ¶ added in v0.7.0
func (_c *Client_ABCIInfo_Call) Return(_a0 *coretypes.ResultABCIInfo, _a1 error) *Client_ABCIInfo_Call
func (*Client_ABCIInfo_Call) Run ¶ added in v0.7.0
func (_c *Client_ABCIInfo_Call) Run(run func(_a0 context.Context)) *Client_ABCIInfo_Call
func (*Client_ABCIInfo_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_ABCIInfo_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultABCIInfo, error)) *Client_ABCIInfo_Call
type Client_ABCIQueryWithOptions_Call ¶ added in v0.7.0
Client_ABCIQueryWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIQueryWithOptions'
func (*Client_ABCIQueryWithOptions_Call) Return ¶ added in v0.7.0
func (_c *Client_ABCIQueryWithOptions_Call) Return(_a0 *coretypes.ResultABCIQuery, _a1 error) *Client_ABCIQueryWithOptions_Call
func (*Client_ABCIQueryWithOptions_Call) Run ¶ added in v0.7.0
func (_c *Client_ABCIQueryWithOptions_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions)) *Client_ABCIQueryWithOptions_Call
func (*Client_ABCIQueryWithOptions_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_ABCIQueryWithOptions_Call) RunAndReturn(run func(context.Context, string, bytes.HexBytes, client.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error)) *Client_ABCIQueryWithOptions_Call
type Client_ABCIQuery_Call ¶ added in v0.7.0
Client_ABCIQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIQuery'
func (*Client_ABCIQuery_Call) Return ¶ added in v0.7.0
func (_c *Client_ABCIQuery_Call) Return(_a0 *coretypes.ResultABCIQuery, _a1 error) *Client_ABCIQuery_Call
func (*Client_ABCIQuery_Call) Run ¶ added in v0.7.0
func (_c *Client_ABCIQuery_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes)) *Client_ABCIQuery_Call
func (*Client_ABCIQuery_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_ABCIQuery_Call) RunAndReturn(run func(context.Context, string, bytes.HexBytes) (*coretypes.ResultABCIQuery, error)) *Client_ABCIQuery_Call
type Client_BlockByHash_Call ¶ added in v0.7.0
Client_BlockByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByHash'
func (*Client_BlockByHash_Call) Return ¶ added in v0.7.0
func (_c *Client_BlockByHash_Call) Return(_a0 *coretypes.ResultBlock, _a1 error) *Client_BlockByHash_Call
func (*Client_BlockByHash_Call) Run ¶ added in v0.7.0
func (_c *Client_BlockByHash_Call) Run(run func(ctx context.Context, hash []byte)) *Client_BlockByHash_Call
func (*Client_BlockByHash_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_BlockByHash_Call) RunAndReturn(run func(context.Context, []byte) (*coretypes.ResultBlock, error)) *Client_BlockByHash_Call
type Client_BlockResults_Call ¶ added in v0.7.0
Client_BlockResults_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockResults'
func (*Client_BlockResults_Call) Return ¶ added in v0.7.0
func (_c *Client_BlockResults_Call) Return(_a0 *coretypes.ResultBlockResults, _a1 error) *Client_BlockResults_Call
func (*Client_BlockResults_Call) Run ¶ added in v0.7.0
func (_c *Client_BlockResults_Call) Run(run func(ctx context.Context, height *int64)) *Client_BlockResults_Call
func (*Client_BlockResults_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_BlockResults_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultBlockResults, error)) *Client_BlockResults_Call
type Client_BlockSearch_Call ¶ added in v0.7.0
Client_BlockSearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockSearch'
func (*Client_BlockSearch_Call) Return ¶ added in v0.7.0
func (_c *Client_BlockSearch_Call) Return(_a0 *coretypes.ResultBlockSearch, _a1 error) *Client_BlockSearch_Call
func (*Client_BlockSearch_Call) Run ¶ added in v0.7.0
func (_c *Client_BlockSearch_Call) Run(run func(ctx context.Context, query string, page *int, perPage *int, orderBy string)) *Client_BlockSearch_Call
func (*Client_BlockSearch_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_BlockSearch_Call) RunAndReturn(run func(context.Context, string, *int, *int, string) (*coretypes.ResultBlockSearch, error)) *Client_BlockSearch_Call
type Client_Block_Call ¶ added in v0.7.0
Client_Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Block'
func (*Client_Block_Call) Return ¶ added in v0.7.0
func (_c *Client_Block_Call) Return(_a0 *coretypes.ResultBlock, _a1 error) *Client_Block_Call
func (*Client_Block_Call) Run ¶ added in v0.7.0
func (_c *Client_Block_Call) Run(run func(ctx context.Context, height *int64)) *Client_Block_Call
func (*Client_Block_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Block_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultBlock, error)) *Client_Block_Call
type Client_BlockchainInfo_Call ¶ added in v0.7.0
Client_BlockchainInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockchainInfo'
func (*Client_BlockchainInfo_Call) Return ¶ added in v0.7.0
func (_c *Client_BlockchainInfo_Call) Return(_a0 *coretypes.ResultBlockchainInfo, _a1 error) *Client_BlockchainInfo_Call
func (*Client_BlockchainInfo_Call) Run ¶ added in v0.7.0
func (_c *Client_BlockchainInfo_Call) Run(run func(ctx context.Context, minHeight int64, maxHeight int64)) *Client_BlockchainInfo_Call
func (*Client_BlockchainInfo_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_BlockchainInfo_Call) RunAndReturn(run func(context.Context, int64, int64) (*coretypes.ResultBlockchainInfo, error)) *Client_BlockchainInfo_Call
type Client_BroadcastEvidence_Call ¶ added in v0.7.0
Client_BroadcastEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastEvidence'
func (*Client_BroadcastEvidence_Call) Return ¶ added in v0.7.0
func (_c *Client_BroadcastEvidence_Call) Return(_a0 *coretypes.ResultBroadcastEvidence, _a1 error) *Client_BroadcastEvidence_Call
func (*Client_BroadcastEvidence_Call) Run ¶ added in v0.7.0
func (_c *Client_BroadcastEvidence_Call) Run(run func(_a0 context.Context, _a1 types.Evidence)) *Client_BroadcastEvidence_Call
func (*Client_BroadcastEvidence_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_BroadcastEvidence_Call) RunAndReturn(run func(context.Context, types.Evidence) (*coretypes.ResultBroadcastEvidence, error)) *Client_BroadcastEvidence_Call
type Client_BroadcastTxAsync_Call ¶ added in v0.7.0
Client_BroadcastTxAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxAsync'
func (*Client_BroadcastTxAsync_Call) Return ¶ added in v0.7.0
func (_c *Client_BroadcastTxAsync_Call) Return(_a0 *coretypes.ResultBroadcastTx, _a1 error) *Client_BroadcastTxAsync_Call
func (*Client_BroadcastTxAsync_Call) Run ¶ added in v0.7.0
func (_c *Client_BroadcastTxAsync_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Client_BroadcastTxAsync_Call
func (*Client_BroadcastTxAsync_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_BroadcastTxAsync_Call) RunAndReturn(run func(context.Context, types.Tx) (*coretypes.ResultBroadcastTx, error)) *Client_BroadcastTxAsync_Call
type Client_BroadcastTxCommit_Call ¶ added in v0.7.0
Client_BroadcastTxCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxCommit'
func (*Client_BroadcastTxCommit_Call) Return ¶ added in v0.7.0
func (_c *Client_BroadcastTxCommit_Call) Return(_a0 *coretypes.ResultBroadcastTxCommit, _a1 error) *Client_BroadcastTxCommit_Call
func (*Client_BroadcastTxCommit_Call) Run ¶ added in v0.7.0
func (_c *Client_BroadcastTxCommit_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Client_BroadcastTxCommit_Call
func (*Client_BroadcastTxCommit_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_BroadcastTxCommit_Call) RunAndReturn(run func(context.Context, types.Tx) (*coretypes.ResultBroadcastTxCommit, error)) *Client_BroadcastTxCommit_Call
type Client_BroadcastTxSync_Call ¶ added in v0.7.0
Client_BroadcastTxSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxSync'
func (*Client_BroadcastTxSync_Call) Return ¶ added in v0.7.0
func (_c *Client_BroadcastTxSync_Call) Return(_a0 *coretypes.ResultBroadcastTx, _a1 error) *Client_BroadcastTxSync_Call
func (*Client_BroadcastTxSync_Call) Run ¶ added in v0.7.0
func (_c *Client_BroadcastTxSync_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Client_BroadcastTxSync_Call
func (*Client_BroadcastTxSync_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_BroadcastTxSync_Call) RunAndReturn(run func(context.Context, types.Tx) (*coretypes.ResultBroadcastTx, error)) *Client_BroadcastTxSync_Call
type Client_CheckTx_Call ¶ added in v0.7.0
Client_CheckTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTx'
func (*Client_CheckTx_Call) Return ¶ added in v0.7.0
func (_c *Client_CheckTx_Call) Return(_a0 *coretypes.ResultCheckTx, _a1 error) *Client_CheckTx_Call
func (*Client_CheckTx_Call) Run ¶ added in v0.7.0
func (_c *Client_CheckTx_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Client_CheckTx_Call
func (*Client_CheckTx_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_CheckTx_Call) RunAndReturn(run func(context.Context, types.Tx) (*coretypes.ResultCheckTx, error)) *Client_CheckTx_Call
type Client_Commit_Call ¶ added in v0.7.0
Client_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*Client_Commit_Call) Return ¶ added in v0.7.0
func (_c *Client_Commit_Call) Return(_a0 *coretypes.ResultCommit, _a1 error) *Client_Commit_Call
func (*Client_Commit_Call) Run ¶ added in v0.7.0
func (_c *Client_Commit_Call) Run(run func(ctx context.Context, height *int64)) *Client_Commit_Call
func (*Client_Commit_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Commit_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultCommit, error)) *Client_Commit_Call
type Client_ConsensusParams_Call ¶ added in v0.7.0
Client_ConsensusParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsensusParams'
func (*Client_ConsensusParams_Call) Return ¶ added in v0.7.0
func (_c *Client_ConsensusParams_Call) Return(_a0 *coretypes.ResultConsensusParams, _a1 error) *Client_ConsensusParams_Call
func (*Client_ConsensusParams_Call) Run ¶ added in v0.7.0
func (_c *Client_ConsensusParams_Call) Run(run func(ctx context.Context, height *int64)) *Client_ConsensusParams_Call
func (*Client_ConsensusParams_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_ConsensusParams_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultConsensusParams, error)) *Client_ConsensusParams_Call
type Client_ConsensusState_Call ¶ added in v0.7.0
Client_ConsensusState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsensusState'
func (*Client_ConsensusState_Call) Return ¶ added in v0.7.0
func (_c *Client_ConsensusState_Call) Return(_a0 *coretypes.ResultConsensusState, _a1 error) *Client_ConsensusState_Call
func (*Client_ConsensusState_Call) Run ¶ added in v0.7.0
func (_c *Client_ConsensusState_Call) Run(run func(_a0 context.Context)) *Client_ConsensusState_Call
func (*Client_ConsensusState_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_ConsensusState_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultConsensusState, error)) *Client_ConsensusState_Call
type Client_DumpConsensusState_Call ¶ added in v0.7.0
Client_DumpConsensusState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DumpConsensusState'
func (*Client_DumpConsensusState_Call) Return ¶ added in v0.7.0
func (_c *Client_DumpConsensusState_Call) Return(_a0 *coretypes.ResultDumpConsensusState, _a1 error) *Client_DumpConsensusState_Call
func (*Client_DumpConsensusState_Call) Run ¶ added in v0.7.0
func (_c *Client_DumpConsensusState_Call) Run(run func(_a0 context.Context)) *Client_DumpConsensusState_Call
func (*Client_DumpConsensusState_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_DumpConsensusState_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultDumpConsensusState, error)) *Client_DumpConsensusState_Call
type Client_Expecter ¶ added in v0.7.0
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) ABCIInfo ¶ added in v0.7.0
func (_e *Client_Expecter) ABCIInfo(_a0 interface{}) *Client_ABCIInfo_Call
ABCIInfo is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) ABCIQuery ¶ added in v0.7.0
func (_e *Client_Expecter) ABCIQuery(ctx interface{}, path interface{}, data interface{}) *Client_ABCIQuery_Call
ABCIQuery is a helper method to define mock.On call
- ctx context.Context
- path string
- data bytes.HexBytes
func (*Client_Expecter) ABCIQueryWithOptions ¶ added in v0.7.0
func (_e *Client_Expecter) ABCIQueryWithOptions(ctx interface{}, path interface{}, data interface{}, opts interface{}) *Client_ABCIQueryWithOptions_Call
ABCIQueryWithOptions is a helper method to define mock.On call
- ctx context.Context
- path string
- data bytes.HexBytes
- opts client.ABCIQueryOptions
func (*Client_Expecter) Block ¶ added in v0.7.0
func (_e *Client_Expecter) Block(ctx interface{}, height interface{}) *Client_Block_Call
Block is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*Client_Expecter) BlockByHash ¶ added in v0.7.0
func (_e *Client_Expecter) BlockByHash(ctx interface{}, hash interface{}) *Client_BlockByHash_Call
BlockByHash is a helper method to define mock.On call
- ctx context.Context
- hash []byte
func (*Client_Expecter) BlockResults ¶ added in v0.7.0
func (_e *Client_Expecter) BlockResults(ctx interface{}, height interface{}) *Client_BlockResults_Call
BlockResults is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*Client_Expecter) BlockSearch ¶ added in v0.7.0
func (_e *Client_Expecter) BlockSearch(ctx interface{}, query interface{}, page interface{}, perPage interface{}, orderBy interface{}) *Client_BlockSearch_Call
BlockSearch is a helper method to define mock.On call
- ctx context.Context
- query string
- page *int
- perPage *int
- orderBy string
func (*Client_Expecter) BlockchainInfo ¶ added in v0.7.0
func (_e *Client_Expecter) BlockchainInfo(ctx interface{}, minHeight interface{}, maxHeight interface{}) *Client_BlockchainInfo_Call
BlockchainInfo is a helper method to define mock.On call
- ctx context.Context
- minHeight int64
- maxHeight int64
func (*Client_Expecter) BroadcastEvidence ¶ added in v0.7.0
func (_e *Client_Expecter) BroadcastEvidence(_a0 interface{}, _a1 interface{}) *Client_BroadcastEvidence_Call
BroadcastEvidence is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Evidence
func (*Client_Expecter) BroadcastTxAsync ¶ added in v0.7.0
func (_e *Client_Expecter) BroadcastTxAsync(_a0 interface{}, _a1 interface{}) *Client_BroadcastTxAsync_Call
BroadcastTxAsync is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Tx
func (*Client_Expecter) BroadcastTxCommit ¶ added in v0.7.0
func (_e *Client_Expecter) BroadcastTxCommit(_a0 interface{}, _a1 interface{}) *Client_BroadcastTxCommit_Call
BroadcastTxCommit is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Tx
func (*Client_Expecter) BroadcastTxSync ¶ added in v0.7.0
func (_e *Client_Expecter) BroadcastTxSync(_a0 interface{}, _a1 interface{}) *Client_BroadcastTxSync_Call
BroadcastTxSync is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Tx
func (*Client_Expecter) CheckTx ¶ added in v0.7.0
func (_e *Client_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *Client_CheckTx_Call
CheckTx is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Tx
func (*Client_Expecter) Commit ¶ added in v0.7.0
func (_e *Client_Expecter) Commit(ctx interface{}, height interface{}) *Client_Commit_Call
Commit is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*Client_Expecter) ConsensusParams ¶ added in v0.7.0
func (_e *Client_Expecter) ConsensusParams(ctx interface{}, height interface{}) *Client_ConsensusParams_Call
ConsensusParams is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*Client_Expecter) ConsensusState ¶ added in v0.7.0
func (_e *Client_Expecter) ConsensusState(_a0 interface{}) *Client_ConsensusState_Call
ConsensusState is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) DumpConsensusState ¶ added in v0.7.0
func (_e *Client_Expecter) DumpConsensusState(_a0 interface{}) *Client_DumpConsensusState_Call
DumpConsensusState is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) Genesis ¶ added in v0.7.0
func (_e *Client_Expecter) Genesis(_a0 interface{}) *Client_Genesis_Call
Genesis is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) GenesisChunked ¶ added in v0.7.0
func (_e *Client_Expecter) GenesisChunked(_a0 interface{}, _a1 interface{}) *Client_GenesisChunked_Call
GenesisChunked is a helper method to define mock.On call
- _a0 context.Context
- _a1 uint
func (*Client_Expecter) Header ¶ added in v0.7.0
func (_e *Client_Expecter) Header(ctx interface{}, height interface{}) *Client_Header_Call
Header is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*Client_Expecter) HeaderByHash ¶ added in v0.7.0
func (_e *Client_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *Client_HeaderByHash_Call
HeaderByHash is a helper method to define mock.On call
- ctx context.Context
- hash bytes.HexBytes
func (*Client_Expecter) Health ¶ added in v0.7.0
func (_e *Client_Expecter) Health(_a0 interface{}) *Client_Health_Call
Health is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) IsRunning ¶ added in v0.7.0
func (_e *Client_Expecter) IsRunning() *Client_IsRunning_Call
IsRunning is a helper method to define mock.On call
func (*Client_Expecter) NetInfo ¶ added in v0.7.0
func (_e *Client_Expecter) NetInfo(_a0 interface{}) *Client_NetInfo_Call
NetInfo is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) NumUnconfirmedTxs ¶ added in v0.7.0
func (_e *Client_Expecter) NumUnconfirmedTxs(_a0 interface{}) *Client_NumUnconfirmedTxs_Call
NumUnconfirmedTxs is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) OnReset ¶ added in v0.7.0
func (_e *Client_Expecter) OnReset() *Client_OnReset_Call
OnReset is a helper method to define mock.On call
func (*Client_Expecter) OnStart ¶ added in v0.7.0
func (_e *Client_Expecter) OnStart() *Client_OnStart_Call
OnStart is a helper method to define mock.On call
func (*Client_Expecter) OnStop ¶ added in v0.7.0
func (_e *Client_Expecter) OnStop() *Client_OnStop_Call
OnStop is a helper method to define mock.On call
func (*Client_Expecter) Quit ¶ added in v0.7.0
func (_e *Client_Expecter) Quit() *Client_Quit_Call
Quit is a helper method to define mock.On call
func (*Client_Expecter) Reset ¶ added in v0.7.0
func (_e *Client_Expecter) Reset() *Client_Reset_Call
Reset is a helper method to define mock.On call
func (*Client_Expecter) SetLogger ¶ added in v0.7.0
func (_e *Client_Expecter) SetLogger(_a0 interface{}) *Client_SetLogger_Call
SetLogger is a helper method to define mock.On call
- _a0 log.Logger
func (*Client_Expecter) Start ¶ added in v0.7.0
func (_e *Client_Expecter) Start() *Client_Start_Call
Start is a helper method to define mock.On call
func (*Client_Expecter) Status ¶ added in v0.7.0
func (_e *Client_Expecter) Status(_a0 interface{}) *Client_Status_Call
Status is a helper method to define mock.On call
- _a0 context.Context
func (*Client_Expecter) Stop ¶ added in v0.7.0
func (_e *Client_Expecter) Stop() *Client_Stop_Call
Stop is a helper method to define mock.On call
func (*Client_Expecter) String ¶ added in v0.7.0
func (_e *Client_Expecter) String() *Client_String_Call
String is a helper method to define mock.On call
func (*Client_Expecter) Subscribe ¶ added in v0.7.0
func (_e *Client_Expecter) Subscribe(ctx interface{}, subscriber interface{}, query interface{}, outCapacity ...interface{}) *Client_Subscribe_Call
Subscribe is a helper method to define mock.On call
- ctx context.Context
- subscriber string
- query string
- outCapacity ...int
func (*Client_Expecter) Tx ¶ added in v0.7.0
func (_e *Client_Expecter) Tx(ctx interface{}, hash interface{}, prove interface{}) *Client_Tx_Call
Tx is a helper method to define mock.On call
- ctx context.Context
- hash []byte
- prove bool
func (*Client_Expecter) TxSearch ¶ added in v0.7.0
func (_e *Client_Expecter) TxSearch(ctx interface{}, query interface{}, prove interface{}, page interface{}, perPage interface{}, orderBy interface{}) *Client_TxSearch_Call
TxSearch is a helper method to define mock.On call
- ctx context.Context
- query string
- prove bool
- page *int
- perPage *int
- orderBy string
func (*Client_Expecter) UnconfirmedTxs ¶ added in v0.7.0
func (_e *Client_Expecter) UnconfirmedTxs(ctx interface{}, limit interface{}) *Client_UnconfirmedTxs_Call
UnconfirmedTxs is a helper method to define mock.On call
- ctx context.Context
- limit *int
func (*Client_Expecter) Unsubscribe ¶ added in v0.7.0
func (_e *Client_Expecter) Unsubscribe(ctx interface{}, subscriber interface{}, query interface{}) *Client_Unsubscribe_Call
Unsubscribe is a helper method to define mock.On call
- ctx context.Context
- subscriber string
- query string
func (*Client_Expecter) UnsubscribeAll ¶ added in v0.7.0
func (_e *Client_Expecter) UnsubscribeAll(ctx interface{}, subscriber interface{}) *Client_UnsubscribeAll_Call
UnsubscribeAll is a helper method to define mock.On call
- ctx context.Context
- subscriber string
func (*Client_Expecter) Validators ¶ added in v0.7.0
func (_e *Client_Expecter) Validators(ctx interface{}, height interface{}, page interface{}, perPage interface{}) *Client_Validators_Call
Validators is a helper method to define mock.On call
- ctx context.Context
- height *int64
- page *int
- perPage *int
type Client_GenesisChunked_Call ¶ added in v0.7.0
Client_GenesisChunked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenesisChunked'
func (*Client_GenesisChunked_Call) Return ¶ added in v0.7.0
func (_c *Client_GenesisChunked_Call) Return(_a0 *coretypes.ResultGenesisChunk, _a1 error) *Client_GenesisChunked_Call
func (*Client_GenesisChunked_Call) Run ¶ added in v0.7.0
func (_c *Client_GenesisChunked_Call) Run(run func(_a0 context.Context, _a1 uint)) *Client_GenesisChunked_Call
func (*Client_GenesisChunked_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_GenesisChunked_Call) RunAndReturn(run func(context.Context, uint) (*coretypes.ResultGenesisChunk, error)) *Client_GenesisChunked_Call
type Client_Genesis_Call ¶ added in v0.7.0
Client_Genesis_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Genesis'
func (*Client_Genesis_Call) Return ¶ added in v0.7.0
func (_c *Client_Genesis_Call) Return(_a0 *coretypes.ResultGenesis, _a1 error) *Client_Genesis_Call
func (*Client_Genesis_Call) Run ¶ added in v0.7.0
func (_c *Client_Genesis_Call) Run(run func(_a0 context.Context)) *Client_Genesis_Call
func (*Client_Genesis_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Genesis_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultGenesis, error)) *Client_Genesis_Call
type Client_HeaderByHash_Call ¶ added in v0.7.0
Client_HeaderByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByHash'
func (*Client_HeaderByHash_Call) Return ¶ added in v0.7.0
func (_c *Client_HeaderByHash_Call) Return(_a0 *coretypes.ResultHeader, _a1 error) *Client_HeaderByHash_Call
func (*Client_HeaderByHash_Call) Run ¶ added in v0.7.0
func (_c *Client_HeaderByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *Client_HeaderByHash_Call
func (*Client_HeaderByHash_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_HeaderByHash_Call) RunAndReturn(run func(context.Context, bytes.HexBytes) (*coretypes.ResultHeader, error)) *Client_HeaderByHash_Call
type Client_Header_Call ¶ added in v0.7.0
Client_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*Client_Header_Call) Return ¶ added in v0.7.0
func (_c *Client_Header_Call) Return(_a0 *coretypes.ResultHeader, _a1 error) *Client_Header_Call
func (*Client_Header_Call) Run ¶ added in v0.7.0
func (_c *Client_Header_Call) Run(run func(ctx context.Context, height *int64)) *Client_Header_Call
func (*Client_Header_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Header_Call) RunAndReturn(run func(context.Context, *int64) (*coretypes.ResultHeader, error)) *Client_Header_Call
type Client_Health_Call ¶ added in v0.7.0
Client_Health_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Health'
func (*Client_Health_Call) Return ¶ added in v0.7.0
func (_c *Client_Health_Call) Return(_a0 *coretypes.ResultHealth, _a1 error) *Client_Health_Call
func (*Client_Health_Call) Run ¶ added in v0.7.0
func (_c *Client_Health_Call) Run(run func(_a0 context.Context)) *Client_Health_Call
func (*Client_Health_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Health_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultHealth, error)) *Client_Health_Call
type Client_IsRunning_Call ¶ added in v0.7.0
Client_IsRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRunning'
func (*Client_IsRunning_Call) Return ¶ added in v0.7.0
func (_c *Client_IsRunning_Call) Return(_a0 bool) *Client_IsRunning_Call
func (*Client_IsRunning_Call) Run ¶ added in v0.7.0
func (_c *Client_IsRunning_Call) Run(run func()) *Client_IsRunning_Call
func (*Client_IsRunning_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_IsRunning_Call) RunAndReturn(run func() bool) *Client_IsRunning_Call
type Client_NetInfo_Call ¶ added in v0.7.0
Client_NetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetInfo'
func (*Client_NetInfo_Call) Return ¶ added in v0.7.0
func (_c *Client_NetInfo_Call) Return(_a0 *coretypes.ResultNetInfo, _a1 error) *Client_NetInfo_Call
func (*Client_NetInfo_Call) Run ¶ added in v0.7.0
func (_c *Client_NetInfo_Call) Run(run func(_a0 context.Context)) *Client_NetInfo_Call
func (*Client_NetInfo_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_NetInfo_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultNetInfo, error)) *Client_NetInfo_Call
type Client_NumUnconfirmedTxs_Call ¶ added in v0.7.0
Client_NumUnconfirmedTxs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NumUnconfirmedTxs'
func (*Client_NumUnconfirmedTxs_Call) Return ¶ added in v0.7.0
func (_c *Client_NumUnconfirmedTxs_Call) Return(_a0 *coretypes.ResultUnconfirmedTxs, _a1 error) *Client_NumUnconfirmedTxs_Call
func (*Client_NumUnconfirmedTxs_Call) Run ¶ added in v0.7.0
func (_c *Client_NumUnconfirmedTxs_Call) Run(run func(_a0 context.Context)) *Client_NumUnconfirmedTxs_Call
func (*Client_NumUnconfirmedTxs_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_NumUnconfirmedTxs_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultUnconfirmedTxs, error)) *Client_NumUnconfirmedTxs_Call
type Client_OnReset_Call ¶ added in v0.7.0
Client_OnReset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnReset'
func (*Client_OnReset_Call) Return ¶ added in v0.7.0
func (_c *Client_OnReset_Call) Return(_a0 error) *Client_OnReset_Call
func (*Client_OnReset_Call) Run ¶ added in v0.7.0
func (_c *Client_OnReset_Call) Run(run func()) *Client_OnReset_Call
func (*Client_OnReset_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_OnReset_Call) RunAndReturn(run func() error) *Client_OnReset_Call
type Client_OnStart_Call ¶ added in v0.7.0
Client_OnStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStart'
func (*Client_OnStart_Call) Return ¶ added in v0.7.0
func (_c *Client_OnStart_Call) Return(_a0 error) *Client_OnStart_Call
func (*Client_OnStart_Call) Run ¶ added in v0.7.0
func (_c *Client_OnStart_Call) Run(run func()) *Client_OnStart_Call
func (*Client_OnStart_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_OnStart_Call) RunAndReturn(run func() error) *Client_OnStart_Call
type Client_OnStop_Call ¶ added in v0.7.0
Client_OnStop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStop'
func (*Client_OnStop_Call) Return ¶ added in v0.7.0
func (_c *Client_OnStop_Call) Return() *Client_OnStop_Call
func (*Client_OnStop_Call) Run ¶ added in v0.7.0
func (_c *Client_OnStop_Call) Run(run func()) *Client_OnStop_Call
func (*Client_OnStop_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_OnStop_Call) RunAndReturn(run func()) *Client_OnStop_Call
type Client_Quit_Call ¶ added in v0.7.0
Client_Quit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Quit'
func (*Client_Quit_Call) Return ¶ added in v0.7.0
func (_c *Client_Quit_Call) Return(_a0 <-chan struct{}) *Client_Quit_Call
func (*Client_Quit_Call) Run ¶ added in v0.7.0
func (_c *Client_Quit_Call) Run(run func()) *Client_Quit_Call
func (*Client_Quit_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Quit_Call) RunAndReturn(run func() <-chan struct{}) *Client_Quit_Call
type Client_Reset_Call ¶ added in v0.7.0
Client_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*Client_Reset_Call) Return ¶ added in v0.7.0
func (_c *Client_Reset_Call) Return(_a0 error) *Client_Reset_Call
func (*Client_Reset_Call) Run ¶ added in v0.7.0
func (_c *Client_Reset_Call) Run(run func()) *Client_Reset_Call
func (*Client_Reset_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Reset_Call) RunAndReturn(run func() error) *Client_Reset_Call
type Client_SetLogger_Call ¶ added in v0.7.0
Client_SetLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLogger'
func (*Client_SetLogger_Call) Return ¶ added in v0.7.0
func (_c *Client_SetLogger_Call) Return() *Client_SetLogger_Call
func (*Client_SetLogger_Call) Run ¶ added in v0.7.0
func (_c *Client_SetLogger_Call) Run(run func(_a0 log.Logger)) *Client_SetLogger_Call
func (*Client_SetLogger_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_SetLogger_Call) RunAndReturn(run func(log.Logger)) *Client_SetLogger_Call
type Client_Start_Call ¶ added in v0.7.0
Client_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Client_Start_Call) Return ¶ added in v0.7.0
func (_c *Client_Start_Call) Return(_a0 error) *Client_Start_Call
func (*Client_Start_Call) Run ¶ added in v0.7.0
func (_c *Client_Start_Call) Run(run func()) *Client_Start_Call
func (*Client_Start_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Start_Call) RunAndReturn(run func() error) *Client_Start_Call
type Client_Status_Call ¶ added in v0.7.0
Client_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*Client_Status_Call) Return ¶ added in v0.7.0
func (_c *Client_Status_Call) Return(_a0 *coretypes.ResultStatus, _a1 error) *Client_Status_Call
func (*Client_Status_Call) Run ¶ added in v0.7.0
func (_c *Client_Status_Call) Run(run func(_a0 context.Context)) *Client_Status_Call
func (*Client_Status_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Status_Call) RunAndReturn(run func(context.Context) (*coretypes.ResultStatus, error)) *Client_Status_Call
type Client_Stop_Call ¶ added in v0.7.0
Client_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*Client_Stop_Call) Return ¶ added in v0.7.0
func (_c *Client_Stop_Call) Return(_a0 error) *Client_Stop_Call
func (*Client_Stop_Call) Run ¶ added in v0.7.0
func (_c *Client_Stop_Call) Run(run func()) *Client_Stop_Call
func (*Client_Stop_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Stop_Call) RunAndReturn(run func() error) *Client_Stop_Call
type Client_String_Call ¶ added in v0.7.0
Client_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*Client_String_Call) Return ¶ added in v0.7.0
func (_c *Client_String_Call) Return(_a0 string) *Client_String_Call
func (*Client_String_Call) Run ¶ added in v0.7.0
func (_c *Client_String_Call) Run(run func()) *Client_String_Call
func (*Client_String_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_String_Call) RunAndReturn(run func() string) *Client_String_Call
type Client_Subscribe_Call ¶ added in v0.7.0
Client_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*Client_Subscribe_Call) Return ¶ added in v0.7.0
func (_c *Client_Subscribe_Call) Return(out <-chan coretypes.ResultEvent, err error) *Client_Subscribe_Call
func (*Client_Subscribe_Call) Run ¶ added in v0.7.0
func (_c *Client_Subscribe_Call) Run(run func(ctx context.Context, subscriber string, query string, outCapacity ...int)) *Client_Subscribe_Call
func (*Client_Subscribe_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Subscribe_Call) RunAndReturn(run func(context.Context, string, string, ...int) (<-chan coretypes.ResultEvent, error)) *Client_Subscribe_Call
type Client_TxSearch_Call ¶ added in v0.7.0
Client_TxSearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxSearch'
func (*Client_TxSearch_Call) Return ¶ added in v0.7.0
func (_c *Client_TxSearch_Call) Return(_a0 *coretypes.ResultTxSearch, _a1 error) *Client_TxSearch_Call
func (*Client_TxSearch_Call) Run ¶ added in v0.7.0
func (_c *Client_TxSearch_Call) Run(run func(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string)) *Client_TxSearch_Call
func (*Client_TxSearch_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_TxSearch_Call) RunAndReturn(run func(context.Context, string, bool, *int, *int, string) (*coretypes.ResultTxSearch, error)) *Client_TxSearch_Call
type Client_Tx_Call ¶ added in v0.7.0
Client_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'
func (*Client_Tx_Call) Return ¶ added in v0.7.0
func (_c *Client_Tx_Call) Return(_a0 *coretypes.ResultTx, _a1 error) *Client_Tx_Call
func (*Client_Tx_Call) Run ¶ added in v0.7.0
func (_c *Client_Tx_Call) Run(run func(ctx context.Context, hash []byte, prove bool)) *Client_Tx_Call
func (*Client_Tx_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Tx_Call) RunAndReturn(run func(context.Context, []byte, bool) (*coretypes.ResultTx, error)) *Client_Tx_Call
type Client_UnconfirmedTxs_Call ¶ added in v0.7.0
Client_UnconfirmedTxs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnconfirmedTxs'
func (*Client_UnconfirmedTxs_Call) Return ¶ added in v0.7.0
func (_c *Client_UnconfirmedTxs_Call) Return(_a0 *coretypes.ResultUnconfirmedTxs, _a1 error) *Client_UnconfirmedTxs_Call
func (*Client_UnconfirmedTxs_Call) Run ¶ added in v0.7.0
func (_c *Client_UnconfirmedTxs_Call) Run(run func(ctx context.Context, limit *int)) *Client_UnconfirmedTxs_Call
func (*Client_UnconfirmedTxs_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_UnconfirmedTxs_Call) RunAndReturn(run func(context.Context, *int) (*coretypes.ResultUnconfirmedTxs, error)) *Client_UnconfirmedTxs_Call
type Client_UnsubscribeAll_Call ¶ added in v0.7.0
Client_UnsubscribeAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubscribeAll'
func (*Client_UnsubscribeAll_Call) Return ¶ added in v0.7.0
func (_c *Client_UnsubscribeAll_Call) Return(_a0 error) *Client_UnsubscribeAll_Call
func (*Client_UnsubscribeAll_Call) Run ¶ added in v0.7.0
func (_c *Client_UnsubscribeAll_Call) Run(run func(ctx context.Context, subscriber string)) *Client_UnsubscribeAll_Call
func (*Client_UnsubscribeAll_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_UnsubscribeAll_Call) RunAndReturn(run func(context.Context, string) error) *Client_UnsubscribeAll_Call
type Client_Unsubscribe_Call ¶ added in v0.7.0
Client_Unsubscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unsubscribe'
func (*Client_Unsubscribe_Call) Return ¶ added in v0.7.0
func (_c *Client_Unsubscribe_Call) Return(_a0 error) *Client_Unsubscribe_Call
func (*Client_Unsubscribe_Call) Run ¶ added in v0.7.0
func (_c *Client_Unsubscribe_Call) Run(run func(ctx context.Context, subscriber string, query string)) *Client_Unsubscribe_Call
func (*Client_Unsubscribe_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Unsubscribe_Call) RunAndReturn(run func(context.Context, string, string) error) *Client_Unsubscribe_Call
type Client_Validators_Call ¶ added in v0.7.0
Client_Validators_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validators'
func (*Client_Validators_Call) Return ¶ added in v0.7.0
func (_c *Client_Validators_Call) Return(_a0 *coretypes.ResultValidators, _a1 error) *Client_Validators_Call
func (*Client_Validators_Call) Run ¶ added in v0.7.0
func (_c *Client_Validators_Call) Run(run func(ctx context.Context, height *int64, page *int, perPage *int)) *Client_Validators_Call
func (*Client_Validators_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Client_Validators_Call) RunAndReturn(run func(context.Context, *int64, *int, *int) (*coretypes.ResultValidators, error)) *Client_Validators_Call
type EVMQueryClient ¶
EVMQueryClient is an autogenerated mock type for the QueryClient type
func NewEVMQueryClient ¶
func NewEVMQueryClient(t interface {
mock.TestingT
Cleanup(func())
},
) *EVMQueryClient
NewEVMQueryClient creates a new instance of EVMQueryClient. 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 (*EVMQueryClient) Account ¶
func (_m *EVMQueryClient) Account(ctx context.Context, in *types.QueryAccountRequest, opts ...grpc.CallOption) (*types.QueryAccountResponse, error)
Account provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) Balance ¶
func (_m *EVMQueryClient) Balance(ctx context.Context, in *types.QueryBalanceRequest, opts ...grpc.CallOption) (*types.QueryBalanceResponse, error)
Balance provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) BaseFee ¶
func (_m *EVMQueryClient) BaseFee(ctx context.Context, in *types.QueryBaseFeeRequest, opts ...grpc.CallOption) (*types.QueryBaseFeeResponse, error)
BaseFee provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) Code ¶
func (_m *EVMQueryClient) Code(ctx context.Context, in *types.QueryCodeRequest, opts ...grpc.CallOption) (*types.QueryCodeResponse, error)
Code provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) Config ¶
func (_m *EVMQueryClient) Config(ctx context.Context, in *types.QueryConfigRequest, opts ...grpc.CallOption) (*types.QueryConfigResponse, error)
Config provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) CosmosAccount ¶
func (_m *EVMQueryClient) CosmosAccount(ctx context.Context, in *types.QueryCosmosAccountRequest, opts ...grpc.CallOption) (*types.QueryCosmosAccountResponse, error)
CosmosAccount provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) EXPECT ¶ added in v0.7.0
func (_m *EVMQueryClient) EXPECT() *EVMQueryClient_Expecter
func (*EVMQueryClient) EstimateGas ¶
func (_m *EVMQueryClient) EstimateGas(ctx context.Context, in *types.EthCallRequest, opts ...grpc.CallOption) (*types.EstimateGasResponse, error)
EstimateGas provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) EthCall ¶
func (_m *EVMQueryClient) EthCall(ctx context.Context, in *types.EthCallRequest, opts ...grpc.CallOption) (*types.MsgEthereumTxResponse, error)
EthCall provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) GlobalMinGasPrice ¶
func (_m *EVMQueryClient) GlobalMinGasPrice(ctx context.Context, in *types.QueryGlobalMinGasPriceRequest, opts ...grpc.CallOption) (*types.QueryGlobalMinGasPriceResponse, error)
GlobalMinGasPrice provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) Params ¶
func (_m *EVMQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) Storage ¶
func (_m *EVMQueryClient) Storage(ctx context.Context, in *types.QueryStorageRequest, opts ...grpc.CallOption) (*types.QueryStorageResponse, error)
Storage provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) TraceBlock ¶
func (_m *EVMQueryClient) TraceBlock(ctx context.Context, in *types.QueryTraceBlockRequest, opts ...grpc.CallOption) (*types.QueryTraceBlockResponse, error)
TraceBlock provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) TraceCall ¶ added in v0.5.0
func (_m *EVMQueryClient) TraceCall(ctx context.Context, in *types.QueryTraceCallRequest, opts ...grpc.CallOption) (*types.QueryTraceCallResponse, error)
TraceCall provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) TraceTx ¶
func (_m *EVMQueryClient) TraceTx(ctx context.Context, in *types.QueryTraceTxRequest, opts ...grpc.CallOption) (*types.QueryTraceTxResponse, error)
TraceTx provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) ValidatorAccount ¶
func (_m *EVMQueryClient) ValidatorAccount(ctx context.Context, in *types.QueryValidatorAccountRequest, opts ...grpc.CallOption) (*types.QueryValidatorAccountResponse, error)
ValidatorAccount provides a mock function with given fields: ctx, in, opts
type EVMQueryClient_Account_Call ¶ added in v0.7.0
EVMQueryClient_Account_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Account'
func (*EVMQueryClient_Account_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_Account_Call) Return(_a0 *types.QueryAccountResponse, _a1 error) *EVMQueryClient_Account_Call
func (*EVMQueryClient_Account_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_Account_Call) Run(run func(ctx context.Context, in *types.QueryAccountRequest, opts ...grpc.CallOption)) *EVMQueryClient_Account_Call
func (*EVMQueryClient_Account_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_Account_Call) RunAndReturn(run func(context.Context, *types.QueryAccountRequest, ...grpc.CallOption) (*types.QueryAccountResponse, error)) *EVMQueryClient_Account_Call
type EVMQueryClient_Balance_Call ¶ added in v0.7.0
EVMQueryClient_Balance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Balance'
func (*EVMQueryClient_Balance_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_Balance_Call) Return(_a0 *types.QueryBalanceResponse, _a1 error) *EVMQueryClient_Balance_Call
func (*EVMQueryClient_Balance_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_Balance_Call) Run(run func(ctx context.Context, in *types.QueryBalanceRequest, opts ...grpc.CallOption)) *EVMQueryClient_Balance_Call
func (*EVMQueryClient_Balance_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_Balance_Call) RunAndReturn(run func(context.Context, *types.QueryBalanceRequest, ...grpc.CallOption) (*types.QueryBalanceResponse, error)) *EVMQueryClient_Balance_Call
type EVMQueryClient_BaseFee_Call ¶ added in v0.7.0
EVMQueryClient_BaseFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BaseFee'
func (*EVMQueryClient_BaseFee_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_BaseFee_Call) Return(_a0 *types.QueryBaseFeeResponse, _a1 error) *EVMQueryClient_BaseFee_Call
func (*EVMQueryClient_BaseFee_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_BaseFee_Call) Run(run func(ctx context.Context, in *types.QueryBaseFeeRequest, opts ...grpc.CallOption)) *EVMQueryClient_BaseFee_Call
func (*EVMQueryClient_BaseFee_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_BaseFee_Call) RunAndReturn(run func(context.Context, *types.QueryBaseFeeRequest, ...grpc.CallOption) (*types.QueryBaseFeeResponse, error)) *EVMQueryClient_BaseFee_Call
type EVMQueryClient_Code_Call ¶ added in v0.7.0
EVMQueryClient_Code_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Code'
func (*EVMQueryClient_Code_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_Code_Call) Return(_a0 *types.QueryCodeResponse, _a1 error) *EVMQueryClient_Code_Call
func (*EVMQueryClient_Code_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_Code_Call) Run(run func(ctx context.Context, in *types.QueryCodeRequest, opts ...grpc.CallOption)) *EVMQueryClient_Code_Call
func (*EVMQueryClient_Code_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_Code_Call) RunAndReturn(run func(context.Context, *types.QueryCodeRequest, ...grpc.CallOption) (*types.QueryCodeResponse, error)) *EVMQueryClient_Code_Call
type EVMQueryClient_Config_Call ¶ added in v0.7.0
EVMQueryClient_Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Config'
func (*EVMQueryClient_Config_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_Config_Call) Return(_a0 *types.QueryConfigResponse, _a1 error) *EVMQueryClient_Config_Call
func (*EVMQueryClient_Config_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_Config_Call) Run(run func(ctx context.Context, in *types.QueryConfigRequest, opts ...grpc.CallOption)) *EVMQueryClient_Config_Call
func (*EVMQueryClient_Config_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_Config_Call) RunAndReturn(run func(context.Context, *types.QueryConfigRequest, ...grpc.CallOption) (*types.QueryConfigResponse, error)) *EVMQueryClient_Config_Call
type EVMQueryClient_CosmosAccount_Call ¶ added in v0.7.0
EVMQueryClient_CosmosAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CosmosAccount'
func (*EVMQueryClient_CosmosAccount_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_CosmosAccount_Call) Return(_a0 *types.QueryCosmosAccountResponse, _a1 error) *EVMQueryClient_CosmosAccount_Call
func (*EVMQueryClient_CosmosAccount_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_CosmosAccount_Call) Run(run func(ctx context.Context, in *types.QueryCosmosAccountRequest, opts ...grpc.CallOption)) *EVMQueryClient_CosmosAccount_Call
func (*EVMQueryClient_CosmosAccount_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_CosmosAccount_Call) RunAndReturn(run func(context.Context, *types.QueryCosmosAccountRequest, ...grpc.CallOption) (*types.QueryCosmosAccountResponse, error)) *EVMQueryClient_CosmosAccount_Call
type EVMQueryClient_EstimateGas_Call ¶ added in v0.7.0
EVMQueryClient_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'
func (*EVMQueryClient_EstimateGas_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_EstimateGas_Call) Return(_a0 *types.EstimateGasResponse, _a1 error) *EVMQueryClient_EstimateGas_Call
func (*EVMQueryClient_EstimateGas_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_EstimateGas_Call) Run(run func(ctx context.Context, in *types.EthCallRequest, opts ...grpc.CallOption)) *EVMQueryClient_EstimateGas_Call
func (*EVMQueryClient_EstimateGas_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_EstimateGas_Call) RunAndReturn(run func(context.Context, *types.EthCallRequest, ...grpc.CallOption) (*types.EstimateGasResponse, error)) *EVMQueryClient_EstimateGas_Call
type EVMQueryClient_EthCall_Call ¶ added in v0.7.0
EVMQueryClient_EthCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EthCall'
func (*EVMQueryClient_EthCall_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_EthCall_Call) Return(_a0 *types.MsgEthereumTxResponse, _a1 error) *EVMQueryClient_EthCall_Call
func (*EVMQueryClient_EthCall_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_EthCall_Call) Run(run func(ctx context.Context, in *types.EthCallRequest, opts ...grpc.CallOption)) *EVMQueryClient_EthCall_Call
func (*EVMQueryClient_EthCall_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_EthCall_Call) RunAndReturn(run func(context.Context, *types.EthCallRequest, ...grpc.CallOption) (*types.MsgEthereumTxResponse, error)) *EVMQueryClient_EthCall_Call
type EVMQueryClient_Expecter ¶ added in v0.7.0
type EVMQueryClient_Expecter struct {
// contains filtered or unexported fields
}
func (*EVMQueryClient_Expecter) Account ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) Account(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Account_Call
Account is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryAccountRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) Balance ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) Balance(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Balance_Call
Balance is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryBalanceRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) BaseFee ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) BaseFee(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_BaseFee_Call
BaseFee is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryBaseFeeRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) Code ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) Code(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Code_Call
Code is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryCodeRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) Config ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) Config(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Config_Call
Config is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryConfigRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) CosmosAccount ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) CosmosAccount(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_CosmosAccount_Call
CosmosAccount is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryCosmosAccountRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) EstimateGas ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) EstimateGas(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_EstimateGas_Call
EstimateGas is a helper method to define mock.On call
- ctx context.Context
- in *types.EthCallRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) EthCall ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) EthCall(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_EthCall_Call
EthCall is a helper method to define mock.On call
- ctx context.Context
- in *types.EthCallRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) GlobalMinGasPrice ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) GlobalMinGasPrice(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_GlobalMinGasPrice_Call
GlobalMinGasPrice is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryGlobalMinGasPriceRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) Params ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Params_Call
Params is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryParamsRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) Storage ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) Storage(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Storage_Call
Storage is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryStorageRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) TraceBlock ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) TraceBlock(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_TraceBlock_Call
TraceBlock is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryTraceBlockRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) TraceCall ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) TraceCall(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_TraceCall_Call
TraceCall is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryTraceCallRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) TraceTx ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) TraceTx(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_TraceTx_Call
TraceTx is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryTraceTxRequest
- opts ...grpc.CallOption
func (*EVMQueryClient_Expecter) ValidatorAccount ¶ added in v0.7.0
func (_e *EVMQueryClient_Expecter) ValidatorAccount(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_ValidatorAccount_Call
ValidatorAccount is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryValidatorAccountRequest
- opts ...grpc.CallOption
type EVMQueryClient_GlobalMinGasPrice_Call ¶ added in v0.7.0
EVMQueryClient_GlobalMinGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalMinGasPrice'
func (*EVMQueryClient_GlobalMinGasPrice_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_GlobalMinGasPrice_Call) Return(_a0 *types.QueryGlobalMinGasPriceResponse, _a1 error) *EVMQueryClient_GlobalMinGasPrice_Call
func (*EVMQueryClient_GlobalMinGasPrice_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_GlobalMinGasPrice_Call) Run(run func(ctx context.Context, in *types.QueryGlobalMinGasPriceRequest, opts ...grpc.CallOption)) *EVMQueryClient_GlobalMinGasPrice_Call
func (*EVMQueryClient_GlobalMinGasPrice_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_GlobalMinGasPrice_Call) RunAndReturn(run func(context.Context, *types.QueryGlobalMinGasPriceRequest, ...grpc.CallOption) (*types.QueryGlobalMinGasPriceResponse, error)) *EVMQueryClient_GlobalMinGasPrice_Call
type EVMQueryClient_Params_Call ¶ added in v0.7.0
EVMQueryClient_Params_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Params'
func (*EVMQueryClient_Params_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_Params_Call) Return(_a0 *types.QueryParamsResponse, _a1 error) *EVMQueryClient_Params_Call
func (*EVMQueryClient_Params_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_Params_Call) Run(run func(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption)) *EVMQueryClient_Params_Call
func (*EVMQueryClient_Params_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_Params_Call) RunAndReturn(run func(context.Context, *types.QueryParamsRequest, ...grpc.CallOption) (*types.QueryParamsResponse, error)) *EVMQueryClient_Params_Call
type EVMQueryClient_Storage_Call ¶ added in v0.7.0
EVMQueryClient_Storage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Storage'
func (*EVMQueryClient_Storage_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_Storage_Call) Return(_a0 *types.QueryStorageResponse, _a1 error) *EVMQueryClient_Storage_Call
func (*EVMQueryClient_Storage_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_Storage_Call) Run(run func(ctx context.Context, in *types.QueryStorageRequest, opts ...grpc.CallOption)) *EVMQueryClient_Storage_Call
func (*EVMQueryClient_Storage_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_Storage_Call) RunAndReturn(run func(context.Context, *types.QueryStorageRequest, ...grpc.CallOption) (*types.QueryStorageResponse, error)) *EVMQueryClient_Storage_Call
type EVMQueryClient_TraceBlock_Call ¶ added in v0.7.0
EVMQueryClient_TraceBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TraceBlock'
func (*EVMQueryClient_TraceBlock_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_TraceBlock_Call) Return(_a0 *types.QueryTraceBlockResponse, _a1 error) *EVMQueryClient_TraceBlock_Call
func (*EVMQueryClient_TraceBlock_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_TraceBlock_Call) Run(run func(ctx context.Context, in *types.QueryTraceBlockRequest, opts ...grpc.CallOption)) *EVMQueryClient_TraceBlock_Call
func (*EVMQueryClient_TraceBlock_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_TraceBlock_Call) RunAndReturn(run func(context.Context, *types.QueryTraceBlockRequest, ...grpc.CallOption) (*types.QueryTraceBlockResponse, error)) *EVMQueryClient_TraceBlock_Call
type EVMQueryClient_TraceCall_Call ¶ added in v0.7.0
EVMQueryClient_TraceCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TraceCall'
func (*EVMQueryClient_TraceCall_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_TraceCall_Call) Return(_a0 *types.QueryTraceCallResponse, _a1 error) *EVMQueryClient_TraceCall_Call
func (*EVMQueryClient_TraceCall_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_TraceCall_Call) Run(run func(ctx context.Context, in *types.QueryTraceCallRequest, opts ...grpc.CallOption)) *EVMQueryClient_TraceCall_Call
func (*EVMQueryClient_TraceCall_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_TraceCall_Call) RunAndReturn(run func(context.Context, *types.QueryTraceCallRequest, ...grpc.CallOption) (*types.QueryTraceCallResponse, error)) *EVMQueryClient_TraceCall_Call
type EVMQueryClient_TraceTx_Call ¶ added in v0.7.0
EVMQueryClient_TraceTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TraceTx'
func (*EVMQueryClient_TraceTx_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_TraceTx_Call) Return(_a0 *types.QueryTraceTxResponse, _a1 error) *EVMQueryClient_TraceTx_Call
func (*EVMQueryClient_TraceTx_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_TraceTx_Call) Run(run func(ctx context.Context, in *types.QueryTraceTxRequest, opts ...grpc.CallOption)) *EVMQueryClient_TraceTx_Call
func (*EVMQueryClient_TraceTx_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_TraceTx_Call) RunAndReturn(run func(context.Context, *types.QueryTraceTxRequest, ...grpc.CallOption) (*types.QueryTraceTxResponse, error)) *EVMQueryClient_TraceTx_Call
type EVMQueryClient_ValidatorAccount_Call ¶ added in v0.7.0
EVMQueryClient_ValidatorAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidatorAccount'
func (*EVMQueryClient_ValidatorAccount_Call) Return ¶ added in v0.7.0
func (_c *EVMQueryClient_ValidatorAccount_Call) Return(_a0 *types.QueryValidatorAccountResponse, _a1 error) *EVMQueryClient_ValidatorAccount_Call
func (*EVMQueryClient_ValidatorAccount_Call) Run ¶ added in v0.7.0
func (_c *EVMQueryClient_ValidatorAccount_Call) Run(run func(ctx context.Context, in *types.QueryValidatorAccountRequest, opts ...grpc.CallOption)) *EVMQueryClient_ValidatorAccount_Call
func (*EVMQueryClient_ValidatorAccount_Call) RunAndReturn ¶ added in v0.7.0
func (_c *EVMQueryClient_ValidatorAccount_Call) RunAndReturn(run func(context.Context, *types.QueryValidatorAccountRequest, ...grpc.CallOption) (*types.QueryValidatorAccountResponse, error)) *EVMQueryClient_ValidatorAccount_Call
type FeeMarketQueryClient ¶
FeeMarketQueryClient is an autogenerated mock type for the QueryClient type
func NewFeeMarketQueryClient ¶
func NewFeeMarketQueryClient(t interface {
mock.TestingT
Cleanup(func())
},
) *FeeMarketQueryClient
NewFeeMarketQueryClient creates a new instance of FeeMarketQueryClient. 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 (*FeeMarketQueryClient) BaseFee ¶
func (_m *FeeMarketQueryClient) BaseFee(ctx context.Context, in *types.QueryBaseFeeRequest, opts ...grpc.CallOption) (*types.QueryBaseFeeResponse, error)
BaseFee provides a mock function with given fields: ctx, in, opts
func (*FeeMarketQueryClient) BlockGas ¶
func (_m *FeeMarketQueryClient) BlockGas(ctx context.Context, in *types.QueryBlockGasRequest, opts ...grpc.CallOption) (*types.QueryBlockGasResponse, error)
BlockGas provides a mock function with given fields: ctx, in, opts
func (*FeeMarketQueryClient) EXPECT ¶ added in v0.7.0
func (_m *FeeMarketQueryClient) EXPECT() *FeeMarketQueryClient_Expecter
func (*FeeMarketQueryClient) Params ¶
func (_m *FeeMarketQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
type FeeMarketQueryClient_BaseFee_Call ¶ added in v0.7.0
FeeMarketQueryClient_BaseFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BaseFee'
func (*FeeMarketQueryClient_BaseFee_Call) Return ¶ added in v0.7.0
func (_c *FeeMarketQueryClient_BaseFee_Call) Return(_a0 *types.QueryBaseFeeResponse, _a1 error) *FeeMarketQueryClient_BaseFee_Call
func (*FeeMarketQueryClient_BaseFee_Call) Run ¶ added in v0.7.0
func (_c *FeeMarketQueryClient_BaseFee_Call) Run(run func(ctx context.Context, in *types.QueryBaseFeeRequest, opts ...grpc.CallOption)) *FeeMarketQueryClient_BaseFee_Call
func (*FeeMarketQueryClient_BaseFee_Call) RunAndReturn ¶ added in v0.7.0
func (_c *FeeMarketQueryClient_BaseFee_Call) RunAndReturn(run func(context.Context, *types.QueryBaseFeeRequest, ...grpc.CallOption) (*types.QueryBaseFeeResponse, error)) *FeeMarketQueryClient_BaseFee_Call
type FeeMarketQueryClient_BlockGas_Call ¶ added in v0.7.0
FeeMarketQueryClient_BlockGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockGas'
func (*FeeMarketQueryClient_BlockGas_Call) Return ¶ added in v0.7.0
func (_c *FeeMarketQueryClient_BlockGas_Call) Return(_a0 *types.QueryBlockGasResponse, _a1 error) *FeeMarketQueryClient_BlockGas_Call
func (*FeeMarketQueryClient_BlockGas_Call) Run ¶ added in v0.7.0
func (_c *FeeMarketQueryClient_BlockGas_Call) Run(run func(ctx context.Context, in *types.QueryBlockGasRequest, opts ...grpc.CallOption)) *FeeMarketQueryClient_BlockGas_Call
func (*FeeMarketQueryClient_BlockGas_Call) RunAndReturn ¶ added in v0.7.0
func (_c *FeeMarketQueryClient_BlockGas_Call) RunAndReturn(run func(context.Context, *types.QueryBlockGasRequest, ...grpc.CallOption) (*types.QueryBlockGasResponse, error)) *FeeMarketQueryClient_BlockGas_Call
type FeeMarketQueryClient_Expecter ¶ added in v0.7.0
type FeeMarketQueryClient_Expecter struct {
// contains filtered or unexported fields
}
func (*FeeMarketQueryClient_Expecter) BaseFee ¶ added in v0.7.0
func (_e *FeeMarketQueryClient_Expecter) BaseFee(ctx interface{}, in interface{}, opts ...interface{}) *FeeMarketQueryClient_BaseFee_Call
BaseFee is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryBaseFeeRequest
- opts ...grpc.CallOption
func (*FeeMarketQueryClient_Expecter) BlockGas ¶ added in v0.7.0
func (_e *FeeMarketQueryClient_Expecter) BlockGas(ctx interface{}, in interface{}, opts ...interface{}) *FeeMarketQueryClient_BlockGas_Call
BlockGas is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryBlockGasRequest
- opts ...grpc.CallOption
func (*FeeMarketQueryClient_Expecter) Params ¶ added in v0.7.0
func (_e *FeeMarketQueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *FeeMarketQueryClient_Params_Call
Params is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryParamsRequest
- opts ...grpc.CallOption
type FeeMarketQueryClient_Params_Call ¶ added in v0.7.0
FeeMarketQueryClient_Params_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Params'
func (*FeeMarketQueryClient_Params_Call) Return ¶ added in v0.7.0
func (_c *FeeMarketQueryClient_Params_Call) Return(_a0 *types.QueryParamsResponse, _a1 error) *FeeMarketQueryClient_Params_Call
func (*FeeMarketQueryClient_Params_Call) Run ¶ added in v0.7.0
func (_c *FeeMarketQueryClient_Params_Call) Run(run func(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption)) *FeeMarketQueryClient_Params_Call
func (*FeeMarketQueryClient_Params_Call) RunAndReturn ¶ added in v0.7.0
func (_c *FeeMarketQueryClient_Params_Call) RunAndReturn(run func(context.Context, *types.QueryParamsRequest, ...grpc.CallOption) (*types.QueryParamsResponse, error)) *FeeMarketQueryClient_Params_Call
type Mempool ¶ added in v0.7.0
Mempool is an autogenerated mock type for the Mempool type
func NewMempool ¶ added in v0.7.0
NewMempool creates a new instance of Mempool. 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 (*Mempool) EXPECT ¶ added in v0.7.0
func (_m *Mempool) EXPECT() *Mempool_Expecter
func (*Mempool) Insert ¶ added in v0.7.0
Insert provides a mock function with given fields: _a0, _a1
type Mempool_CountTx_Call ¶ added in v0.7.0
Mempool_CountTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountTx'
func (*Mempool_CountTx_Call) Return ¶ added in v0.7.0
func (_c *Mempool_CountTx_Call) Return(_a0 int) *Mempool_CountTx_Call
func (*Mempool_CountTx_Call) Run ¶ added in v0.7.0
func (_c *Mempool_CountTx_Call) Run(run func()) *Mempool_CountTx_Call
func (*Mempool_CountTx_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Mempool_CountTx_Call) RunAndReturn(run func() int) *Mempool_CountTx_Call
type Mempool_Expecter ¶ added in v0.7.0
type Mempool_Expecter struct {
// contains filtered or unexported fields
}
func (*Mempool_Expecter) CountTx ¶ added in v0.7.0
func (_e *Mempool_Expecter) CountTx() *Mempool_CountTx_Call
CountTx is a helper method to define mock.On call
func (*Mempool_Expecter) GetTxPool ¶ added in v0.7.0
func (_e *Mempool_Expecter) GetTxPool() *Mempool_GetTxPool_Call
GetTxPool is a helper method to define mock.On call
func (*Mempool_Expecter) Insert ¶ added in v0.7.0
func (_e *Mempool_Expecter) Insert(_a0 interface{}, _a1 interface{}) *Mempool_Insert_Call
Insert is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Tx
func (*Mempool_Expecter) Remove ¶ added in v0.7.0
func (_e *Mempool_Expecter) Remove(_a0 interface{}) *Mempool_Remove_Call
Remove is a helper method to define mock.On call
- _a0 types.Tx
func (*Mempool_Expecter) Select ¶ added in v0.7.0
func (_e *Mempool_Expecter) Select(_a0 interface{}, _a1 interface{}) *Mempool_Select_Call
Select is a helper method to define mock.On call
- _a0 context.Context
- _a1 [][]byte
type Mempool_GetTxPool_Call ¶ added in v0.7.0
Mempool_GetTxPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxPool'
func (*Mempool_GetTxPool_Call) Return ¶ added in v0.7.0
func (_c *Mempool_GetTxPool_Call) Return(_a0 *txpool.TxPool) *Mempool_GetTxPool_Call
func (*Mempool_GetTxPool_Call) Run ¶ added in v0.7.0
func (_c *Mempool_GetTxPool_Call) Run(run func()) *Mempool_GetTxPool_Call
func (*Mempool_GetTxPool_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Mempool_GetTxPool_Call) RunAndReturn(run func() *txpool.TxPool) *Mempool_GetTxPool_Call
type Mempool_Insert_Call ¶ added in v0.7.0
Mempool_Insert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Insert'
func (*Mempool_Insert_Call) Return ¶ added in v0.7.0
func (_c *Mempool_Insert_Call) Return(_a0 error) *Mempool_Insert_Call
func (*Mempool_Insert_Call) Run ¶ added in v0.7.0
func (_c *Mempool_Insert_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Mempool_Insert_Call
func (*Mempool_Insert_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Mempool_Insert_Call) RunAndReturn(run func(context.Context, types.Tx) error) *Mempool_Insert_Call
type Mempool_Remove_Call ¶ added in v0.7.0
Mempool_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'
func (*Mempool_Remove_Call) Return ¶ added in v0.7.0
func (_c *Mempool_Remove_Call) Return(_a0 error) *Mempool_Remove_Call
func (*Mempool_Remove_Call) Run ¶ added in v0.7.0
func (_c *Mempool_Remove_Call) Run(run func(_a0 types.Tx)) *Mempool_Remove_Call
func (*Mempool_Remove_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Mempool_Remove_Call) RunAndReturn(run func(types.Tx) error) *Mempool_Remove_Call
type Mempool_Select_Call ¶ added in v0.7.0
Mempool_Select_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Select'
func (*Mempool_Select_Call) Return ¶ added in v0.7.0
func (_c *Mempool_Select_Call) Return(_a0 mempool.Iterator) *Mempool_Select_Call
func (*Mempool_Select_Call) Run ¶ added in v0.7.0
func (_c *Mempool_Select_Call) Run(run func(_a0 context.Context, _a1 [][]byte)) *Mempool_Select_Call
func (*Mempool_Select_Call) RunAndReturn ¶ added in v0.7.0
func (_c *Mempool_Select_Call) RunAndReturn(run func(context.Context, [][]byte) mempool.Iterator) *Mempool_Select_Call