Documentation ¶
Index ¶
- type AccountRetriever
- func (_m *AccountRetriever) EXPECT() *AccountRetriever_Expecter
- func (_m *AccountRetriever) EnsureExists(clientCtx client.Context, addr types.AccAddress) error
- func (_m *AccountRetriever) GetAccount(clientCtx client.Context, addr types.AccAddress) (client.Account, error)
- func (_m *AccountRetriever) GetAccountNumberSequence(clientCtx client.Context, addr types.AccAddress) (uint64, uint64, error)
- func (_m *AccountRetriever) GetAccountWithHeight(clientCtx client.Context, addr types.AccAddress) (client.Account, int64, error)
- type AccountRetriever_EnsureExists_Call
- type AccountRetriever_Expecter
- func (_e *AccountRetriever_Expecter) EnsureExists(clientCtx interface{}, addr interface{}) *AccountRetriever_EnsureExists_Call
- func (_e *AccountRetriever_Expecter) GetAccount(clientCtx interface{}, addr interface{}) *AccountRetriever_GetAccount_Call
- func (_e *AccountRetriever_Expecter) GetAccountNumberSequence(clientCtx interface{}, addr interface{}) *AccountRetriever_GetAccountNumberSequence_Call
- func (_e *AccountRetriever_Expecter) GetAccountWithHeight(clientCtx interface{}, addr interface{}) *AccountRetriever_GetAccountWithHeight_Call
- type AccountRetriever_GetAccountNumberSequence_Call
- func (_c *AccountRetriever_GetAccountNumberSequence_Call) Return(accNum uint64, accSeq uint64, err error) *AccountRetriever_GetAccountNumberSequence_Call
- func (_c *AccountRetriever_GetAccountNumberSequence_Call) Run(run func(clientCtx client.Context, addr types.AccAddress)) *AccountRetriever_GetAccountNumberSequence_Call
- type AccountRetriever_GetAccountWithHeight_Call
- func (_c *AccountRetriever_GetAccountWithHeight_Call) Return(_a0 client.Account, _a1 int64, _a2 error) *AccountRetriever_GetAccountWithHeight_Call
- func (_c *AccountRetriever_GetAccountWithHeight_Call) Run(run func(clientCtx client.Context, addr types.AccAddress)) *AccountRetriever_GetAccountWithHeight_Call
- type AccountRetriever_GetAccount_Call
- type BankQueryClient
- func (_m *BankQueryClient) AllBalances(ctx context.Context, in *types.QueryAllBalancesRequest, ...) (*types.QueryAllBalancesResponse, error)
- func (_m *BankQueryClient) Balance(ctx context.Context, in *types.QueryBalanceRequest, opts ...grpc.CallOption) (*types.QueryBalanceResponse, error)
- func (_m *BankQueryClient) DenomMetadata(ctx context.Context, in *types.QueryDenomMetadataRequest, ...) (*types.QueryDenomMetadataResponse, error)
- func (_m *BankQueryClient) DenomOwners(ctx context.Context, in *types.QueryDenomOwnersRequest, ...) (*types.QueryDenomOwnersResponse, error)
- func (_m *BankQueryClient) DenomsMetadata(ctx context.Context, in *types.QueryDenomsMetadataRequest, ...) (*types.QueryDenomsMetadataResponse, error)
- func (_m *BankQueryClient) EXPECT() *BankQueryClient_Expecter
- func (_m *BankQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- func (_m *BankQueryClient) SpendableBalances(ctx context.Context, in *types.QuerySpendableBalancesRequest, ...) (*types.QuerySpendableBalancesResponse, error)
- func (_m *BankQueryClient) SupplyOf(ctx context.Context, in *types.QuerySupplyOfRequest, opts ...grpc.CallOption) (*types.QuerySupplyOfResponse, error)
- func (_m *BankQueryClient) TotalSupply(ctx context.Context, in *types.QueryTotalSupplyRequest, ...) (*types.QueryTotalSupplyResponse, error)
- type BankQueryClient_AllBalances_Call
- type BankQueryClient_Balance_Call
- type BankQueryClient_DenomMetadata_Call
- type BankQueryClient_DenomOwners_Call
- type BankQueryClient_DenomsMetadata_Call
- func (_c *BankQueryClient_DenomsMetadata_Call) Return(_a0 *types.QueryDenomsMetadataResponse, _a1 error) *BankQueryClient_DenomsMetadata_Call
- func (_c *BankQueryClient_DenomsMetadata_Call) Run(run func(ctx context.Context, in *types.QueryDenomsMetadataRequest, ...)) *BankQueryClient_DenomsMetadata_Call
- type BankQueryClient_Expecter
- func (_e *BankQueryClient_Expecter) AllBalances(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_AllBalances_Call
- func (_e *BankQueryClient_Expecter) Balance(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_Balance_Call
- func (_e *BankQueryClient_Expecter) DenomMetadata(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_DenomMetadata_Call
- func (_e *BankQueryClient_Expecter) DenomOwners(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_DenomOwners_Call
- func (_e *BankQueryClient_Expecter) DenomsMetadata(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_DenomsMetadata_Call
- func (_e *BankQueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_Params_Call
- func (_e *BankQueryClient_Expecter) SpendableBalances(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_SpendableBalances_Call
- func (_e *BankQueryClient_Expecter) SupplyOf(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_SupplyOf_Call
- func (_e *BankQueryClient_Expecter) TotalSupply(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_TotalSupply_Call
- type BankQueryClient_Params_Call
- type BankQueryClient_SpendableBalances_Call
- func (_c *BankQueryClient_SpendableBalances_Call) Return(_a0 *types.QuerySpendableBalancesResponse, _a1 error) *BankQueryClient_SpendableBalances_Call
- func (_c *BankQueryClient_SpendableBalances_Call) Run(run func(ctx context.Context, in *types.QuerySpendableBalancesRequest, ...)) *BankQueryClient_SpendableBalances_Call
- type BankQueryClient_SupplyOf_Call
- type BankQueryClient_TotalSupply_Call
- type FaucetClient
- type FaucetClient_Expecter
- type FaucetClient_Transfer_Call
- type Gasometer
- type Gasometer_CalculateGas_Call
- type Gasometer_Expecter
- type RPCClient
- func (_m *RPCClient) ABCIInfo(_a0 context.Context) (*coretypes.ResultABCIInfo, error)
- func (_m *RPCClient) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
- func (_m *RPCClient) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*coretypes.ResultABCIQuery, error)
- func (_m *RPCClient) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
- func (_m *RPCClient) BlockByHash(ctx context.Context, hash []byte) (*coretypes.ResultBlock, error)
- func (_m *RPCClient) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
- func (_m *RPCClient) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
- func (_m *RPCClient) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
- func (_m *RPCClient) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
- func (_m *RPCClient) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *RPCClient) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
- func (_m *RPCClient) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *RPCClient) CheckTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultCheckTx, error)
- func (_m *RPCClient) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
- func (_m *RPCClient) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
- func (_m *RPCClient) ConsensusState(_a0 context.Context) (*coretypes.ResultConsensusState, error)
- func (_m *RPCClient) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
- func (_m *RPCClient) EXPECT() *RPCClient_Expecter
- func (_m *RPCClient) Genesis(_a0 context.Context) (*coretypes.ResultGenesis, error)
- func (_m *RPCClient) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
- func (_m *RPCClient) Health(_a0 context.Context) (*coretypes.ResultHealth, error)
- func (_m *RPCClient) IsRunning() bool
- func (_m *RPCClient) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)
- func (_m *RPCClient) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *RPCClient) OnReset() error
- func (_m *RPCClient) OnStart() error
- func (_m *RPCClient) OnStop()
- func (_m *RPCClient) Quit() <-chan struct{}
- func (_m *RPCClient) Reset() error
- func (_m *RPCClient) SetLogger(_a0 log.Logger)
- func (_m *RPCClient) Start() error
- func (_m *RPCClient) Status(_a0 context.Context) (*coretypes.ResultStatus, error)
- func (_m *RPCClient) Stop() error
- func (_m *RPCClient) String() string
- func (_m *RPCClient) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
- func (_m *RPCClient) Tx(ctx context.Context, hash []byte, prove bool) (*coretypes.ResultTx, error)
- func (_m *RPCClient) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, ...) (*coretypes.ResultTxSearch, error)
- func (_m *RPCClient) UnconfirmedTxs(ctx context.Context, limit *int) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *RPCClient) Unsubscribe(ctx context.Context, subscriber string, query string) error
- func (_m *RPCClient) UnsubscribeAll(ctx context.Context, subscriber string) error
- func (_m *RPCClient) Validators(ctx context.Context, height *int64, page *int, perPage *int) (*coretypes.ResultValidators, error)
- type RPCClient_ABCIInfo_Call
- type RPCClient_ABCIQueryWithOptions_Call
- type RPCClient_ABCIQuery_Call
- type RPCClient_BlockByHash_Call
- type RPCClient_BlockResults_Call
- type RPCClient_BlockSearch_Call
- type RPCClient_Block_Call
- type RPCClient_BlockchainInfo_Call
- type RPCClient_BroadcastEvidence_Call
- type RPCClient_BroadcastTxAsync_Call
- type RPCClient_BroadcastTxCommit_Call
- type RPCClient_BroadcastTxSync_Call
- type RPCClient_CheckTx_Call
- type RPCClient_Commit_Call
- type RPCClient_ConsensusParams_Call
- type RPCClient_ConsensusState_Call
- type RPCClient_DumpConsensusState_Call
- type RPCClient_Expecter
- func (_e *RPCClient_Expecter) ABCIInfo(_a0 interface{}) *RPCClient_ABCIInfo_Call
- func (_e *RPCClient_Expecter) ABCIQuery(ctx interface{}, path interface{}, data interface{}) *RPCClient_ABCIQuery_Call
- func (_e *RPCClient_Expecter) ABCIQueryWithOptions(ctx interface{}, path interface{}, data interface{}, opts interface{}) *RPCClient_ABCIQueryWithOptions_Call
- func (_e *RPCClient_Expecter) Block(ctx interface{}, height interface{}) *RPCClient_Block_Call
- func (_e *RPCClient_Expecter) BlockByHash(ctx interface{}, hash interface{}) *RPCClient_BlockByHash_Call
- func (_e *RPCClient_Expecter) BlockResults(ctx interface{}, height interface{}) *RPCClient_BlockResults_Call
- func (_e *RPCClient_Expecter) BlockSearch(ctx interface{}, query interface{}, page interface{}, perPage interface{}, ...) *RPCClient_BlockSearch_Call
- func (_e *RPCClient_Expecter) BlockchainInfo(ctx interface{}, minHeight interface{}, maxHeight interface{}) *RPCClient_BlockchainInfo_Call
- func (_e *RPCClient_Expecter) BroadcastEvidence(_a0 interface{}, _a1 interface{}) *RPCClient_BroadcastEvidence_Call
- func (_e *RPCClient_Expecter) BroadcastTxAsync(_a0 interface{}, _a1 interface{}) *RPCClient_BroadcastTxAsync_Call
- func (_e *RPCClient_Expecter) BroadcastTxCommit(_a0 interface{}, _a1 interface{}) *RPCClient_BroadcastTxCommit_Call
- func (_e *RPCClient_Expecter) BroadcastTxSync(_a0 interface{}, _a1 interface{}) *RPCClient_BroadcastTxSync_Call
- func (_e *RPCClient_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *RPCClient_CheckTx_Call
- func (_e *RPCClient_Expecter) Commit(ctx interface{}, height interface{}) *RPCClient_Commit_Call
- func (_e *RPCClient_Expecter) ConsensusParams(ctx interface{}, height interface{}) *RPCClient_ConsensusParams_Call
- func (_e *RPCClient_Expecter) ConsensusState(_a0 interface{}) *RPCClient_ConsensusState_Call
- func (_e *RPCClient_Expecter) DumpConsensusState(_a0 interface{}) *RPCClient_DumpConsensusState_Call
- func (_e *RPCClient_Expecter) Genesis(_a0 interface{}) *RPCClient_Genesis_Call
- func (_e *RPCClient_Expecter) GenesisChunked(_a0 interface{}, _a1 interface{}) *RPCClient_GenesisChunked_Call
- func (_e *RPCClient_Expecter) Health(_a0 interface{}) *RPCClient_Health_Call
- func (_e *RPCClient_Expecter) IsRunning() *RPCClient_IsRunning_Call
- func (_e *RPCClient_Expecter) NetInfo(_a0 interface{}) *RPCClient_NetInfo_Call
- func (_e *RPCClient_Expecter) NumUnconfirmedTxs(_a0 interface{}) *RPCClient_NumUnconfirmedTxs_Call
- func (_e *RPCClient_Expecter) OnReset() *RPCClient_OnReset_Call
- func (_e *RPCClient_Expecter) OnStart() *RPCClient_OnStart_Call
- func (_e *RPCClient_Expecter) OnStop() *RPCClient_OnStop_Call
- func (_e *RPCClient_Expecter) Quit() *RPCClient_Quit_Call
- func (_e *RPCClient_Expecter) Reset() *RPCClient_Reset_Call
- func (_e *RPCClient_Expecter) SetLogger(_a0 interface{}) *RPCClient_SetLogger_Call
- func (_e *RPCClient_Expecter) Start() *RPCClient_Start_Call
- func (_e *RPCClient_Expecter) Status(_a0 interface{}) *RPCClient_Status_Call
- func (_e *RPCClient_Expecter) Stop() *RPCClient_Stop_Call
- func (_e *RPCClient_Expecter) String() *RPCClient_String_Call
- func (_e *RPCClient_Expecter) Subscribe(ctx interface{}, subscriber interface{}, query interface{}, ...) *RPCClient_Subscribe_Call
- func (_e *RPCClient_Expecter) Tx(ctx interface{}, hash interface{}, prove interface{}) *RPCClient_Tx_Call
- func (_e *RPCClient_Expecter) TxSearch(ctx interface{}, query interface{}, prove interface{}, page interface{}, ...) *RPCClient_TxSearch_Call
- func (_e *RPCClient_Expecter) UnconfirmedTxs(ctx interface{}, limit interface{}) *RPCClient_UnconfirmedTxs_Call
- func (_e *RPCClient_Expecter) Unsubscribe(ctx interface{}, subscriber interface{}, query interface{}) *RPCClient_Unsubscribe_Call
- func (_e *RPCClient_Expecter) UnsubscribeAll(ctx interface{}, subscriber interface{}) *RPCClient_UnsubscribeAll_Call
- func (_e *RPCClient_Expecter) Validators(ctx interface{}, height interface{}, page interface{}, perPage interface{}) *RPCClient_Validators_Call
- type RPCClient_GenesisChunked_Call
- type RPCClient_Genesis_Call
- type RPCClient_Health_Call
- type RPCClient_IsRunning_Call
- type RPCClient_NetInfo_Call
- type RPCClient_NumUnconfirmedTxs_Call
- type RPCClient_OnReset_Call
- type RPCClient_OnStart_Call
- type RPCClient_OnStop_Call
- type RPCClient_Quit_Call
- type RPCClient_Reset_Call
- type RPCClient_SetLogger_Call
- type RPCClient_Start_Call
- type RPCClient_Status_Call
- type RPCClient_Stop_Call
- type RPCClient_String_Call
- type RPCClient_Subscribe_Call
- type RPCClient_TxSearch_Call
- type RPCClient_Tx_Call
- type RPCClient_UnconfirmedTxs_Call
- type RPCClient_UnsubscribeAll_Call
- type RPCClient_Unsubscribe_Call
- type RPCClient_Validators_Call
- type Signer
- type Signer_Expecter
- type Signer_Sign_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRetriever ¶
AccountRetriever is an autogenerated mock type for the AccountRetriever type
func NewAccountRetriever ¶
func NewAccountRetriever(t mockConstructorTestingTNewAccountRetriever) *AccountRetriever
NewAccountRetriever creates a new instance of AccountRetriever. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AccountRetriever) EXPECT ¶
func (_m *AccountRetriever) EXPECT() *AccountRetriever_Expecter
func (*AccountRetriever) EnsureExists ¶
func (_m *AccountRetriever) EnsureExists(clientCtx client.Context, addr types.AccAddress) error
EnsureExists provides a mock function with given fields: clientCtx, addr
func (*AccountRetriever) GetAccount ¶
func (_m *AccountRetriever) GetAccount(clientCtx client.Context, addr types.AccAddress) (client.Account, error)
GetAccount provides a mock function with given fields: clientCtx, addr
func (*AccountRetriever) GetAccountNumberSequence ¶
func (_m *AccountRetriever) GetAccountNumberSequence(clientCtx client.Context, addr types.AccAddress) (uint64, uint64, error)
GetAccountNumberSequence provides a mock function with given fields: clientCtx, addr
func (*AccountRetriever) GetAccountWithHeight ¶
func (_m *AccountRetriever) GetAccountWithHeight(clientCtx client.Context, addr types.AccAddress) (client.Account, int64, error)
GetAccountWithHeight provides a mock function with given fields: clientCtx, addr
type AccountRetriever_EnsureExists_Call ¶
AccountRetriever_EnsureExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureExists'
func (*AccountRetriever_EnsureExists_Call) Return ¶
func (_c *AccountRetriever_EnsureExists_Call) Return(_a0 error) *AccountRetriever_EnsureExists_Call
func (*AccountRetriever_EnsureExists_Call) Run ¶
func (_c *AccountRetriever_EnsureExists_Call) Run(run func(clientCtx client.Context, addr types.AccAddress)) *AccountRetriever_EnsureExists_Call
type AccountRetriever_Expecter ¶
type AccountRetriever_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountRetriever_Expecter) EnsureExists ¶
func (_e *AccountRetriever_Expecter) EnsureExists(clientCtx interface{}, addr interface{}) *AccountRetriever_EnsureExists_Call
EnsureExists is a helper method to define mock.On call
- clientCtx client.Context
- addr types.AccAddress
func (*AccountRetriever_Expecter) GetAccount ¶
func (_e *AccountRetriever_Expecter) GetAccount(clientCtx interface{}, addr interface{}) *AccountRetriever_GetAccount_Call
GetAccount is a helper method to define mock.On call
- clientCtx client.Context
- addr types.AccAddress
func (*AccountRetriever_Expecter) GetAccountNumberSequence ¶
func (_e *AccountRetriever_Expecter) GetAccountNumberSequence(clientCtx interface{}, addr interface{}) *AccountRetriever_GetAccountNumberSequence_Call
GetAccountNumberSequence is a helper method to define mock.On call
- clientCtx client.Context
- addr types.AccAddress
func (*AccountRetriever_Expecter) GetAccountWithHeight ¶
func (_e *AccountRetriever_Expecter) GetAccountWithHeight(clientCtx interface{}, addr interface{}) *AccountRetriever_GetAccountWithHeight_Call
GetAccountWithHeight is a helper method to define mock.On call
- clientCtx client.Context
- addr types.AccAddress
type AccountRetriever_GetAccountNumberSequence_Call ¶
AccountRetriever_GetAccountNumberSequence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountNumberSequence'
func (*AccountRetriever_GetAccountNumberSequence_Call) Return ¶
func (_c *AccountRetriever_GetAccountNumberSequence_Call) Return(accNum uint64, accSeq uint64, err error) *AccountRetriever_GetAccountNumberSequence_Call
func (*AccountRetriever_GetAccountNumberSequence_Call) Run ¶
func (_c *AccountRetriever_GetAccountNumberSequence_Call) Run(run func(clientCtx client.Context, addr types.AccAddress)) *AccountRetriever_GetAccountNumberSequence_Call
type AccountRetriever_GetAccountWithHeight_Call ¶
AccountRetriever_GetAccountWithHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountWithHeight'
func (*AccountRetriever_GetAccountWithHeight_Call) Return ¶
func (_c *AccountRetriever_GetAccountWithHeight_Call) Return(_a0 client.Account, _a1 int64, _a2 error) *AccountRetriever_GetAccountWithHeight_Call
func (*AccountRetriever_GetAccountWithHeight_Call) Run ¶
func (_c *AccountRetriever_GetAccountWithHeight_Call) Run(run func(clientCtx client.Context, addr types.AccAddress)) *AccountRetriever_GetAccountWithHeight_Call
type AccountRetriever_GetAccount_Call ¶
AccountRetriever_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'
func (*AccountRetriever_GetAccount_Call) Return ¶
func (_c *AccountRetriever_GetAccount_Call) Return(_a0 client.Account, _a1 error) *AccountRetriever_GetAccount_Call
func (*AccountRetriever_GetAccount_Call) Run ¶
func (_c *AccountRetriever_GetAccount_Call) Run(run func(clientCtx client.Context, addr types.AccAddress)) *AccountRetriever_GetAccount_Call
type BankQueryClient ¶
BankQueryClient is an autogenerated mock type for the QueryClient type
func NewBankQueryClient ¶
func NewBankQueryClient(t mockConstructorTestingTNewBankQueryClient) *BankQueryClient
NewBankQueryClient creates a new instance of BankQueryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BankQueryClient) AllBalances ¶
func (_m *BankQueryClient) AllBalances(ctx context.Context, in *types.QueryAllBalancesRequest, opts ...grpc.CallOption) (*types.QueryAllBalancesResponse, error)
AllBalances provides a mock function with given fields: ctx, in, opts
func (*BankQueryClient) Balance ¶
func (_m *BankQueryClient) 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 (*BankQueryClient) DenomMetadata ¶
func (_m *BankQueryClient) DenomMetadata(ctx context.Context, in *types.QueryDenomMetadataRequest, opts ...grpc.CallOption) (*types.QueryDenomMetadataResponse, error)
DenomMetadata provides a mock function with given fields: ctx, in, opts
func (*BankQueryClient) DenomOwners ¶
func (_m *BankQueryClient) DenomOwners(ctx context.Context, in *types.QueryDenomOwnersRequest, opts ...grpc.CallOption) (*types.QueryDenomOwnersResponse, error)
DenomOwners provides a mock function with given fields: ctx, in, opts
func (*BankQueryClient) DenomsMetadata ¶
func (_m *BankQueryClient) DenomsMetadata(ctx context.Context, in *types.QueryDenomsMetadataRequest, opts ...grpc.CallOption) (*types.QueryDenomsMetadataResponse, error)
DenomsMetadata provides a mock function with given fields: ctx, in, opts
func (*BankQueryClient) EXPECT ¶
func (_m *BankQueryClient) EXPECT() *BankQueryClient_Expecter
func (*BankQueryClient) Params ¶
func (_m *BankQueryClient) 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 (*BankQueryClient) SpendableBalances ¶
func (_m *BankQueryClient) SpendableBalances(ctx context.Context, in *types.QuerySpendableBalancesRequest, opts ...grpc.CallOption) (*types.QuerySpendableBalancesResponse, error)
SpendableBalances provides a mock function with given fields: ctx, in, opts
func (*BankQueryClient) SupplyOf ¶
func (_m *BankQueryClient) SupplyOf(ctx context.Context, in *types.QuerySupplyOfRequest, opts ...grpc.CallOption) (*types.QuerySupplyOfResponse, error)
SupplyOf provides a mock function with given fields: ctx, in, opts
func (*BankQueryClient) TotalSupply ¶
func (_m *BankQueryClient) TotalSupply(ctx context.Context, in *types.QueryTotalSupplyRequest, opts ...grpc.CallOption) (*types.QueryTotalSupplyResponse, error)
TotalSupply provides a mock function with given fields: ctx, in, opts
type BankQueryClient_AllBalances_Call ¶
BankQueryClient_AllBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllBalances'
func (*BankQueryClient_AllBalances_Call) Return ¶
func (_c *BankQueryClient_AllBalances_Call) Return(_a0 *types.QueryAllBalancesResponse, _a1 error) *BankQueryClient_AllBalances_Call
func (*BankQueryClient_AllBalances_Call) Run ¶
func (_c *BankQueryClient_AllBalances_Call) Run(run func(ctx context.Context, in *types.QueryAllBalancesRequest, opts ...grpc.CallOption)) *BankQueryClient_AllBalances_Call
type BankQueryClient_Balance_Call ¶
BankQueryClient_Balance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Balance'
func (*BankQueryClient_Balance_Call) Return ¶
func (_c *BankQueryClient_Balance_Call) Return(_a0 *types.QueryBalanceResponse, _a1 error) *BankQueryClient_Balance_Call
func (*BankQueryClient_Balance_Call) Run ¶
func (_c *BankQueryClient_Balance_Call) Run(run func(ctx context.Context, in *types.QueryBalanceRequest, opts ...grpc.CallOption)) *BankQueryClient_Balance_Call
type BankQueryClient_DenomMetadata_Call ¶
BankQueryClient_DenomMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DenomMetadata'
func (*BankQueryClient_DenomMetadata_Call) Return ¶
func (_c *BankQueryClient_DenomMetadata_Call) Return(_a0 *types.QueryDenomMetadataResponse, _a1 error) *BankQueryClient_DenomMetadata_Call
func (*BankQueryClient_DenomMetadata_Call) Run ¶
func (_c *BankQueryClient_DenomMetadata_Call) Run(run func(ctx context.Context, in *types.QueryDenomMetadataRequest, opts ...grpc.CallOption)) *BankQueryClient_DenomMetadata_Call
type BankQueryClient_DenomOwners_Call ¶
BankQueryClient_DenomOwners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DenomOwners'
func (*BankQueryClient_DenomOwners_Call) Return ¶
func (_c *BankQueryClient_DenomOwners_Call) Return(_a0 *types.QueryDenomOwnersResponse, _a1 error) *BankQueryClient_DenomOwners_Call
func (*BankQueryClient_DenomOwners_Call) Run ¶
func (_c *BankQueryClient_DenomOwners_Call) Run(run func(ctx context.Context, in *types.QueryDenomOwnersRequest, opts ...grpc.CallOption)) *BankQueryClient_DenomOwners_Call
type BankQueryClient_DenomsMetadata_Call ¶
BankQueryClient_DenomsMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DenomsMetadata'
func (*BankQueryClient_DenomsMetadata_Call) Return ¶
func (_c *BankQueryClient_DenomsMetadata_Call) Return(_a0 *types.QueryDenomsMetadataResponse, _a1 error) *BankQueryClient_DenomsMetadata_Call
func (*BankQueryClient_DenomsMetadata_Call) Run ¶
func (_c *BankQueryClient_DenomsMetadata_Call) Run(run func(ctx context.Context, in *types.QueryDenomsMetadataRequest, opts ...grpc.CallOption)) *BankQueryClient_DenomsMetadata_Call
type BankQueryClient_Expecter ¶
type BankQueryClient_Expecter struct {
// contains filtered or unexported fields
}
func (*BankQueryClient_Expecter) AllBalances ¶
func (_e *BankQueryClient_Expecter) AllBalances(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_AllBalances_Call
AllBalances is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryAllBalancesRequest
- opts ...grpc.CallOption
func (*BankQueryClient_Expecter) Balance ¶
func (_e *BankQueryClient_Expecter) Balance(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_Balance_Call
Balance is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryBalanceRequest
- opts ...grpc.CallOption
func (*BankQueryClient_Expecter) DenomMetadata ¶
func (_e *BankQueryClient_Expecter) DenomMetadata(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_DenomMetadata_Call
DenomMetadata is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryDenomMetadataRequest
- opts ...grpc.CallOption
func (*BankQueryClient_Expecter) DenomOwners ¶
func (_e *BankQueryClient_Expecter) DenomOwners(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_DenomOwners_Call
DenomOwners is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryDenomOwnersRequest
- opts ...grpc.CallOption
func (*BankQueryClient_Expecter) DenomsMetadata ¶
func (_e *BankQueryClient_Expecter) DenomsMetadata(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_DenomsMetadata_Call
DenomsMetadata is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryDenomsMetadataRequest
- opts ...grpc.CallOption
func (*BankQueryClient_Expecter) Params ¶
func (_e *BankQueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_Params_Call
Params is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryParamsRequest
- opts ...grpc.CallOption
func (*BankQueryClient_Expecter) SpendableBalances ¶
func (_e *BankQueryClient_Expecter) SpendableBalances(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_SpendableBalances_Call
SpendableBalances is a helper method to define mock.On call
- ctx context.Context
- in *types.QuerySpendableBalancesRequest
- opts ...grpc.CallOption
func (*BankQueryClient_Expecter) SupplyOf ¶
func (_e *BankQueryClient_Expecter) SupplyOf(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_SupplyOf_Call
SupplyOf is a helper method to define mock.On call
- ctx context.Context
- in *types.QuerySupplyOfRequest
- opts ...grpc.CallOption
func (*BankQueryClient_Expecter) TotalSupply ¶
func (_e *BankQueryClient_Expecter) TotalSupply(ctx interface{}, in interface{}, opts ...interface{}) *BankQueryClient_TotalSupply_Call
TotalSupply is a helper method to define mock.On call
- ctx context.Context
- in *types.QueryTotalSupplyRequest
- opts ...grpc.CallOption
type BankQueryClient_Params_Call ¶
BankQueryClient_Params_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Params'
func (*BankQueryClient_Params_Call) Return ¶
func (_c *BankQueryClient_Params_Call) Return(_a0 *types.QueryParamsResponse, _a1 error) *BankQueryClient_Params_Call
func (*BankQueryClient_Params_Call) Run ¶
func (_c *BankQueryClient_Params_Call) Run(run func(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption)) *BankQueryClient_Params_Call
type BankQueryClient_SpendableBalances_Call ¶
BankQueryClient_SpendableBalances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SpendableBalances'
func (*BankQueryClient_SpendableBalances_Call) Return ¶
func (_c *BankQueryClient_SpendableBalances_Call) Return(_a0 *types.QuerySpendableBalancesResponse, _a1 error) *BankQueryClient_SpendableBalances_Call
func (*BankQueryClient_SpendableBalances_Call) Run ¶
func (_c *BankQueryClient_SpendableBalances_Call) Run(run func(ctx context.Context, in *types.QuerySpendableBalancesRequest, opts ...grpc.CallOption)) *BankQueryClient_SpendableBalances_Call
type BankQueryClient_SupplyOf_Call ¶
BankQueryClient_SupplyOf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SupplyOf'
func (*BankQueryClient_SupplyOf_Call) Return ¶
func (_c *BankQueryClient_SupplyOf_Call) Return(_a0 *types.QuerySupplyOfResponse, _a1 error) *BankQueryClient_SupplyOf_Call
func (*BankQueryClient_SupplyOf_Call) Run ¶
func (_c *BankQueryClient_SupplyOf_Call) Run(run func(ctx context.Context, in *types.QuerySupplyOfRequest, opts ...grpc.CallOption)) *BankQueryClient_SupplyOf_Call
type BankQueryClient_TotalSupply_Call ¶
BankQueryClient_TotalSupply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TotalSupply'
func (*BankQueryClient_TotalSupply_Call) Return ¶
func (_c *BankQueryClient_TotalSupply_Call) Return(_a0 *types.QueryTotalSupplyResponse, _a1 error) *BankQueryClient_TotalSupply_Call
func (*BankQueryClient_TotalSupply_Call) Run ¶
func (_c *BankQueryClient_TotalSupply_Call) Run(run func(ctx context.Context, in *types.QueryTotalSupplyRequest, opts ...grpc.CallOption)) *BankQueryClient_TotalSupply_Call
type FaucetClient ¶
FaucetClient is an autogenerated mock type for the FaucetClient type
func NewFaucetClient ¶
func NewFaucetClient(t mockConstructorTestingTNewFaucetClient) *FaucetClient
NewFaucetClient creates a new instance of FaucetClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FaucetClient) EXPECT ¶
func (_m *FaucetClient) EXPECT() *FaucetClient_Expecter
func (*FaucetClient) Transfer ¶
func (_m *FaucetClient) Transfer(_a0 context.Context, _a1 cosmosfaucet.TransferRequest) (cosmosfaucet.TransferResponse, error)
Transfer provides a mock function with given fields: _a0, _a1
type FaucetClient_Expecter ¶
type FaucetClient_Expecter struct {
// contains filtered or unexported fields
}
func (*FaucetClient_Expecter) Transfer ¶
func (_e *FaucetClient_Expecter) Transfer(_a0 interface{}, _a1 interface{}) *FaucetClient_Transfer_Call
Transfer is a helper method to define mock.On call
- _a0 context.Context
- _a1 cosmosfaucet.TransferRequest
type FaucetClient_Transfer_Call ¶
FaucetClient_Transfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transfer'
func (*FaucetClient_Transfer_Call) Return ¶
func (_c *FaucetClient_Transfer_Call) Return(_a0 cosmosfaucet.TransferResponse, _a1 error) *FaucetClient_Transfer_Call
func (*FaucetClient_Transfer_Call) Run ¶
func (_c *FaucetClient_Transfer_Call) Run(run func(_a0 context.Context, _a1 cosmosfaucet.TransferRequest)) *FaucetClient_Transfer_Call
type Gasometer ¶
Gasometer is an autogenerated mock type for the Gasometer type
func NewGasometer ¶
func NewGasometer(t mockConstructorTestingTNewGasometer) *Gasometer
NewGasometer creates a new instance of Gasometer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Gasometer) CalculateGas ¶
func (_m *Gasometer) CalculateGas(clientCtx grpc.ClientConn, txf tx.Factory, msgs ...types.Msg) (*typestx.SimulateResponse, uint64, error)
CalculateGas provides a mock function with given fields: clientCtx, txf, msgs
func (*Gasometer) EXPECT ¶
func (_m *Gasometer) EXPECT() *Gasometer_Expecter
type Gasometer_CalculateGas_Call ¶
Gasometer_CalculateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CalculateGas'
func (*Gasometer_CalculateGas_Call) Return ¶
func (_c *Gasometer_CalculateGas_Call) Return(_a0 *typestx.SimulateResponse, _a1 uint64, _a2 error) *Gasometer_CalculateGas_Call
func (*Gasometer_CalculateGas_Call) Run ¶
func (_c *Gasometer_CalculateGas_Call) Run(run func(clientCtx grpc.ClientConn, txf tx.Factory, msgs ...types.Msg)) *Gasometer_CalculateGas_Call
type Gasometer_Expecter ¶
type Gasometer_Expecter struct {
// contains filtered or unexported fields
}
func (*Gasometer_Expecter) CalculateGas ¶
func (_e *Gasometer_Expecter) CalculateGas(clientCtx interface{}, txf interface{}, msgs ...interface{}) *Gasometer_CalculateGas_Call
CalculateGas is a helper method to define mock.On call
- clientCtx grpc.ClientConn
- txf tx.Factory
- msgs ...types.Msg
type RPCClient ¶
RPCClient is an autogenerated mock type for the Client type
func NewRPCClient ¶
func NewRPCClient(t mockConstructorTestingTNewRPCClient) *RPCClient
NewRPCClient creates a new instance of RPCClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RPCClient) ABCIQuery ¶
func (_m *RPCClient) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
ABCIQuery provides a mock function with given fields: ctx, path, data
func (*RPCClient) ABCIQueryWithOptions ¶
func (_m *RPCClient) 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 (*RPCClient) BlockByHash ¶
BlockByHash provides a mock function with given fields: ctx, hash
func (*RPCClient) BlockResults ¶
func (_m *RPCClient) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
BlockResults provides a mock function with given fields: ctx, height
func (*RPCClient) BlockSearch ¶
func (_m *RPCClient) 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 (*RPCClient) BlockchainInfo ¶
func (_m *RPCClient) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
BlockchainInfo provides a mock function with given fields: ctx, minHeight, maxHeight
func (*RPCClient) BroadcastEvidence ¶
func (_m *RPCClient) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
BroadcastEvidence provides a mock function with given fields: _a0, _a1
func (*RPCClient) BroadcastTxAsync ¶
func (_m *RPCClient) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxAsync provides a mock function with given fields: _a0, _a1
func (*RPCClient) BroadcastTxCommit ¶
func (_m *RPCClient) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
BroadcastTxCommit provides a mock function with given fields: _a0, _a1
func (*RPCClient) BroadcastTxSync ¶
func (_m *RPCClient) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxSync provides a mock function with given fields: _a0, _a1
func (*RPCClient) ConsensusParams ¶
func (_m *RPCClient) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
ConsensusParams provides a mock function with given fields: ctx, height
func (*RPCClient) ConsensusState ¶
ConsensusState provides a mock function with given fields: _a0
func (*RPCClient) DumpConsensusState ¶
func (_m *RPCClient) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
DumpConsensusState provides a mock function with given fields: _a0
func (*RPCClient) EXPECT ¶
func (_m *RPCClient) EXPECT() *RPCClient_Expecter
func (*RPCClient) GenesisChunked ¶
func (_m *RPCClient) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
GenesisChunked provides a mock function with given fields: _a0, _a1
func (*RPCClient) NumUnconfirmedTxs ¶
func (_m *RPCClient) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
NumUnconfirmedTxs provides a mock function with given fields: _a0
func (*RPCClient) OnStop ¶
func (_m *RPCClient) OnStop()
OnStop provides a mock function with given fields:
func (*RPCClient) Quit ¶
func (_m *RPCClient) Quit() <-chan struct{}
Quit provides a mock function with given fields:
func (*RPCClient) Subscribe ¶
func (_m *RPCClient) 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 (*RPCClient) TxSearch ¶
func (_m *RPCClient) 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 (*RPCClient) UnconfirmedTxs ¶
func (_m *RPCClient) UnconfirmedTxs(ctx context.Context, limit *int) (*coretypes.ResultUnconfirmedTxs, error)
UnconfirmedTxs provides a mock function with given fields: ctx, limit
func (*RPCClient) Unsubscribe ¶
Unsubscribe provides a mock function with given fields: ctx, subscriber, query
func (*RPCClient) UnsubscribeAll ¶
UnsubscribeAll provides a mock function with given fields: ctx, subscriber
type RPCClient_ABCIInfo_Call ¶
RPCClient_ABCIInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIInfo'
func (*RPCClient_ABCIInfo_Call) Return ¶
func (_c *RPCClient_ABCIInfo_Call) Return(_a0 *coretypes.ResultABCIInfo, _a1 error) *RPCClient_ABCIInfo_Call
func (*RPCClient_ABCIInfo_Call) Run ¶
func (_c *RPCClient_ABCIInfo_Call) Run(run func(_a0 context.Context)) *RPCClient_ABCIInfo_Call
type RPCClient_ABCIQueryWithOptions_Call ¶
RPCClient_ABCIQueryWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIQueryWithOptions'
func (*RPCClient_ABCIQueryWithOptions_Call) Return ¶
func (_c *RPCClient_ABCIQueryWithOptions_Call) Return(_a0 *coretypes.ResultABCIQuery, _a1 error) *RPCClient_ABCIQueryWithOptions_Call
func (*RPCClient_ABCIQueryWithOptions_Call) Run ¶
func (_c *RPCClient_ABCIQueryWithOptions_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions)) *RPCClient_ABCIQueryWithOptions_Call
type RPCClient_ABCIQuery_Call ¶
RPCClient_ABCIQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIQuery'
func (*RPCClient_ABCIQuery_Call) Return ¶
func (_c *RPCClient_ABCIQuery_Call) Return(_a0 *coretypes.ResultABCIQuery, _a1 error) *RPCClient_ABCIQuery_Call
func (*RPCClient_ABCIQuery_Call) Run ¶
func (_c *RPCClient_ABCIQuery_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes)) *RPCClient_ABCIQuery_Call
type RPCClient_BlockByHash_Call ¶
RPCClient_BlockByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByHash'
func (*RPCClient_BlockByHash_Call) Return ¶
func (_c *RPCClient_BlockByHash_Call) Return(_a0 *coretypes.ResultBlock, _a1 error) *RPCClient_BlockByHash_Call
func (*RPCClient_BlockByHash_Call) Run ¶
func (_c *RPCClient_BlockByHash_Call) Run(run func(ctx context.Context, hash []byte)) *RPCClient_BlockByHash_Call
type RPCClient_BlockResults_Call ¶
RPCClient_BlockResults_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockResults'
func (*RPCClient_BlockResults_Call) Return ¶
func (_c *RPCClient_BlockResults_Call) Return(_a0 *coretypes.ResultBlockResults, _a1 error) *RPCClient_BlockResults_Call
func (*RPCClient_BlockResults_Call) Run ¶
func (_c *RPCClient_BlockResults_Call) Run(run func(ctx context.Context, height *int64)) *RPCClient_BlockResults_Call
type RPCClient_BlockSearch_Call ¶
RPCClient_BlockSearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockSearch'
func (*RPCClient_BlockSearch_Call) Return ¶
func (_c *RPCClient_BlockSearch_Call) Return(_a0 *coretypes.ResultBlockSearch, _a1 error) *RPCClient_BlockSearch_Call
func (*RPCClient_BlockSearch_Call) Run ¶
func (_c *RPCClient_BlockSearch_Call) Run(run func(ctx context.Context, query string, page *int, perPage *int, orderBy string)) *RPCClient_BlockSearch_Call
type RPCClient_Block_Call ¶
RPCClient_Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Block'
func (*RPCClient_Block_Call) Return ¶
func (_c *RPCClient_Block_Call) Return(_a0 *coretypes.ResultBlock, _a1 error) *RPCClient_Block_Call
func (*RPCClient_Block_Call) Run ¶
func (_c *RPCClient_Block_Call) Run(run func(ctx context.Context, height *int64)) *RPCClient_Block_Call
type RPCClient_BlockchainInfo_Call ¶
RPCClient_BlockchainInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockchainInfo'
func (*RPCClient_BlockchainInfo_Call) Return ¶
func (_c *RPCClient_BlockchainInfo_Call) Return(_a0 *coretypes.ResultBlockchainInfo, _a1 error) *RPCClient_BlockchainInfo_Call
func (*RPCClient_BlockchainInfo_Call) Run ¶
func (_c *RPCClient_BlockchainInfo_Call) Run(run func(ctx context.Context, minHeight int64, maxHeight int64)) *RPCClient_BlockchainInfo_Call
type RPCClient_BroadcastEvidence_Call ¶
RPCClient_BroadcastEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastEvidence'
func (*RPCClient_BroadcastEvidence_Call) Return ¶
func (_c *RPCClient_BroadcastEvidence_Call) Return(_a0 *coretypes.ResultBroadcastEvidence, _a1 error) *RPCClient_BroadcastEvidence_Call
func (*RPCClient_BroadcastEvidence_Call) Run ¶
func (_c *RPCClient_BroadcastEvidence_Call) Run(run func(_a0 context.Context, _a1 types.Evidence)) *RPCClient_BroadcastEvidence_Call
type RPCClient_BroadcastTxAsync_Call ¶
RPCClient_BroadcastTxAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxAsync'
func (*RPCClient_BroadcastTxAsync_Call) Return ¶
func (_c *RPCClient_BroadcastTxAsync_Call) Return(_a0 *coretypes.ResultBroadcastTx, _a1 error) *RPCClient_BroadcastTxAsync_Call
func (*RPCClient_BroadcastTxAsync_Call) Run ¶
func (_c *RPCClient_BroadcastTxAsync_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *RPCClient_BroadcastTxAsync_Call
type RPCClient_BroadcastTxCommit_Call ¶
RPCClient_BroadcastTxCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxCommit'
func (*RPCClient_BroadcastTxCommit_Call) Return ¶
func (_c *RPCClient_BroadcastTxCommit_Call) Return(_a0 *coretypes.ResultBroadcastTxCommit, _a1 error) *RPCClient_BroadcastTxCommit_Call
func (*RPCClient_BroadcastTxCommit_Call) Run ¶
func (_c *RPCClient_BroadcastTxCommit_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *RPCClient_BroadcastTxCommit_Call
type RPCClient_BroadcastTxSync_Call ¶
RPCClient_BroadcastTxSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxSync'
func (*RPCClient_BroadcastTxSync_Call) Return ¶
func (_c *RPCClient_BroadcastTxSync_Call) Return(_a0 *coretypes.ResultBroadcastTx, _a1 error) *RPCClient_BroadcastTxSync_Call
func (*RPCClient_BroadcastTxSync_Call) Run ¶
func (_c *RPCClient_BroadcastTxSync_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *RPCClient_BroadcastTxSync_Call
type RPCClient_CheckTx_Call ¶
RPCClient_CheckTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTx'
func (*RPCClient_CheckTx_Call) Return ¶
func (_c *RPCClient_CheckTx_Call) Return(_a0 *coretypes.ResultCheckTx, _a1 error) *RPCClient_CheckTx_Call
func (*RPCClient_CheckTx_Call) Run ¶
func (_c *RPCClient_CheckTx_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *RPCClient_CheckTx_Call
type RPCClient_Commit_Call ¶
RPCClient_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*RPCClient_Commit_Call) Return ¶
func (_c *RPCClient_Commit_Call) Return(_a0 *coretypes.ResultCommit, _a1 error) *RPCClient_Commit_Call
func (*RPCClient_Commit_Call) Run ¶
func (_c *RPCClient_Commit_Call) Run(run func(ctx context.Context, height *int64)) *RPCClient_Commit_Call
type RPCClient_ConsensusParams_Call ¶
RPCClient_ConsensusParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsensusParams'
func (*RPCClient_ConsensusParams_Call) Return ¶
func (_c *RPCClient_ConsensusParams_Call) Return(_a0 *coretypes.ResultConsensusParams, _a1 error) *RPCClient_ConsensusParams_Call
func (*RPCClient_ConsensusParams_Call) Run ¶
func (_c *RPCClient_ConsensusParams_Call) Run(run func(ctx context.Context, height *int64)) *RPCClient_ConsensusParams_Call
type RPCClient_ConsensusState_Call ¶
RPCClient_ConsensusState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsensusState'
func (*RPCClient_ConsensusState_Call) Return ¶
func (_c *RPCClient_ConsensusState_Call) Return(_a0 *coretypes.ResultConsensusState, _a1 error) *RPCClient_ConsensusState_Call
func (*RPCClient_ConsensusState_Call) Run ¶
func (_c *RPCClient_ConsensusState_Call) Run(run func(_a0 context.Context)) *RPCClient_ConsensusState_Call
type RPCClient_DumpConsensusState_Call ¶
RPCClient_DumpConsensusState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DumpConsensusState'
func (*RPCClient_DumpConsensusState_Call) Return ¶
func (_c *RPCClient_DumpConsensusState_Call) Return(_a0 *coretypes.ResultDumpConsensusState, _a1 error) *RPCClient_DumpConsensusState_Call
func (*RPCClient_DumpConsensusState_Call) Run ¶
func (_c *RPCClient_DumpConsensusState_Call) Run(run func(_a0 context.Context)) *RPCClient_DumpConsensusState_Call
type RPCClient_Expecter ¶
type RPCClient_Expecter struct {
// contains filtered or unexported fields
}
func (*RPCClient_Expecter) ABCIInfo ¶
func (_e *RPCClient_Expecter) ABCIInfo(_a0 interface{}) *RPCClient_ABCIInfo_Call
ABCIInfo is a helper method to define mock.On call
- _a0 context.Context
func (*RPCClient_Expecter) ABCIQuery ¶
func (_e *RPCClient_Expecter) ABCIQuery(ctx interface{}, path interface{}, data interface{}) *RPCClient_ABCIQuery_Call
ABCIQuery is a helper method to define mock.On call
- ctx context.Context
- path string
- data bytes.HexBytes
func (*RPCClient_Expecter) ABCIQueryWithOptions ¶
func (_e *RPCClient_Expecter) ABCIQueryWithOptions(ctx interface{}, path interface{}, data interface{}, opts interface{}) *RPCClient_ABCIQueryWithOptions_Call
ABCIQueryWithOptions is a helper method to define mock.On call
- ctx context.Context
- path string
- data bytes.HexBytes
- opts client.ABCIQueryOptions
func (*RPCClient_Expecter) Block ¶
func (_e *RPCClient_Expecter) Block(ctx interface{}, height interface{}) *RPCClient_Block_Call
Block is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*RPCClient_Expecter) BlockByHash ¶
func (_e *RPCClient_Expecter) BlockByHash(ctx interface{}, hash interface{}) *RPCClient_BlockByHash_Call
BlockByHash is a helper method to define mock.On call
- ctx context.Context
- hash []byte
func (*RPCClient_Expecter) BlockResults ¶
func (_e *RPCClient_Expecter) BlockResults(ctx interface{}, height interface{}) *RPCClient_BlockResults_Call
BlockResults is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*RPCClient_Expecter) BlockSearch ¶
func (_e *RPCClient_Expecter) BlockSearch(ctx interface{}, query interface{}, page interface{}, perPage interface{}, orderBy interface{}) *RPCClient_BlockSearch_Call
BlockSearch is a helper method to define mock.On call
- ctx context.Context
- query string
- page *int
- perPage *int
- orderBy string
func (*RPCClient_Expecter) BlockchainInfo ¶
func (_e *RPCClient_Expecter) BlockchainInfo(ctx interface{}, minHeight interface{}, maxHeight interface{}) *RPCClient_BlockchainInfo_Call
BlockchainInfo is a helper method to define mock.On call
- ctx context.Context
- minHeight int64
- maxHeight int64
func (*RPCClient_Expecter) BroadcastEvidence ¶
func (_e *RPCClient_Expecter) BroadcastEvidence(_a0 interface{}, _a1 interface{}) *RPCClient_BroadcastEvidence_Call
BroadcastEvidence is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Evidence
func (*RPCClient_Expecter) BroadcastTxAsync ¶
func (_e *RPCClient_Expecter) BroadcastTxAsync(_a0 interface{}, _a1 interface{}) *RPCClient_BroadcastTxAsync_Call
BroadcastTxAsync is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Tx
func (*RPCClient_Expecter) BroadcastTxCommit ¶
func (_e *RPCClient_Expecter) BroadcastTxCommit(_a0 interface{}, _a1 interface{}) *RPCClient_BroadcastTxCommit_Call
BroadcastTxCommit is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Tx
func (*RPCClient_Expecter) BroadcastTxSync ¶
func (_e *RPCClient_Expecter) BroadcastTxSync(_a0 interface{}, _a1 interface{}) *RPCClient_BroadcastTxSync_Call
BroadcastTxSync is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Tx
func (*RPCClient_Expecter) CheckTx ¶
func (_e *RPCClient_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *RPCClient_CheckTx_Call
CheckTx is a helper method to define mock.On call
- _a0 context.Context
- _a1 types.Tx
func (*RPCClient_Expecter) Commit ¶
func (_e *RPCClient_Expecter) Commit(ctx interface{}, height interface{}) *RPCClient_Commit_Call
Commit is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*RPCClient_Expecter) ConsensusParams ¶
func (_e *RPCClient_Expecter) ConsensusParams(ctx interface{}, height interface{}) *RPCClient_ConsensusParams_Call
ConsensusParams is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*RPCClient_Expecter) ConsensusState ¶
func (_e *RPCClient_Expecter) ConsensusState(_a0 interface{}) *RPCClient_ConsensusState_Call
ConsensusState is a helper method to define mock.On call
- _a0 context.Context
func (*RPCClient_Expecter) DumpConsensusState ¶
func (_e *RPCClient_Expecter) DumpConsensusState(_a0 interface{}) *RPCClient_DumpConsensusState_Call
DumpConsensusState is a helper method to define mock.On call
- _a0 context.Context
func (*RPCClient_Expecter) Genesis ¶
func (_e *RPCClient_Expecter) Genesis(_a0 interface{}) *RPCClient_Genesis_Call
Genesis is a helper method to define mock.On call
- _a0 context.Context
func (*RPCClient_Expecter) GenesisChunked ¶
func (_e *RPCClient_Expecter) GenesisChunked(_a0 interface{}, _a1 interface{}) *RPCClient_GenesisChunked_Call
GenesisChunked is a helper method to define mock.On call
- _a0 context.Context
- _a1 uint
func (*RPCClient_Expecter) Health ¶
func (_e *RPCClient_Expecter) Health(_a0 interface{}) *RPCClient_Health_Call
Health is a helper method to define mock.On call
- _a0 context.Context
func (*RPCClient_Expecter) IsRunning ¶
func (_e *RPCClient_Expecter) IsRunning() *RPCClient_IsRunning_Call
IsRunning is a helper method to define mock.On call
func (*RPCClient_Expecter) NetInfo ¶
func (_e *RPCClient_Expecter) NetInfo(_a0 interface{}) *RPCClient_NetInfo_Call
NetInfo is a helper method to define mock.On call
- _a0 context.Context
func (*RPCClient_Expecter) NumUnconfirmedTxs ¶
func (_e *RPCClient_Expecter) NumUnconfirmedTxs(_a0 interface{}) *RPCClient_NumUnconfirmedTxs_Call
NumUnconfirmedTxs is a helper method to define mock.On call
- _a0 context.Context
func (*RPCClient_Expecter) OnReset ¶
func (_e *RPCClient_Expecter) OnReset() *RPCClient_OnReset_Call
OnReset is a helper method to define mock.On call
func (*RPCClient_Expecter) OnStart ¶
func (_e *RPCClient_Expecter) OnStart() *RPCClient_OnStart_Call
OnStart is a helper method to define mock.On call
func (*RPCClient_Expecter) OnStop ¶
func (_e *RPCClient_Expecter) OnStop() *RPCClient_OnStop_Call
OnStop is a helper method to define mock.On call
func (*RPCClient_Expecter) Quit ¶
func (_e *RPCClient_Expecter) Quit() *RPCClient_Quit_Call
Quit is a helper method to define mock.On call
func (*RPCClient_Expecter) Reset ¶
func (_e *RPCClient_Expecter) Reset() *RPCClient_Reset_Call
Reset is a helper method to define mock.On call
func (*RPCClient_Expecter) SetLogger ¶
func (_e *RPCClient_Expecter) SetLogger(_a0 interface{}) *RPCClient_SetLogger_Call
SetLogger is a helper method to define mock.On call
- _a0 log.Logger
func (*RPCClient_Expecter) Start ¶
func (_e *RPCClient_Expecter) Start() *RPCClient_Start_Call
Start is a helper method to define mock.On call
func (*RPCClient_Expecter) Status ¶
func (_e *RPCClient_Expecter) Status(_a0 interface{}) *RPCClient_Status_Call
Status is a helper method to define mock.On call
- _a0 context.Context
func (*RPCClient_Expecter) Stop ¶
func (_e *RPCClient_Expecter) Stop() *RPCClient_Stop_Call
Stop is a helper method to define mock.On call
func (*RPCClient_Expecter) String ¶
func (_e *RPCClient_Expecter) String() *RPCClient_String_Call
String is a helper method to define mock.On call
func (*RPCClient_Expecter) Subscribe ¶
func (_e *RPCClient_Expecter) Subscribe(ctx interface{}, subscriber interface{}, query interface{}, outCapacity ...interface{}) *RPCClient_Subscribe_Call
Subscribe is a helper method to define mock.On call
- ctx context.Context
- subscriber string
- query string
- outCapacity ...int
func (*RPCClient_Expecter) Tx ¶
func (_e *RPCClient_Expecter) Tx(ctx interface{}, hash interface{}, prove interface{}) *RPCClient_Tx_Call
Tx is a helper method to define mock.On call
- ctx context.Context
- hash []byte
- prove bool
func (*RPCClient_Expecter) TxSearch ¶
func (_e *RPCClient_Expecter) TxSearch(ctx interface{}, query interface{}, prove interface{}, page interface{}, perPage interface{}, orderBy interface{}) *RPCClient_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 (*RPCClient_Expecter) UnconfirmedTxs ¶
func (_e *RPCClient_Expecter) UnconfirmedTxs(ctx interface{}, limit interface{}) *RPCClient_UnconfirmedTxs_Call
UnconfirmedTxs is a helper method to define mock.On call
- ctx context.Context
- limit *int
func (*RPCClient_Expecter) Unsubscribe ¶
func (_e *RPCClient_Expecter) Unsubscribe(ctx interface{}, subscriber interface{}, query interface{}) *RPCClient_Unsubscribe_Call
Unsubscribe is a helper method to define mock.On call
- ctx context.Context
- subscriber string
- query string
func (*RPCClient_Expecter) UnsubscribeAll ¶
func (_e *RPCClient_Expecter) UnsubscribeAll(ctx interface{}, subscriber interface{}) *RPCClient_UnsubscribeAll_Call
UnsubscribeAll is a helper method to define mock.On call
- ctx context.Context
- subscriber string
func (*RPCClient_Expecter) Validators ¶
func (_e *RPCClient_Expecter) Validators(ctx interface{}, height interface{}, page interface{}, perPage interface{}) *RPCClient_Validators_Call
Validators is a helper method to define mock.On call
- ctx context.Context
- height *int64
- page *int
- perPage *int
type RPCClient_GenesisChunked_Call ¶
RPCClient_GenesisChunked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenesisChunked'
func (*RPCClient_GenesisChunked_Call) Return ¶
func (_c *RPCClient_GenesisChunked_Call) Return(_a0 *coretypes.ResultGenesisChunk, _a1 error) *RPCClient_GenesisChunked_Call
func (*RPCClient_GenesisChunked_Call) Run ¶
func (_c *RPCClient_GenesisChunked_Call) Run(run func(_a0 context.Context, _a1 uint)) *RPCClient_GenesisChunked_Call
type RPCClient_Genesis_Call ¶
RPCClient_Genesis_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Genesis'
func (*RPCClient_Genesis_Call) Return ¶
func (_c *RPCClient_Genesis_Call) Return(_a0 *coretypes.ResultGenesis, _a1 error) *RPCClient_Genesis_Call
func (*RPCClient_Genesis_Call) Run ¶
func (_c *RPCClient_Genesis_Call) Run(run func(_a0 context.Context)) *RPCClient_Genesis_Call
type RPCClient_Health_Call ¶
RPCClient_Health_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Health'
func (*RPCClient_Health_Call) Return ¶
func (_c *RPCClient_Health_Call) Return(_a0 *coretypes.ResultHealth, _a1 error) *RPCClient_Health_Call
func (*RPCClient_Health_Call) Run ¶
func (_c *RPCClient_Health_Call) Run(run func(_a0 context.Context)) *RPCClient_Health_Call
type RPCClient_IsRunning_Call ¶
RPCClient_IsRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRunning'
func (*RPCClient_IsRunning_Call) Return ¶
func (_c *RPCClient_IsRunning_Call) Return(_a0 bool) *RPCClient_IsRunning_Call
func (*RPCClient_IsRunning_Call) Run ¶
func (_c *RPCClient_IsRunning_Call) Run(run func()) *RPCClient_IsRunning_Call
type RPCClient_NetInfo_Call ¶
RPCClient_NetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetInfo'
func (*RPCClient_NetInfo_Call) Return ¶
func (_c *RPCClient_NetInfo_Call) Return(_a0 *coretypes.ResultNetInfo, _a1 error) *RPCClient_NetInfo_Call
func (*RPCClient_NetInfo_Call) Run ¶
func (_c *RPCClient_NetInfo_Call) Run(run func(_a0 context.Context)) *RPCClient_NetInfo_Call
type RPCClient_NumUnconfirmedTxs_Call ¶
RPCClient_NumUnconfirmedTxs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NumUnconfirmedTxs'
func (*RPCClient_NumUnconfirmedTxs_Call) Return ¶
func (_c *RPCClient_NumUnconfirmedTxs_Call) Return(_a0 *coretypes.ResultUnconfirmedTxs, _a1 error) *RPCClient_NumUnconfirmedTxs_Call
func (*RPCClient_NumUnconfirmedTxs_Call) Run ¶
func (_c *RPCClient_NumUnconfirmedTxs_Call) Run(run func(_a0 context.Context)) *RPCClient_NumUnconfirmedTxs_Call
type RPCClient_OnReset_Call ¶
RPCClient_OnReset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnReset'
func (*RPCClient_OnReset_Call) Return ¶
func (_c *RPCClient_OnReset_Call) Return(_a0 error) *RPCClient_OnReset_Call
func (*RPCClient_OnReset_Call) Run ¶
func (_c *RPCClient_OnReset_Call) Run(run func()) *RPCClient_OnReset_Call
type RPCClient_OnStart_Call ¶
RPCClient_OnStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStart'
func (*RPCClient_OnStart_Call) Return ¶
func (_c *RPCClient_OnStart_Call) Return(_a0 error) *RPCClient_OnStart_Call
func (*RPCClient_OnStart_Call) Run ¶
func (_c *RPCClient_OnStart_Call) Run(run func()) *RPCClient_OnStart_Call
type RPCClient_OnStop_Call ¶
RPCClient_OnStop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStop'
func (*RPCClient_OnStop_Call) Return ¶
func (_c *RPCClient_OnStop_Call) Return() *RPCClient_OnStop_Call
func (*RPCClient_OnStop_Call) Run ¶
func (_c *RPCClient_OnStop_Call) Run(run func()) *RPCClient_OnStop_Call
type RPCClient_Quit_Call ¶
RPCClient_Quit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Quit'
func (*RPCClient_Quit_Call) Return ¶
func (_c *RPCClient_Quit_Call) Return(_a0 <-chan struct{}) *RPCClient_Quit_Call
func (*RPCClient_Quit_Call) Run ¶
func (_c *RPCClient_Quit_Call) Run(run func()) *RPCClient_Quit_Call
type RPCClient_Reset_Call ¶
RPCClient_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*RPCClient_Reset_Call) Return ¶
func (_c *RPCClient_Reset_Call) Return(_a0 error) *RPCClient_Reset_Call
func (*RPCClient_Reset_Call) Run ¶
func (_c *RPCClient_Reset_Call) Run(run func()) *RPCClient_Reset_Call
type RPCClient_SetLogger_Call ¶
RPCClient_SetLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLogger'
func (*RPCClient_SetLogger_Call) Return ¶
func (_c *RPCClient_SetLogger_Call) Return() *RPCClient_SetLogger_Call
func (*RPCClient_SetLogger_Call) Run ¶
func (_c *RPCClient_SetLogger_Call) Run(run func(_a0 log.Logger)) *RPCClient_SetLogger_Call
type RPCClient_Start_Call ¶
RPCClient_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*RPCClient_Start_Call) Return ¶
func (_c *RPCClient_Start_Call) Return(_a0 error) *RPCClient_Start_Call
func (*RPCClient_Start_Call) Run ¶
func (_c *RPCClient_Start_Call) Run(run func()) *RPCClient_Start_Call
type RPCClient_Status_Call ¶
RPCClient_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*RPCClient_Status_Call) Return ¶
func (_c *RPCClient_Status_Call) Return(_a0 *coretypes.ResultStatus, _a1 error) *RPCClient_Status_Call
func (*RPCClient_Status_Call) Run ¶
func (_c *RPCClient_Status_Call) Run(run func(_a0 context.Context)) *RPCClient_Status_Call
type RPCClient_Stop_Call ¶
RPCClient_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*RPCClient_Stop_Call) Return ¶
func (_c *RPCClient_Stop_Call) Return(_a0 error) *RPCClient_Stop_Call
func (*RPCClient_Stop_Call) Run ¶
func (_c *RPCClient_Stop_Call) Run(run func()) *RPCClient_Stop_Call
type RPCClient_String_Call ¶
RPCClient_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*RPCClient_String_Call) Return ¶
func (_c *RPCClient_String_Call) Return(_a0 string) *RPCClient_String_Call
func (*RPCClient_String_Call) Run ¶
func (_c *RPCClient_String_Call) Run(run func()) *RPCClient_String_Call
type RPCClient_Subscribe_Call ¶
RPCClient_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*RPCClient_Subscribe_Call) Return ¶
func (_c *RPCClient_Subscribe_Call) Return(out <-chan coretypes.ResultEvent, err error) *RPCClient_Subscribe_Call
func (*RPCClient_Subscribe_Call) Run ¶
func (_c *RPCClient_Subscribe_Call) Run(run func(ctx context.Context, subscriber string, query string, outCapacity ...int)) *RPCClient_Subscribe_Call
type RPCClient_TxSearch_Call ¶
RPCClient_TxSearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxSearch'
func (*RPCClient_TxSearch_Call) Return ¶
func (_c *RPCClient_TxSearch_Call) Return(_a0 *coretypes.ResultTxSearch, _a1 error) *RPCClient_TxSearch_Call
type RPCClient_Tx_Call ¶
RPCClient_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'
func (*RPCClient_Tx_Call) Return ¶
func (_c *RPCClient_Tx_Call) Return(_a0 *coretypes.ResultTx, _a1 error) *RPCClient_Tx_Call
func (*RPCClient_Tx_Call) Run ¶
func (_c *RPCClient_Tx_Call) Run(run func(ctx context.Context, hash []byte, prove bool)) *RPCClient_Tx_Call
type RPCClient_UnconfirmedTxs_Call ¶
RPCClient_UnconfirmedTxs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnconfirmedTxs'
func (*RPCClient_UnconfirmedTxs_Call) Return ¶
func (_c *RPCClient_UnconfirmedTxs_Call) Return(_a0 *coretypes.ResultUnconfirmedTxs, _a1 error) *RPCClient_UnconfirmedTxs_Call
func (*RPCClient_UnconfirmedTxs_Call) Run ¶
func (_c *RPCClient_UnconfirmedTxs_Call) Run(run func(ctx context.Context, limit *int)) *RPCClient_UnconfirmedTxs_Call
type RPCClient_UnsubscribeAll_Call ¶
RPCClient_UnsubscribeAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubscribeAll'
func (*RPCClient_UnsubscribeAll_Call) Return ¶
func (_c *RPCClient_UnsubscribeAll_Call) Return(_a0 error) *RPCClient_UnsubscribeAll_Call
func (*RPCClient_UnsubscribeAll_Call) Run ¶
func (_c *RPCClient_UnsubscribeAll_Call) Run(run func(ctx context.Context, subscriber string)) *RPCClient_UnsubscribeAll_Call
type RPCClient_Unsubscribe_Call ¶
RPCClient_Unsubscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unsubscribe'
func (*RPCClient_Unsubscribe_Call) Return ¶
func (_c *RPCClient_Unsubscribe_Call) Return(_a0 error) *RPCClient_Unsubscribe_Call
func (*RPCClient_Unsubscribe_Call) Run ¶
func (_c *RPCClient_Unsubscribe_Call) Run(run func(ctx context.Context, subscriber string, query string)) *RPCClient_Unsubscribe_Call
type RPCClient_Validators_Call ¶
RPCClient_Validators_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validators'
func (*RPCClient_Validators_Call) Return ¶
func (_c *RPCClient_Validators_Call) Return(_a0 *coretypes.ResultValidators, _a1 error) *RPCClient_Validators_Call
func (*RPCClient_Validators_Call) Run ¶
func (_c *RPCClient_Validators_Call) Run(run func(ctx context.Context, height *int64, page *int, perPage *int)) *RPCClient_Validators_Call
type Signer ¶
Signer is an autogenerated mock type for the Signer type
func NewSigner ¶
func NewSigner(t mockConstructorTestingTNewSigner) *Signer
NewSigner creates a new instance of Signer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Signer) EXPECT ¶
func (_m *Signer) EXPECT() *Signer_Expecter
type Signer_Expecter ¶
type Signer_Expecter struct {
// contains filtered or unexported fields
}
func (*Signer_Expecter) Sign ¶
func (_e *Signer_Expecter) Sign(txf interface{}, name interface{}, txBuilder interface{}, overwriteSig interface{}) *Signer_Sign_Call
Sign is a helper method to define mock.On call
- txf tx.Factory
- name string
- txBuilder client.TxBuilder
- overwriteSig bool
type Signer_Sign_Call ¶
Signer_Sign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sign'
func (*Signer_Sign_Call) Return ¶
func (_c *Signer_Sign_Call) Return(_a0 error) *Signer_Sign_Call
func (*Signer_Sign_Call) Run ¶
func (_c *Signer_Sign_Call) Run(run func(txf tx.Factory, name string, txBuilder client.TxBuilder, overwriteSig bool)) *Signer_Sign_Call