mocks

package
v1.4.0-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	mock.Mock
}

Chain is an autogenerated mock type for the Chain type

func (*Chain) Close

func (_m *Chain) Close() error

Close provides a mock function with given fields:

func (*Chain) Config

func (_m *Chain) Config() terra.Config

Config provides a mock function with given fields:

func (*Chain) Healthy

func (_m *Chain) Healthy() error

Healthy provides a mock function with given fields:

func (*Chain) ID

func (_m *Chain) ID() string

ID provides a mock function with given fields:

func (*Chain) Reader

func (_m *Chain) Reader(nodeName string) (client.Reader, error)

Reader provides a mock function with given fields: nodeName

func (*Chain) Ready

func (_m *Chain) Ready() error

Ready provides a mock function with given fields:

func (*Chain) Start

func (_m *Chain) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

func (*Chain) TxManager added in v1.3.0

func (_m *Chain) TxManager() terra.TxManager

TxManager provides a mock function with given fields:

type ChainSet

type ChainSet struct {
	mock.Mock
}

ChainSet is an autogenerated mock type for the ChainSet type

func (*ChainSet) Chain

func (_m *ChainSet) Chain(ctx context.Context, id string) (terra.Chain, error)

Chain provides a mock function with given fields: ctx, id

func (*ChainSet) Close

func (_m *ChainSet) Close() error

Close provides a mock function with given fields:

func (*ChainSet) Healthy

func (_m *ChainSet) Healthy() error

Healthy provides a mock function with given fields:

func (*ChainSet) Ready

func (_m *ChainSet) Ready() error

Ready provides a mock function with given fields:

func (*ChainSet) Start

func (_m *ChainSet) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

type Reader

type Reader struct {
	mock.Mock
}

Reader is an autogenerated mock type for the Reader type

func (*Reader) Account

func (_m *Reader) Account(address types.AccAddress) (uint64, uint64, error)

Account provides a mock function with given fields: address

func (*Reader) Balance

func (_m *Reader) Balance(addr types.AccAddress, denom string) (*types.Coin, error)

Balance provides a mock function with given fields: addr, denom

func (*Reader) BlockByHeight

func (_m *Reader) BlockByHeight(height int64) (*tmservice.GetBlockByHeightResponse, error)

BlockByHeight provides a mock function with given fields: height

func (*Reader) ContractStore

func (_m *Reader) ContractStore(contractAddress types.AccAddress, queryMsg []byte) ([]byte, error)

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

type TxManager struct {
	mock.Mock
}

TxManager is an autogenerated mock type for the TxManager type

func (*TxManager) Enqueue added in v1.3.0

func (_m *TxManager) Enqueue(contractID string, msg types.Msg) (int64, error)

Enqueue provides a mock function with given fields: contractID, msg

func (*TxManager) GasPrice added in v1.3.0

func (_m *TxManager) GasPrice() (types.DecCoin, error)

GasPrice provides a mock function with given fields:

func (*TxManager) GetMsgs added in v1.3.0

func (_m *TxManager) GetMsgs(ids ...int64) (terra.Msgs, error)

GetMsgs provides a mock function with given fields: ids

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL