Documentation ¶
Index ¶
- type Client
- func (_m *Client) ABCIInfo(_a0 context.Context) (*coretypes.ResultABCIInfo, error)
- func (_m *Client) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
- func (_m *Client) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*coretypes.ResultABCIQuery, error)
- func (_m *Client) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
- func (_m *Client) BlockByHash(ctx context.Context, hash []byte) (*coretypes.ResultBlock, error)
- func (_m *Client) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
- func (_m *Client) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
- func (_m *Client) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
- func (_m *Client) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
- func (_m *Client) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *Client) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
- func (_m *Client) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *Client) CheckTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultCheckTx, error)
- func (_m *Client) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
- func (_m *Client) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
- func (_m *Client) ConsensusState(_a0 context.Context) (*coretypes.ResultConsensusState, error)
- func (_m *Client) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
- func (_m *Client) Genesis(_a0 context.Context) (*coretypes.ResultGenesis, error)
- func (_m *Client) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
- func (_m *Client) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
- func (_m *Client) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
- func (_m *Client) Health(_a0 context.Context) (*coretypes.ResultHealth, error)
- func (_m *Client) IsRunning() bool
- func (_m *Client) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)
- func (_m *Client) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *Client) OnReset() error
- func (_m *Client) OnStart() error
- func (_m *Client) OnStop()
- func (_m *Client) Quit() <-chan struct{}
- func (_m *Client) Reset() error
- func (_m *Client) SetLogger(_a0 log.Logger)
- func (_m *Client) Start() error
- func (_m *Client) Status(_a0 context.Context) (*coretypes.ResultStatus, error)
- func (_m *Client) Stop() error
- func (_m *Client) String() string
- func (_m *Client) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
- func (_m *Client) Tx(ctx context.Context, hash []byte, prove bool) (*coretypes.ResultTx, error)
- func (_m *Client) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, ...) (*coretypes.ResultTxSearch, error)
- func (_m *Client) UnconfirmedTxs(ctx context.Context, limit *int) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *Client) Unsubscribe(ctx context.Context, subscriber string, query string) error
- func (_m *Client) UnsubscribeAll(ctx context.Context, subscriber string) error
- func (_m *Client) Validators(ctx context.Context, height *int64, page *int, perPage *int) (*coretypes.ResultValidators, error)
- type EVMQueryClient
- func (_m *EVMQueryClient) Account(ctx context.Context, in *evmtypes.QueryAccountRequest, opts ...grpc.CallOption) (*evmtypes.QueryAccountResponse, error)
- func (_m *EVMQueryClient) Balance(ctx context.Context, in *evmtypes.QueryBalanceRequest, opts ...grpc.CallOption) (*evmtypes.QueryBalanceResponse, error)
- func (_m *EVMQueryClient) BaseFee(ctx context.Context, in *evmtypes.QueryBaseFeeRequest, opts ...grpc.CallOption) (*evmtypes.QueryBaseFeeResponse, error)
- func (_m *EVMQueryClient) Code(ctx context.Context, in *evmtypes.QueryCodeRequest, opts ...grpc.CallOption) (*evmtypes.QueryCodeResponse, error)
- func (_m *EVMQueryClient) CosmosAccount(ctx context.Context, in *evmtypes.QueryCosmosAccountRequest, ...) (*evmtypes.QueryCosmosAccountResponse, error)
- func (_m *EVMQueryClient) EstimateGas(ctx context.Context, in *evmtypes.EthCallRequest, opts ...grpc.CallOption) (*evmtypes.EstimateGasResponse, error)
- func (_m *EVMQueryClient) EthCall(ctx context.Context, in *evmtypes.EthCallRequest, opts ...grpc.CallOption) (*evmtypes.MsgEthereumTxResponse, error)
- func (_m *EVMQueryClient) Params(ctx context.Context, in *evmtypes.QueryParamsRequest, opts ...grpc.CallOption) (*evmtypes.QueryParamsResponse, error)
- func (_m *EVMQueryClient) Storage(ctx context.Context, in *evmtypes.QueryStorageRequest, opts ...grpc.CallOption) (*evmtypes.QueryStorageResponse, error)
- func (_m *EVMQueryClient) TraceBlock(ctx context.Context, in *evmtypes.QueryTraceBlockRequest, ...) (*evmtypes.QueryTraceBlockResponse, error)
- func (_m *EVMQueryClient) TraceTx(ctx context.Context, in *evmtypes.QueryTraceTxRequest, opts ...grpc.CallOption) (*evmtypes.QueryTraceTxResponse, error)
- func (_m *EVMQueryClient) ValidatorAccount(ctx context.Context, in *evmtypes.QueryValidatorAccountRequest, ...) (*evmtypes.QueryValidatorAccountResponse, error)
- type EVMTxIndexer
- func (_m *EVMTxIndexer) GetByBlockAndIndex(_a0 int64, _a1 int32) (*evertypes.TxResult, error)
- func (_m *EVMTxIndexer) GetByTxHash(_a0 common.Hash) (*evertypes.TxResult, error)
- func (_m *EVMTxIndexer) GetLastRequestIndexedBlock() (int64, error)
- func (_m *EVMTxIndexer) IndexBlock(_a0 *cometbfttypes.Block, _a1 []*abci.ResponseDeliverTx) error
- func (_m *EVMTxIndexer) IsReady() bool
- func (_m *EVMTxIndexer) LastIndexedBlock() (int64, error)
- func (_m *EVMTxIndexer) Ready()
- type FeeMarketQueryClient
- func (_m *FeeMarketQueryClient) BaseFee(ctx context.Context, in *feemarkettypes.QueryBaseFeeRequest, ...) (*feemarkettypes.QueryBaseFeeResponse, error)
- func (_m *FeeMarketQueryClient) Params(ctx context.Context, in *feemarkettypes.QueryParamsRequest, ...) (*feemarkettypes.QueryParamsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
func NewClient(t mockConstructorTestingTNewClient) *Client
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Client) ABCIQuery ¶
func (_m *Client) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
ABCIQuery provides a mock function with given fields: ctx, path, data
func (*Client) ABCIQueryWithOptions ¶
func (_m *Client) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error)
ABCIQueryWithOptions provides a mock function with given fields: ctx, path, data, opts
func (*Client) BlockByHash ¶
BlockByHash provides a mock function with given fields: ctx, hash
func (*Client) BlockResults ¶
func (_m *Client) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
BlockResults provides a mock function with given fields: ctx, height
func (*Client) BlockSearch ¶
func (_m *Client) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
BlockSearch provides a mock function with given fields: ctx, query, page, perPage, orderBy
func (*Client) BlockchainInfo ¶
func (_m *Client) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
BlockchainInfo provides a mock function with given fields: ctx, minHeight, maxHeight
func (*Client) BroadcastEvidence ¶
func (_m *Client) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
BroadcastEvidence provides a mock function with given fields: _a0, _a1
func (*Client) BroadcastTxAsync ¶
func (_m *Client) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxAsync provides a mock function with given fields: _a0, _a1
func (*Client) BroadcastTxCommit ¶
func (_m *Client) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
BroadcastTxCommit provides a mock function with given fields: _a0, _a1
func (*Client) BroadcastTxSync ¶
func (_m *Client) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxSync provides a mock function with given fields: _a0, _a1
func (*Client) ConsensusParams ¶
func (_m *Client) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
ConsensusParams provides a mock function with given fields: ctx, height
func (*Client) ConsensusState ¶
ConsensusState provides a mock function with given fields: _a0
func (*Client) DumpConsensusState ¶
func (_m *Client) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
DumpConsensusState provides a mock function with given fields: _a0
func (*Client) GenesisChunked ¶
func (_m *Client) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
GenesisChunked provides a mock function with given fields: _a0, _a1
func (*Client) HeaderByHash ¶
func (*Client) NumUnconfirmedTxs ¶
NumUnconfirmedTxs provides a mock function with given fields: _a0
func (*Client) OnStop ¶
func (_m *Client) OnStop()
OnStop provides a mock function with given fields:
func (*Client) Quit ¶
func (_m *Client) Quit() <-chan struct{}
Quit provides a mock function with given fields:
func (*Client) Subscribe ¶
func (_m *Client) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
Subscribe provides a mock function with given fields: ctx, subscriber, query, outCapacity
func (*Client) TxSearch ¶
func (_m *Client) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string) (*coretypes.ResultTxSearch, error)
TxSearch provides a mock function with given fields: ctx, query, prove, page, perPage, orderBy
func (*Client) UnconfirmedTxs ¶
func (_m *Client) UnconfirmedTxs(ctx context.Context, limit *int) (*coretypes.ResultUnconfirmedTxs, error)
UnconfirmedTxs provides a mock function with given fields: ctx, limit
func (*Client) Unsubscribe ¶
Unsubscribe provides a mock function with given fields: ctx, subscriber, query
func (*Client) UnsubscribeAll ¶
UnsubscribeAll provides a mock function with given fields: ctx, subscriber
type EVMQueryClient ¶
EVMQueryClient is an autogenerated mock type for the EVMQueryClient type
func NewEVMQueryClient ¶
func NewEVMQueryClient(t mockConstructorTestingTNewEVMQueryClient) *EVMQueryClient
NewEVMQueryClient creates a new instance of EVMQueryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*EVMQueryClient) Account ¶
func (_m *EVMQueryClient) Account(ctx context.Context, in *evmtypes.QueryAccountRequest, opts ...grpc.CallOption) (*evmtypes.QueryAccountResponse, error)
Account provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) Balance ¶
func (_m *EVMQueryClient) Balance(ctx context.Context, in *evmtypes.QueryBalanceRequest, opts ...grpc.CallOption) (*evmtypes.QueryBalanceResponse, error)
Balance provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) BaseFee ¶
func (_m *EVMQueryClient) BaseFee(ctx context.Context, in *evmtypes.QueryBaseFeeRequest, opts ...grpc.CallOption) (*evmtypes.QueryBaseFeeResponse, error)
BaseFee provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) Code ¶
func (_m *EVMQueryClient) Code(ctx context.Context, in *evmtypes.QueryCodeRequest, opts ...grpc.CallOption) (*evmtypes.QueryCodeResponse, error)
Code provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) CosmosAccount ¶
func (_m *EVMQueryClient) CosmosAccount(ctx context.Context, in *evmtypes.QueryCosmosAccountRequest, opts ...grpc.CallOption) (*evmtypes.QueryCosmosAccountResponse, error)
CosmosAccount provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) EstimateGas ¶
func (_m *EVMQueryClient) EstimateGas(ctx context.Context, in *evmtypes.EthCallRequest, opts ...grpc.CallOption) (*evmtypes.EstimateGasResponse, error)
EstimateGas provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) EthCall ¶
func (_m *EVMQueryClient) EthCall(ctx context.Context, in *evmtypes.EthCallRequest, opts ...grpc.CallOption) (*evmtypes.MsgEthereumTxResponse, error)
EthCall provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) Params ¶
func (_m *EVMQueryClient) Params(ctx context.Context, in *evmtypes.QueryParamsRequest, opts ...grpc.CallOption) (*evmtypes.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) Storage ¶
func (_m *EVMQueryClient) Storage(ctx context.Context, in *evmtypes.QueryStorageRequest, opts ...grpc.CallOption) (*evmtypes.QueryStorageResponse, error)
Storage provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) TraceBlock ¶
func (_m *EVMQueryClient) TraceBlock(ctx context.Context, in *evmtypes.QueryTraceBlockRequest, opts ...grpc.CallOption) (*evmtypes.QueryTraceBlockResponse, error)
TraceBlock provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) TraceTx ¶
func (_m *EVMQueryClient) TraceTx(ctx context.Context, in *evmtypes.QueryTraceTxRequest, opts ...grpc.CallOption) (*evmtypes.QueryTraceTxResponse, error)
TraceTx provides a mock function with given fields: ctx, in, opts
func (*EVMQueryClient) ValidatorAccount ¶
func (_m *EVMQueryClient) ValidatorAccount(ctx context.Context, in *evmtypes.QueryValidatorAccountRequest, opts ...grpc.CallOption) (*evmtypes.QueryValidatorAccountResponse, error)
ValidatorAccount provides a mock function with given fields: ctx, in, opts
type EVMTxIndexer ¶
EVMTxIndexer is an autogenerated mock type for the EVMTxIndexer type
func NewEVMTxIndexer ¶
func NewEVMTxIndexer(t mockConstructorTestingTNewEVMTxIndexer) *EVMTxIndexer
NewEVMTxIndexer creates a new instance of EVMTxIndexer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EVMTxIndexer) GetByBlockAndIndex ¶
GetByBlockAndIndex provides a mock function with given fields: _a0, _a1
func (*EVMTxIndexer) GetByTxHash ¶
GetByTxHash provides a mock function with given fields: _a0
func (*EVMTxIndexer) GetLastRequestIndexedBlock ¶
func (_m *EVMTxIndexer) GetLastRequestIndexedBlock() (int64, error)
GetLastIndexedBlock provides a mock function with given fields:
func (*EVMTxIndexer) IndexBlock ¶
func (_m *EVMTxIndexer) IndexBlock(_a0 *cometbfttypes.Block, _a1 []*abci.ResponseDeliverTx) error
IndexBlock provides a mock function with given fields: _a0, _a1
func (*EVMTxIndexer) IsReady ¶
func (_m *EVMTxIndexer) IsReady() bool
IsReady provides a mock function with given fields:
func (*EVMTxIndexer) LastIndexedBlock ¶
func (_m *EVMTxIndexer) LastIndexedBlock() (int64, error)
LastIndexedBlock provides a mock function with given fields:
func (*EVMTxIndexer) Ready ¶
func (_m *EVMTxIndexer) Ready()
Ready provides a mock function with given fields:
type FeeMarketQueryClient ¶
FeeMarketQueryClient is an autogenerated mock type for the QueryClient type
func NewFeeMarketQueryClient ¶
func NewFeeMarketQueryClient(t mockConstructorTestingTNewQueryClient) *FeeMarketQueryClient
NewQueryClient creates a new instance of QueryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FeeMarketQueryClient) BaseFee ¶
func (_m *FeeMarketQueryClient) BaseFee(ctx context.Context, in *feemarkettypes.QueryBaseFeeRequest, opts ...grpc.CallOption) (*feemarkettypes.QueryBaseFeeResponse, error)
BaseFee provides a mock function with given fields: ctx, in, opts
func (*FeeMarketQueryClient) Params ¶
func (_m *FeeMarketQueryClient) Params(ctx context.Context, in *feemarkettypes.QueryParamsRequest, opts ...grpc.CallOption) (*feemarkettypes.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts