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
- func (_m *Chain) UpdateConfig(_a0 *db.ChainCfg)
- type ChainSet
- type NewChainSetT
- type NewChainT
- type NewReaderT
- type NewTxManagerT
- 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
func NewChain ¶ added in v1.5.0
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) UpdateConfig ¶ added in v1.5.0
UpdateConfig provides a mock function with given fields: _a0
type ChainSet ¶
ChainSet is an autogenerated mock type for the ChainSet type
func NewChainSet ¶ added in v1.5.0
func NewChainSet(t NewChainSetT) *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.
type NewChainSetT ¶ added in v1.6.0
type NewReaderT ¶ added in v1.6.0
type NewTxManagerT ¶ added in v1.6.0
type Reader ¶
Reader is an autogenerated mock type for the Reader type
func NewReader ¶ added in v1.5.0
func NewReader(t NewReaderT) *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) 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 NewTxManager ¶ added in v1.5.0
func NewTxManager(t NewTxManagerT) *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.
func (*TxManager) Enqueue ¶ added in v1.3.0
Enqueue provides a mock function with given fields: contractID, msg