Documentation ¶
Index ¶
- type Chain
- func (_m *Chain) Close() error
- func (_m *Chain) Config() config.Config
- func (_m *Chain) HealthReport() map[string]error
- func (_m *Chain) ID() string
- func (_m *Chain) Name() string
- func (_m *Chain) Reader(nodeName string) (client.Reader, error)
- func (_m *Chain) Ready() error
- func (_m *Chain) Start(_a0 context.Context) error
- func (_m *Chain) TxManager() adapters.TxManager
- type ChainSet
- type Reader
- func (_m *Reader) Account(address types.AccAddress) (uint64, uint64, error)
- func (_m *Reader) Balance(addr types.AccAddress, denom string) (*types.Coin, error)
- func (_m *Reader) BlockByHeight(height int64) (*tmservice.GetBlockByHeightResponse, error)
- func (_m *Reader) Context() *cosmos_sdkclient.Context
- func (_m *Reader) ContractState(contractAddress types.AccAddress, queryMsg []byte) ([]byte, error)
- func (_m *Reader) LatestBlock() (*tmservice.GetLatestBlockResponse, error)
- func (_m *Reader) Tx(hash string) (*tx.GetTxResponse, error)
- func (_m *Reader) TxsEvents(events []string, paginationParams *query.PageRequest) (*tx.GetTxsEventResponse, error)
- type TxManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
Chain is an autogenerated mock type for the Chain type
func NewChain ¶
func NewChain(t mockConstructorTestingTNewChain) *Chain
NewChain creates a new instance of Chain. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Chain) HealthReport ¶
HealthReport provides a mock function with given fields:
type ChainSet ¶
ChainSet is an autogenerated mock type for the ChainSet type
func NewChainSet ¶
func NewChainSet(t mockConstructorTestingTNewChainSet) *ChainSet
NewChainSet creates a new instance of ChainSet. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ChainSet) HealthReport ¶
HealthReport provides a mock function with given fields:
type Reader ¶
Reader is an autogenerated mock type for the Reader type
func NewReader ¶
func NewReader(t mockConstructorTestingTNewReader) *Reader
NewReader creates a new instance of Reader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Reader) BlockByHeight ¶
func (_m *Reader) BlockByHeight(height int64) (*tmservice.GetBlockByHeightResponse, error)
BlockByHeight provides a mock function with given fields: height
func (*Reader) Context ¶
func (_m *Reader) Context() *cosmos_sdkclient.Context
Context provides a mock function with given fields:
func (*Reader) ContractState ¶
ContractState provides a mock function with given fields: contractAddress, queryMsg
func (*Reader) LatestBlock ¶
func (_m *Reader) LatestBlock() (*tmservice.GetLatestBlockResponse, error)
LatestBlock provides a mock function with given fields:
func (*Reader) Tx ¶
func (_m *Reader) Tx(hash string) (*tx.GetTxResponse, error)
Tx provides a mock function with given fields: hash
func (*Reader) TxsEvents ¶
func (_m *Reader) TxsEvents(events []string, paginationParams *query.PageRequest) (*tx.GetTxsEventResponse, error)
TxsEvents provides a mock function with given fields: events, paginationParams
type TxManager ¶
TxManager is an autogenerated mock type for the TxManager type
func NewTxManager ¶
func NewTxManager(t mockConstructorTestingTNewTxManager) *TxManager
NewTxManager creates a new instance of TxManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.