Documentation ¶
Index ¶
- type ABCIClient
- func (_m *ABCIClient) ABCIInfo(_a0 context.Context) (*coretypes.ResultABCIInfo, error)
- func (_m *ABCIClient) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
- func (_m *ABCIClient) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*coretypes.ResultABCIQuery, error)
- func (_m *ABCIClient) BroadcastTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *ABCIClient) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *ABCIClient) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
- func (_m *ABCIClient) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- 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 bytes.HexBytes) (*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) BroadcastTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, 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) Events(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, 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) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)
- func (_m *Client) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *Client) RemoveTx(_a0 context.Context, _a1 types.TxKey) error
- func (_m *Client) Start(_a0 context.Context) error
- func (_m *Client) Status(_a0 context.Context) (*coretypes.ResultStatus, error)
- 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 bytes.HexBytes, 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, page *int, perPage *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 EventsClient
- type EvidenceClient
- type HistoryClient
- func (_m *HistoryClient) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
- func (_m *HistoryClient) Genesis(_a0 context.Context) (*coretypes.ResultGenesis, error)
- func (_m *HistoryClient) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
- type MempoolClient
- func (_m *MempoolClient) CheckTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultCheckTx, error)
- func (_m *MempoolClient) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *MempoolClient) RemoveTx(_a0 context.Context, _a1 types.TxKey) error
- func (_m *MempoolClient) UnconfirmedTxs(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)
- type NetworkClient
- func (_m *NetworkClient) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
- func (_m *NetworkClient) ConsensusState(_a0 context.Context) (*coretypes.ResultConsensusState, error)
- func (_m *NetworkClient) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
- func (_m *NetworkClient) Health(_a0 context.Context) (*coretypes.ResultHealth, error)
- func (_m *NetworkClient) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)
- type RemoteClient
- func (_m *RemoteClient) ABCIInfo(_a0 context.Context) (*coretypes.ResultABCIInfo, error)
- func (_m *RemoteClient) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
- func (_m *RemoteClient) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*coretypes.ResultABCIQuery, error)
- func (_m *RemoteClient) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
- func (_m *RemoteClient) BlockByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)
- func (_m *RemoteClient) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
- func (_m *RemoteClient) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
- func (_m *RemoteClient) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
- func (_m *RemoteClient) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
- func (_m *RemoteClient) BroadcastTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *RemoteClient) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *RemoteClient) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
- func (_m *RemoteClient) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_m *RemoteClient) CheckTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultCheckTx, error)
- func (_m *RemoteClient) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
- func (_m *RemoteClient) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
- func (_m *RemoteClient) ConsensusState(_a0 context.Context) (*coretypes.ResultConsensusState, error)
- func (_m *RemoteClient) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
- func (_m *RemoteClient) Events(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)
- func (_m *RemoteClient) Genesis(_a0 context.Context) (*coretypes.ResultGenesis, error)
- func (_m *RemoteClient) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
- func (_m *RemoteClient) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
- func (_m *RemoteClient) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
- func (_m *RemoteClient) Health(_a0 context.Context) (*coretypes.ResultHealth, error)
- func (_m *RemoteClient) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)
- func (_m *RemoteClient) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *RemoteClient) Remote() string
- func (_m *RemoteClient) RemoveTx(_a0 context.Context, _a1 types.TxKey) error
- func (_m *RemoteClient) Start(_a0 context.Context) error
- func (_m *RemoteClient) Status(_a0 context.Context) (*coretypes.ResultStatus, error)
- func (_m *RemoteClient) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
- func (_m *RemoteClient) Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)
- func (_m *RemoteClient) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, ...) (*coretypes.ResultTxSearch, error)
- func (_m *RemoteClient) UnconfirmedTxs(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)
- func (_m *RemoteClient) Unsubscribe(ctx context.Context, subscriber string, query string) error
- func (_m *RemoteClient) UnsubscribeAll(ctx context.Context, subscriber string) error
- func (_m *RemoteClient) Validators(ctx context.Context, height *int64, page *int, perPage *int, ...) (*coretypes.ResultValidators, error)
- type SignClient
- func (_m *SignClient) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
- func (_m *SignClient) BlockByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)
- func (_m *SignClient) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
- func (_m *SignClient) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
- func (_m *SignClient) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
- func (_m *SignClient) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
- func (_m *SignClient) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
- func (_m *SignClient) Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)
- func (_m *SignClient) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, ...) (*coretypes.ResultTxSearch, error)
- func (_m *SignClient) Validators(ctx context.Context, height *int64, page *int, perPage *int, ...) (*coretypes.ResultValidators, error)
- type StatusClient
- type SubscriptionClient
- func (_m *SubscriptionClient) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
- func (_m *SubscriptionClient) Unsubscribe(ctx context.Context, subscriber string, query string) error
- func (_m *SubscriptionClient) UnsubscribeAll(ctx context.Context, subscriber string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABCIClient ¶
ABCIClient is an autogenerated mock type for the ABCIClient type
func NewABCIClient ¶
func NewABCIClient(t interface { mock.TestingT Cleanup(func()) }) *ABCIClient
NewABCIClient creates a new instance of ABCIClient. 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 (*ABCIClient) ABCIInfo ¶
func (_m *ABCIClient) ABCIInfo(_a0 context.Context) (*coretypes.ResultABCIInfo, error)
ABCIInfo provides a mock function with given fields: _a0
func (*ABCIClient) ABCIQuery ¶
func (_m *ABCIClient) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
ABCIQuery provides a mock function with given fields: ctx, path, data
func (*ABCIClient) ABCIQueryWithOptions ¶
func (_m *ABCIClient) 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 (*ABCIClient) BroadcastTx ¶
func (_m *ABCIClient) BroadcastTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTx provides a mock function with given fields: _a0, _a1
func (*ABCIClient) BroadcastTxAsync ¶
func (_m *ABCIClient) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxAsync provides a mock function with given fields: _a0, _a1
func (*ABCIClient) BroadcastTxCommit ¶
func (_m *ABCIClient) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
BroadcastTxCommit provides a mock function with given fields: _a0, _a1
func (*ABCIClient) BroadcastTxSync ¶
func (_m *ABCIClient) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxSync provides a mock function with given fields: _a0, _a1
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) ABCIQuery ¶
func (_m *Client) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
ABCIQuery provides a mock function with given fields: ctx, path, data
func (*Client) ABCIQueryWithOptions ¶
func (_m *Client) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error)
ABCIQueryWithOptions provides a mock function with given fields: ctx, path, data, opts
func (*Client) BlockByHash ¶
func (_m *Client) BlockByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)
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) BroadcastTx ¶
func (_m *Client) BroadcastTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTx 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) Events ¶
func (_m *Client) Events(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)
Events provides a mock function with given fields: ctx, req
func (*Client) GenesisChunked ¶
func (_m *Client) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
GenesisChunked provides a mock function with given fields: _a0, _a1
func (*Client) HeaderByHash ¶
func (_m *Client) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
HeaderByHash provides a mock function with given fields: ctx, hash
func (*Client) NumUnconfirmedTxs ¶
NumUnconfirmedTxs provides a mock function with given fields: _a0
func (*Client) 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) Tx ¶
func (_m *Client) Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)
Tx provides a mock function with given fields: ctx, hash, prove
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, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)
UnconfirmedTxs provides a mock function with given fields: ctx, page, perPage
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 EventsClient ¶
EventsClient is an autogenerated mock type for the EventsClient type
func NewEventsClient ¶
func NewEventsClient(t interface { mock.TestingT Cleanup(func()) }) *EventsClient
NewEventsClient creates a new instance of EventsClient. 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 (*EventsClient) Events ¶
func (_m *EventsClient) Events(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)
Events provides a mock function with given fields: ctx, req
type EvidenceClient ¶
EvidenceClient is an autogenerated mock type for the EvidenceClient type
func NewEvidenceClient ¶
func NewEvidenceClient(t interface { mock.TestingT Cleanup(func()) }) *EvidenceClient
NewEvidenceClient creates a new instance of EvidenceClient. 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 (*EvidenceClient) BroadcastEvidence ¶
func (_m *EvidenceClient) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
BroadcastEvidence provides a mock function with given fields: _a0, _a1
type HistoryClient ¶
HistoryClient is an autogenerated mock type for the HistoryClient type
func NewHistoryClient ¶
func NewHistoryClient(t interface { mock.TestingT Cleanup(func()) }) *HistoryClient
NewHistoryClient creates a new instance of HistoryClient. 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 (*HistoryClient) BlockchainInfo ¶
func (_m *HistoryClient) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
BlockchainInfo provides a mock function with given fields: ctx, minHeight, maxHeight
func (*HistoryClient) Genesis ¶
func (_m *HistoryClient) Genesis(_a0 context.Context) (*coretypes.ResultGenesis, error)
Genesis provides a mock function with given fields: _a0
func (*HistoryClient) GenesisChunked ¶
func (_m *HistoryClient) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
GenesisChunked provides a mock function with given fields: _a0, _a1
type MempoolClient ¶
MempoolClient is an autogenerated mock type for the MempoolClient type
func NewMempoolClient ¶
func NewMempoolClient(t interface { mock.TestingT Cleanup(func()) }) *MempoolClient
NewMempoolClient creates a new instance of MempoolClient. 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 (*MempoolClient) CheckTx ¶
func (_m *MempoolClient) CheckTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultCheckTx, error)
CheckTx provides a mock function with given fields: _a0, _a1
func (*MempoolClient) NumUnconfirmedTxs ¶
func (_m *MempoolClient) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
NumUnconfirmedTxs provides a mock function with given fields: _a0
func (*MempoolClient) UnconfirmedTxs ¶
func (_m *MempoolClient) UnconfirmedTxs(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)
UnconfirmedTxs provides a mock function with given fields: ctx, page, perPage
type NetworkClient ¶
NetworkClient is an autogenerated mock type for the NetworkClient type
func NewNetworkClient ¶
func NewNetworkClient(t interface { mock.TestingT Cleanup(func()) }) *NetworkClient
NewNetworkClient creates a new instance of NetworkClient. 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 (*NetworkClient) ConsensusParams ¶
func (_m *NetworkClient) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
ConsensusParams provides a mock function with given fields: ctx, height
func (*NetworkClient) ConsensusState ¶
func (_m *NetworkClient) ConsensusState(_a0 context.Context) (*coretypes.ResultConsensusState, error)
ConsensusState provides a mock function with given fields: _a0
func (*NetworkClient) DumpConsensusState ¶
func (_m *NetworkClient) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
DumpConsensusState provides a mock function with given fields: _a0
func (*NetworkClient) Health ¶
func (_m *NetworkClient) Health(_a0 context.Context) (*coretypes.ResultHealth, error)
Health provides a mock function with given fields: _a0
func (*NetworkClient) NetInfo ¶
func (_m *NetworkClient) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)
NetInfo provides a mock function with given fields: _a0
type RemoteClient ¶
RemoteClient is an autogenerated mock type for the RemoteClient type
func NewRemoteClient ¶
func NewRemoteClient(t interface { mock.TestingT Cleanup(func()) }) *RemoteClient
NewRemoteClient creates a new instance of RemoteClient. 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 (*RemoteClient) ABCIInfo ¶
func (_m *RemoteClient) ABCIInfo(_a0 context.Context) (*coretypes.ResultABCIInfo, error)
ABCIInfo provides a mock function with given fields: _a0
func (*RemoteClient) ABCIQuery ¶
func (_m *RemoteClient) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
ABCIQuery provides a mock function with given fields: ctx, path, data
func (*RemoteClient) ABCIQueryWithOptions ¶
func (_m *RemoteClient) 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 (*RemoteClient) Block ¶
func (_m *RemoteClient) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
Block provides a mock function with given fields: ctx, height
func (*RemoteClient) BlockByHash ¶
func (_m *RemoteClient) BlockByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)
BlockByHash provides a mock function with given fields: ctx, hash
func (*RemoteClient) BlockResults ¶
func (_m *RemoteClient) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
BlockResults provides a mock function with given fields: ctx, height
func (*RemoteClient) BlockSearch ¶
func (_m *RemoteClient) 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 (*RemoteClient) BlockchainInfo ¶
func (_m *RemoteClient) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
BlockchainInfo provides a mock function with given fields: ctx, minHeight, maxHeight
func (*RemoteClient) BroadcastEvidence ¶
func (_m *RemoteClient) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
BroadcastEvidence provides a mock function with given fields: _a0, _a1
func (*RemoteClient) BroadcastTx ¶
func (_m *RemoteClient) BroadcastTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTx provides a mock function with given fields: _a0, _a1
func (*RemoteClient) BroadcastTxAsync ¶
func (_m *RemoteClient) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxAsync provides a mock function with given fields: _a0, _a1
func (*RemoteClient) BroadcastTxCommit ¶
func (_m *RemoteClient) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
BroadcastTxCommit provides a mock function with given fields: _a0, _a1
func (*RemoteClient) BroadcastTxSync ¶
func (_m *RemoteClient) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxSync provides a mock function with given fields: _a0, _a1
func (*RemoteClient) CheckTx ¶
func (_m *RemoteClient) CheckTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultCheckTx, error)
CheckTx provides a mock function with given fields: _a0, _a1
func (*RemoteClient) Commit ¶
func (_m *RemoteClient) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
Commit provides a mock function with given fields: ctx, height
func (*RemoteClient) ConsensusParams ¶
func (_m *RemoteClient) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
ConsensusParams provides a mock function with given fields: ctx, height
func (*RemoteClient) ConsensusState ¶
func (_m *RemoteClient) ConsensusState(_a0 context.Context) (*coretypes.ResultConsensusState, error)
ConsensusState provides a mock function with given fields: _a0
func (*RemoteClient) DumpConsensusState ¶
func (_m *RemoteClient) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)
DumpConsensusState provides a mock function with given fields: _a0
func (*RemoteClient) Events ¶
func (_m *RemoteClient) Events(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)
Events provides a mock function with given fields: ctx, req
func (*RemoteClient) Genesis ¶
func (_m *RemoteClient) Genesis(_a0 context.Context) (*coretypes.ResultGenesis, error)
Genesis provides a mock function with given fields: _a0
func (*RemoteClient) GenesisChunked ¶
func (_m *RemoteClient) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)
GenesisChunked provides a mock function with given fields: _a0, _a1
func (*RemoteClient) Header ¶
func (_m *RemoteClient) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
Header provides a mock function with given fields: ctx, height
func (*RemoteClient) HeaderByHash ¶
func (_m *RemoteClient) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
HeaderByHash provides a mock function with given fields: ctx, hash
func (*RemoteClient) Health ¶
func (_m *RemoteClient) Health(_a0 context.Context) (*coretypes.ResultHealth, error)
Health provides a mock function with given fields: _a0
func (*RemoteClient) NetInfo ¶
func (_m *RemoteClient) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)
NetInfo provides a mock function with given fields: _a0
func (*RemoteClient) NumUnconfirmedTxs ¶
func (_m *RemoteClient) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
NumUnconfirmedTxs provides a mock function with given fields: _a0
func (*RemoteClient) Remote ¶
func (_m *RemoteClient) Remote() string
Remote provides a mock function with given fields:
func (*RemoteClient) Start ¶
func (_m *RemoteClient) Start(_a0 context.Context) error
Start provides a mock function with given fields: _a0
func (*RemoteClient) Status ¶
func (_m *RemoteClient) Status(_a0 context.Context) (*coretypes.ResultStatus, error)
Status provides a mock function with given fields: _a0
func (*RemoteClient) Subscribe ¶
func (_m *RemoteClient) 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 (*RemoteClient) Tx ¶
func (_m *RemoteClient) Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)
Tx provides a mock function with given fields: ctx, hash, prove
func (*RemoteClient) TxSearch ¶
func (_m *RemoteClient) 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 (*RemoteClient) UnconfirmedTxs ¶
func (_m *RemoteClient) UnconfirmedTxs(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)
UnconfirmedTxs provides a mock function with given fields: ctx, page, perPage
func (*RemoteClient) Unsubscribe ¶
Unsubscribe provides a mock function with given fields: ctx, subscriber, query
func (*RemoteClient) UnsubscribeAll ¶
func (_m *RemoteClient) UnsubscribeAll(ctx context.Context, subscriber string) error
UnsubscribeAll provides a mock function with given fields: ctx, subscriber
func (*RemoteClient) Validators ¶
func (_m *RemoteClient) Validators(ctx context.Context, height *int64, page *int, perPage *int, requestQuorumInfo *bool) (*coretypes.ResultValidators, error)
Validators provides a mock function with given fields: ctx, height, page, perPage, requestQuorumInfo
type SignClient ¶
SignClient is an autogenerated mock type for the SignClient type
func NewSignClient ¶
func NewSignClient(t interface { mock.TestingT Cleanup(func()) }) *SignClient
NewSignClient creates a new instance of SignClient. 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 (*SignClient) Block ¶
func (_m *SignClient) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
Block provides a mock function with given fields: ctx, height
func (*SignClient) BlockByHash ¶
func (_m *SignClient) BlockByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)
BlockByHash provides a mock function with given fields: ctx, hash
func (*SignClient) BlockResults ¶
func (_m *SignClient) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
BlockResults provides a mock function with given fields: ctx, height
func (*SignClient) BlockSearch ¶
func (_m *SignClient) 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 (*SignClient) Commit ¶
func (_m *SignClient) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
Commit provides a mock function with given fields: ctx, height
func (*SignClient) Header ¶
func (_m *SignClient) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
Header provides a mock function with given fields: ctx, height
func (*SignClient) HeaderByHash ¶
func (_m *SignClient) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
HeaderByHash provides a mock function with given fields: ctx, hash
func (*SignClient) Tx ¶
func (_m *SignClient) Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)
Tx provides a mock function with given fields: ctx, hash, prove
func (*SignClient) TxSearch ¶
func (_m *SignClient) 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 (*SignClient) Validators ¶
func (_m *SignClient) Validators(ctx context.Context, height *int64, page *int, perPage *int, requestQuorumInfo *bool) (*coretypes.ResultValidators, error)
Validators provides a mock function with given fields: ctx, height, page, perPage, requestQuorumInfo
type StatusClient ¶
StatusClient is an autogenerated mock type for the StatusClient type
func NewStatusClient ¶
func NewStatusClient(t interface { mock.TestingT Cleanup(func()) }) *StatusClient
NewStatusClient creates a new instance of StatusClient. 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 (*StatusClient) Status ¶
func (_m *StatusClient) Status(_a0 context.Context) (*coretypes.ResultStatus, error)
Status provides a mock function with given fields: _a0
type SubscriptionClient ¶
SubscriptionClient is an autogenerated mock type for the SubscriptionClient type
func NewSubscriptionClient ¶
func NewSubscriptionClient(t interface { mock.TestingT Cleanup(func()) }) *SubscriptionClient
NewSubscriptionClient creates a new instance of SubscriptionClient. 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 (*SubscriptionClient) Subscribe ¶
func (_m *SubscriptionClient) 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 (*SubscriptionClient) Unsubscribe ¶
func (_m *SubscriptionClient) Unsubscribe(ctx context.Context, subscriber string, query string) error
Unsubscribe provides a mock function with given fields: ctx, subscriber, query
func (*SubscriptionClient) UnsubscribeAll ¶
func (_m *SubscriptionClient) UnsubscribeAll(ctx context.Context, subscriber string) error
UnsubscribeAll provides a mock function with given fields: ctx, subscriber