mocks

package
v0.0.0-...-d298eb8 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountRetriever

type AccountRetriever struct {
	mock.Mock
}

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 (*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

type AccountRetriever_EnsureExists_Call struct {
	*mock.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 (*AccountRetriever_EnsureExists_Call) Run

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

type AccountRetriever_GetAccountNumberSequence_Call struct {
	*mock.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 (*AccountRetriever_GetAccountNumberSequence_Call) Run

type AccountRetriever_GetAccountWithHeight_Call

type AccountRetriever_GetAccountWithHeight_Call struct {
	*mock.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 (*AccountRetriever_GetAccountWithHeight_Call) Run

type AccountRetriever_GetAccount_Call

type AccountRetriever_GetAccount_Call struct {
	*mock.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 (*AccountRetriever_GetAccount_Call) Run

type BankQueryClient

type BankQueryClient struct {
	mock.Mock
}

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

AllBalances provides a mock function with given fields: ctx, in, opts

func (*BankQueryClient) Balance

Balance provides a mock function with given fields: ctx, in, opts

func (*BankQueryClient) DenomMetadata

DenomMetadata provides a mock function with given fields: ctx, in, opts

func (*BankQueryClient) DenomOwners

DenomOwners provides a mock function with given fields: ctx, in, opts

func (*BankQueryClient) DenomsMetadata

DenomsMetadata provides a mock function with given fields: ctx, in, opts

func (*BankQueryClient) EXPECT

func (*BankQueryClient) Params

Params provides a mock function with given fields: ctx, in, opts

func (*BankQueryClient) SpendableBalances

SpendableBalances provides a mock function with given fields: ctx, in, opts

func (*BankQueryClient) SupplyOf

SupplyOf provides a mock function with given fields: ctx, in, opts

func (*BankQueryClient) TotalSupply

TotalSupply provides a mock function with given fields: ctx, in, opts

type BankQueryClient_AllBalances_Call

type BankQueryClient_AllBalances_Call struct {
	*mock.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 (*BankQueryClient_AllBalances_Call) Run

type BankQueryClient_Balance_Call

type BankQueryClient_Balance_Call struct {
	*mock.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 (*BankQueryClient_Balance_Call) Run

type BankQueryClient_DenomMetadata_Call

type BankQueryClient_DenomMetadata_Call struct {
	*mock.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 (*BankQueryClient_DenomMetadata_Call) Run

type BankQueryClient_DenomOwners_Call

type BankQueryClient_DenomOwners_Call struct {
	*mock.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 (*BankQueryClient_DenomOwners_Call) Run

type BankQueryClient_DenomsMetadata_Call

type BankQueryClient_DenomsMetadata_Call struct {
	*mock.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 (*BankQueryClient_DenomsMetadata_Call) Run

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

type BankQueryClient_Params_Call struct {
	*mock.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 (*BankQueryClient_Params_Call) Run

type BankQueryClient_SpendableBalances_Call

type BankQueryClient_SpendableBalances_Call struct {
	*mock.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 (*BankQueryClient_SpendableBalances_Call) Run

type BankQueryClient_SupplyOf_Call

type BankQueryClient_SupplyOf_Call struct {
	*mock.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 (*BankQueryClient_SupplyOf_Call) Run

type BankQueryClient_TotalSupply_Call

type BankQueryClient_TotalSupply_Call struct {
	*mock.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 (*BankQueryClient_TotalSupply_Call) Run

type FaucetClient

type FaucetClient struct {
	mock.Mock
}

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

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

type FaucetClient_Transfer_Call struct {
	*mock.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 (*FaucetClient_Transfer_Call) Run

type Gasometer

type Gasometer struct {
	mock.Mock
}

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

type Gasometer_CalculateGas_Call struct {
	*mock.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 (*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

type RPCClient struct {
	mock.Mock
}

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) ABCIInfo

func (_m *RPCClient) ABCIInfo(_a0 context.Context) (*coretypes.ResultABCIInfo, error)

ABCIInfo provides a mock function with given fields: _a0

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) Block

func (_m *RPCClient) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)

Block provides a mock function with given fields: ctx, height

func (*RPCClient) BlockByHash

func (_m *RPCClient) BlockByHash(ctx context.Context, hash []byte) (*coretypes.ResultBlock, error)

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) CheckTx

func (_m *RPCClient) CheckTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultCheckTx, error)

CheckTx provides a mock function with given fields: _a0, _a1

func (*RPCClient) Commit

func (_m *RPCClient) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)

Commit provides a mock function with given fields: ctx, height

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

func (_m *RPCClient) ConsensusState(_a0 context.Context) (*coretypes.ResultConsensusState, error)

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) Genesis

func (_m *RPCClient) Genesis(_a0 context.Context) (*coretypes.ResultGenesis, error)

Genesis provides a mock function with given fields: _a0

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) Health

func (_m *RPCClient) Health(_a0 context.Context) (*coretypes.ResultHealth, error)

Health provides a mock function with given fields: _a0

func (*RPCClient) IsRunning

func (_m *RPCClient) IsRunning() bool

IsRunning provides a mock function with given fields:

func (*RPCClient) NetInfo

func (_m *RPCClient) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)

NetInfo provides a mock function with given fields: _a0

func (*RPCClient) NumUnconfirmedTxs

func (_m *RPCClient) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)

NumUnconfirmedTxs provides a mock function with given fields: _a0

func (*RPCClient) OnReset

func (_m *RPCClient) OnReset() error

OnReset provides a mock function with given fields:

func (*RPCClient) OnStart

func (_m *RPCClient) OnStart() error

OnStart provides a mock function with given fields:

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) Reset

func (_m *RPCClient) Reset() error

Reset provides a mock function with given fields:

func (*RPCClient) SetLogger

func (_m *RPCClient) SetLogger(_a0 log.Logger)

SetLogger provides a mock function with given fields: _a0

func (*RPCClient) Start

func (_m *RPCClient) Start() error

Start provides a mock function with given fields:

func (*RPCClient) Status

func (_m *RPCClient) Status(_a0 context.Context) (*coretypes.ResultStatus, error)

Status provides a mock function with given fields: _a0

func (*RPCClient) Stop

func (_m *RPCClient) Stop() error

Stop provides a mock function with given fields:

func (*RPCClient) String

func (_m *RPCClient) String() string

String 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) Tx

func (_m *RPCClient) Tx(ctx context.Context, hash []byte, prove bool) (*coretypes.ResultTx, error)

Tx provides a mock function with given fields: ctx, hash, prove

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

func (_m *RPCClient) Unsubscribe(ctx context.Context, subscriber string, query string) error

Unsubscribe provides a mock function with given fields: ctx, subscriber, query

func (*RPCClient) UnsubscribeAll

func (_m *RPCClient) UnsubscribeAll(ctx context.Context, subscriber string) error

UnsubscribeAll provides a mock function with given fields: ctx, subscriber

func (*RPCClient) Validators

func (_m *RPCClient) Validators(ctx context.Context, height *int64, page *int, perPage *int) (*coretypes.ResultValidators, error)

Validators provides a mock function with given fields: ctx, height, page, perPage

type RPCClient_ABCIInfo_Call

type RPCClient_ABCIInfo_Call struct {
	*mock.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 (*RPCClient_ABCIInfo_Call) Run

type RPCClient_ABCIQueryWithOptions_Call

type RPCClient_ABCIQueryWithOptions_Call struct {
	*mock.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 (*RPCClient_ABCIQueryWithOptions_Call) Run

type RPCClient_ABCIQuery_Call

type RPCClient_ABCIQuery_Call struct {
	*mock.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 (*RPCClient_ABCIQuery_Call) Run

type RPCClient_BlockByHash_Call

type RPCClient_BlockByHash_Call struct {
	*mock.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 (*RPCClient_BlockByHash_Call) Run

type RPCClient_BlockResults_Call

type RPCClient_BlockResults_Call struct {
	*mock.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 (*RPCClient_BlockResults_Call) Run

type RPCClient_BlockSearch_Call

type RPCClient_BlockSearch_Call struct {
	*mock.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 (*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

type RPCClient_Block_Call struct {
	*mock.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 (*RPCClient_Block_Call) Run

func (_c *RPCClient_Block_Call) Run(run func(ctx context.Context, height *int64)) *RPCClient_Block_Call

type RPCClient_BlockchainInfo_Call

type RPCClient_BlockchainInfo_Call struct {
	*mock.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 (*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

type RPCClient_BroadcastEvidence_Call struct {
	*mock.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 (*RPCClient_BroadcastEvidence_Call) Run

type RPCClient_BroadcastTxAsync_Call

type RPCClient_BroadcastTxAsync_Call struct {
	*mock.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 (*RPCClient_BroadcastTxAsync_Call) Run

type RPCClient_BroadcastTxCommit_Call

type RPCClient_BroadcastTxCommit_Call struct {
	*mock.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 (*RPCClient_BroadcastTxCommit_Call) Run

type RPCClient_BroadcastTxSync_Call

type RPCClient_BroadcastTxSync_Call struct {
	*mock.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 (*RPCClient_BroadcastTxSync_Call) Run

type RPCClient_CheckTx_Call

type RPCClient_CheckTx_Call struct {
	*mock.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 (*RPCClient_CheckTx_Call) Run

type RPCClient_Commit_Call

type RPCClient_Commit_Call struct {
	*mock.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 (*RPCClient_Commit_Call) Run

func (_c *RPCClient_Commit_Call) Run(run func(ctx context.Context, height *int64)) *RPCClient_Commit_Call

type RPCClient_ConsensusParams_Call

type RPCClient_ConsensusParams_Call struct {
	*mock.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 (*RPCClient_ConsensusParams_Call) Run

type RPCClient_ConsensusState_Call

type RPCClient_ConsensusState_Call struct {
	*mock.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 (*RPCClient_ConsensusState_Call) Run

type RPCClient_DumpConsensusState_Call

type RPCClient_DumpConsensusState_Call struct {
	*mock.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 (*RPCClient_DumpConsensusState_Call) Run

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

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

OnReset is a helper method to define mock.On call

func (*RPCClient_Expecter) OnStart

OnStart is a helper method to define mock.On call

func (*RPCClient_Expecter) OnStop

OnStop is a helper method to define mock.On call

func (*RPCClient_Expecter) Quit

Quit is a helper method to define mock.On call

func (*RPCClient_Expecter) Reset

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

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

Stop is a helper method to define mock.On call

func (*RPCClient_Expecter) String

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

type RPCClient_GenesisChunked_Call struct {
	*mock.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 (*RPCClient_GenesisChunked_Call) Run

type RPCClient_Genesis_Call

type RPCClient_Genesis_Call struct {
	*mock.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 (*RPCClient_Genesis_Call) Run

type RPCClient_Health_Call

type RPCClient_Health_Call struct {
	*mock.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 (*RPCClient_Health_Call) Run

type RPCClient_IsRunning_Call

type RPCClient_IsRunning_Call struct {
	*mock.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 (*RPCClient_IsRunning_Call) Run

type RPCClient_NetInfo_Call

type RPCClient_NetInfo_Call struct {
	*mock.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 (*RPCClient_NetInfo_Call) Run

type RPCClient_NumUnconfirmedTxs_Call

type RPCClient_NumUnconfirmedTxs_Call struct {
	*mock.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 (*RPCClient_NumUnconfirmedTxs_Call) Run

type RPCClient_OnReset_Call

type RPCClient_OnReset_Call struct {
	*mock.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 (*RPCClient_OnReset_Call) Run

func (_c *RPCClient_OnReset_Call) Run(run func()) *RPCClient_OnReset_Call

type RPCClient_OnStart_Call

type RPCClient_OnStart_Call struct {
	*mock.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 (*RPCClient_OnStart_Call) Run

func (_c *RPCClient_OnStart_Call) Run(run func()) *RPCClient_OnStart_Call

type RPCClient_OnStop_Call

type RPCClient_OnStop_Call struct {
	*mock.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 (*RPCClient_OnStop_Call) Run

func (_c *RPCClient_OnStop_Call) Run(run func()) *RPCClient_OnStop_Call

type RPCClient_Quit_Call

type RPCClient_Quit_Call struct {
	*mock.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

type RPCClient_Reset_Call struct {
	*mock.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 (*RPCClient_Reset_Call) Run

func (_c *RPCClient_Reset_Call) Run(run func()) *RPCClient_Reset_Call

type RPCClient_SetLogger_Call

type RPCClient_SetLogger_Call struct {
	*mock.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 (*RPCClient_SetLogger_Call) Run

type RPCClient_Start_Call

type RPCClient_Start_Call struct {
	*mock.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 (*RPCClient_Start_Call) Run

func (_c *RPCClient_Start_Call) Run(run func()) *RPCClient_Start_Call

type RPCClient_Status_Call

type RPCClient_Status_Call struct {
	*mock.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 (*RPCClient_Status_Call) Run

type RPCClient_Stop_Call

type RPCClient_Stop_Call struct {
	*mock.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 (*RPCClient_Stop_Call) Run

func (_c *RPCClient_Stop_Call) Run(run func()) *RPCClient_Stop_Call

type RPCClient_String_Call

type RPCClient_String_Call struct {
	*mock.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 (*RPCClient_String_Call) Run

func (_c *RPCClient_String_Call) Run(run func()) *RPCClient_String_Call

type RPCClient_Subscribe_Call

type RPCClient_Subscribe_Call struct {
	*mock.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 (*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

type RPCClient_TxSearch_Call struct {
	*mock.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 (*RPCClient_TxSearch_Call) Run

func (_c *RPCClient_TxSearch_Call) Run(run func(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string)) *RPCClient_TxSearch_Call

type RPCClient_Tx_Call

type RPCClient_Tx_Call struct {
	*mock.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 (*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

type RPCClient_UnconfirmedTxs_Call struct {
	*mock.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 (*RPCClient_UnconfirmedTxs_Call) Run

type RPCClient_UnsubscribeAll_Call

type RPCClient_UnsubscribeAll_Call struct {
	*mock.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 (*RPCClient_UnsubscribeAll_Call) Run

type RPCClient_Unsubscribe_Call

type RPCClient_Unsubscribe_Call struct {
	*mock.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 (*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

type RPCClient_Validators_Call struct {
	*mock.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 (*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

type Signer struct {
	mock.Mock
}

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

func (*Signer) Sign

func (_m *Signer) Sign(txf tx.Factory, name string, txBuilder client.TxBuilder, overwriteSig bool) error

Sign provides a mock function with given fields: txf, name, txBuilder, overwriteSig

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

type Signer_Sign_Call struct {
	*mock.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

Jump to

Keyboard shortcuts

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