Documentation ¶
Index ¶
- type IClient
- func (_m *IClient) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (_m *IClient) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (_m *IClient) GetBalance(ctx context.Context, hexAddr string) (*big.Int, error)
- func (_m *IClient) GetBlockByHash(hash common.Hash) (*bsctypes.Block, error)
- func (_m *IClient) GetBlockNumber() (uint64, error)
- func (_m *IClient) GetBlockReceipts(hash common.Hash) (types.Receipts, error)
- func (_m *IClient) GetChainID() *big.Int
- func (_m *IClient) GetHeaderByHeight(ctx context.Context, height *big.Int) (*types.Header, error)
- func (_m *IClient) GetMedianGasPriceForBlock(ctx context.Context) (*big.Int, *big.Int, error)
- func (_m *IClient) GetStatus(opts *bind.CallOpts, _link string) (bmcperiphery.TypesLinkStats, error)
- func (_m *IClient) HandleRelayMessage(opts *bind.TransactOpts, _prev string, _msg []byte) (*types.Transaction, error)
- func (_m *IClient) Log() log.Logger
- func (_m *IClient) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
- func (_m *IClient) ParseMessage(_a0 types.Log) (*bmcperiphery.BmcperipheryMessage, error)
- func (_m *IClient) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (_m *IClient) TransactionByHash(ctx context.Context, blockHash common.Hash) (*types.Transaction, bool, error)
- func (_m *IClient) TransactionCount(ctx context.Context, blockHash common.Hash) (uint, error)
- func (_m *IClient) TransactionInBlock(ctx context.Context, blockHash common.Hash, index uint) (*types.Transaction, error)
- func (_m *IClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IClient ¶
IClient is an autogenerated mock type for the IClient type
func (*IClient) CallContract ¶
func (_m *IClient) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
CallContract provides a mock function with given fields: ctx, msg, blockNumber
func (*IClient) FilterLogs ¶
FilterLogs provides a mock function with given fields: ctx, q
func (*IClient) GetBalance ¶
GetBalance provides a mock function with given fields: ctx, hexAddr
func (*IClient) GetBlockByHash ¶
GetBlockByHash provides a mock function with given fields: hash
func (*IClient) GetBlockNumber ¶
GetBlockNumber provides a mock function with given fields:
func (*IClient) GetBlockReceipts ¶
GetBlockReceipts provides a mock function with given fields: hash
func (*IClient) GetChainID ¶
GetChainID provides a mock function with given fields:
func (*IClient) GetHeaderByHeight ¶
GetHeaderByHeight provides a mock function with given fields: ctx, height
func (*IClient) GetMedianGasPriceForBlock ¶
GetMedianGasPriceForBlock provides a mock function with given fields: ctx
func (*IClient) GetStatus ¶
func (_m *IClient) GetStatus(opts *bind.CallOpts, _link string) (bmcperiphery.TypesLinkStats, error)
GetStatus provides a mock function with given fields: opts, _link
func (*IClient) HandleRelayMessage ¶
func (_m *IClient) HandleRelayMessage(opts *bind.TransactOpts, _prev string, _msg []byte) (*types.Transaction, error)
HandleRelayMessage provides a mock function with given fields: opts, _prev, _msg
func (*IClient) NonceAt ¶
func (_m *IClient) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
NonceAt provides a mock function with given fields: ctx, account, blockNumber
func (*IClient) ParseMessage ¶
func (_m *IClient) ParseMessage(_a0 types.Log) (*bmcperiphery.BmcperipheryMessage, error)
ParseMessage provides a mock function with given fields: _a0
func (*IClient) SuggestGasPrice ¶
SuggestGasPrice provides a mock function with given fields: ctx
func (*IClient) TransactionByHash ¶
func (_m *IClient) TransactionByHash(ctx context.Context, blockHash common.Hash) (*types.Transaction, bool, error)
TransactionByHash provides a mock function with given fields: ctx, blockHash
func (*IClient) TransactionCount ¶
TransactionCount provides a mock function with given fields: ctx, blockHash