Documentation ¶
Index ¶
- type Chain
- func (_m *Chain) Close() error
- func (_m *Chain) Config() terra.Config
- func (_m *Chain) Healthy() error
- func (_m *Chain) ID() 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() terra.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) ContractStore(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
type ChainSet ¶
ChainSet is an autogenerated mock type for the ChainSet type
type Reader ¶
Reader is an autogenerated mock type for the Reader type
func (*Reader) BlockByHeight ¶
func (_m *Reader) BlockByHeight(height int64) (*tmservice.GetBlockByHeightResponse, error)
BlockByHeight provides a mock function with given fields: height
func (*Reader) ContractStore ¶
ContractStore 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 ¶ added in v1.3.0
TxManager is an autogenerated mock type for the TxManager type
func (*TxManager) Enqueue ¶ added in v1.3.0
Enqueue provides a mock function with given fields: contractID, msg