Documentation ¶
Index ¶
- type Client
- func (_m *Client) AChainAPI() alpha.Client
- func (_m *Client) AChainWalletAPI() alpha.WalletClient
- func (_m *Client) AdminAPI() admin.Client
- func (_m *Client) DChainAPI() evm.Client
- func (_m *Client) DChainEthAPI() api.EthClient
- func (_m *Client) DChainIndexAPI() indexer.Client
- func (_m *Client) HealthAPI() health.Client
- func (_m *Client) InfoAPI() info.Client
- func (_m *Client) IpcsAPI() ipcs.Client
- func (_m *Client) KeystoreAPI() keystore.Client
- func (_m *Client) OChainAPI() omegavm.Client
- func (_m *Client) OChainIndexAPI() indexer.Client
- type EthClient
- func (_m *EthClient) AcceptedCallContract(_a0 context.Context, _a1 interfaces.CallMsg) ([]byte, error)
- func (_m *EthClient) AcceptedCodeAt(_a0 context.Context, _a1 common.Address) ([]byte, error)
- func (_m *EthClient) AcceptedNonceAt(_a0 context.Context, _a1 common.Address) (uint64, error)
- func (_m *EthClient) AssetBalanceAt(_a0 context.Context, _a1 common.Address, _a2 ids.ID, _a3 *big.Int) (*big.Int, error)
- func (_m *EthClient) BalanceAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) (*big.Int, error)
- func (_m *EthClient) BlockByHash(_a0 context.Context, _a1 common.Hash) (*types.Block, error)
- func (_m *EthClient) BlockByNumber(_a0 context.Context, _a1 *big.Int) (*types.Block, error)
- func (_m *EthClient) BlockNumber(_a0 context.Context) (uint64, error)
- func (_m *EthClient) CallContract(_a0 context.Context, _a1 interfaces.CallMsg, _a2 *big.Int) ([]byte, error)
- func (_m *EthClient) Close()
- func (_m *EthClient) CodeAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) ([]byte, error)
- func (_m *EthClient) EstimateGas(_a0 context.Context, _a1 interfaces.CallMsg) (uint64, error)
- func (_m *EthClient) FilterLogs(_a0 context.Context, _a1 interfaces.FilterQuery) ([]types.Log, error)
- func (_m *EthClient) HeaderByNumber(_a0 context.Context, _a1 *big.Int) (*types.Header, error)
- func (_m *EthClient) NonceAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) (uint64, error)
- func (_m *EthClient) SendTransaction(_a0 context.Context, _a1 *types.Transaction) error
- func (_m *EthClient) SubscribeFilterLogs(_a0 context.Context, _a1 interfaces.FilterQuery, _a2 chan<- types.Log) (interfaces.Subscription, error)
- func (_m *EthClient) SuggestGasPrice(_a0 context.Context) (*big.Int, error)
- func (_m *EthClient) SuggestGasTipCap(_a0 context.Context) (*big.Int, error)
- func (_m *EthClient) TransactionReceipt(_a0 context.Context, _a1 common.Hash) (*types.Receipt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) AChainWalletAPI ¶
func (_m *Client) AChainWalletAPI() alpha.WalletClient
AChainWalletAPI provides a mock function with given fields:
func (*Client) DChainEthAPI ¶
DChainEthAPI provides a mock function with given fields:
func (*Client) DChainIndexAPI ¶
DChainIndexAPI provides a mock function with given fields:
func (*Client) KeystoreAPI ¶
KeystoreAPI provides a mock function with given fields:
func (*Client) OChainIndexAPI ¶
OChainIndexAPI provides a mock function with given fields:
type EthClient ¶
EthClient is an autogenerated mock type for the EthClient type
func (*EthClient) AcceptedCallContract ¶
func (_m *EthClient) AcceptedCallContract(_a0 context.Context, _a1 interfaces.CallMsg) ([]byte, error)
AcceptedCallContract provides a mock function with given fields: _a0, _a1
func (*EthClient) AcceptedCodeAt ¶
AcceptedCodeAt provides a mock function with given fields: _a0, _a1
func (*EthClient) AcceptedNonceAt ¶
AcceptedNonceAt provides a mock function with given fields: _a0, _a1
func (*EthClient) AssetBalanceAt ¶
func (_m *EthClient) AssetBalanceAt(_a0 context.Context, _a1 common.Address, _a2 ids.ID, _a3 *big.Int) (*big.Int, error)
AssetBalanceAt provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*EthClient) BalanceAt ¶
func (_m *EthClient) BalanceAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) (*big.Int, error)
BalanceAt provides a mock function with given fields: _a0, _a1, _a2
func (*EthClient) BlockByHash ¶
BlockByHash provides a mock function with given fields: _a0, _a1
func (*EthClient) BlockByNumber ¶
BlockByNumber provides a mock function with given fields: _a0, _a1
func (*EthClient) BlockNumber ¶
BlockNumber provides a mock function with given fields: _a0
func (*EthClient) CallContract ¶
func (_m *EthClient) CallContract(_a0 context.Context, _a1 interfaces.CallMsg, _a2 *big.Int) ([]byte, error)
CallContract provides a mock function with given fields: _a0, _a1, _a2
func (*EthClient) Close ¶
func (_m *EthClient) Close()
Close provides a mock function with given fields:
func (*EthClient) EstimateGas ¶
EstimateGas provides a mock function with given fields: _a0, _a1
func (*EthClient) FilterLogs ¶
func (_m *EthClient) FilterLogs(_a0 context.Context, _a1 interfaces.FilterQuery) ([]types.Log, error)
FilterLogs provides a mock function with given fields: _a0, _a1
func (*EthClient) HeaderByNumber ¶
HeaderByNumber provides a mock function with given fields: _a0, _a1
func (*EthClient) SendTransaction ¶
SendTransaction provides a mock function with given fields: _a0, _a1
func (*EthClient) SubscribeFilterLogs ¶
func (_m *EthClient) SubscribeFilterLogs(_a0 context.Context, _a1 interfaces.FilterQuery, _a2 chan<- types.Log) (interfaces.Subscription, error)
SubscribeFilterLogs provides a mock function with given fields: _a0, _a1, _a2
func (*EthClient) SuggestGasPrice ¶
SuggestGasPrice provides a mock function with given fields: _a0
func (*EthClient) SuggestGasTipCap ¶
SuggestGasTipCap provides a mock function with given fields: _a0