Documentation
¶
Index ¶
- type Client
- func (_m *Client) AdminAPI() admin.Client
- func (_m *Client) CChainAPI() *evm.Client
- func (_m *Client) CChainEthAPI() api.EthClient
- func (_m *Client) CChainIndexAPI() 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) PChainAPI() platformvm.Client
- func (_m *Client) PChainIndexAPI() indexer.Client
- func (_m *Client) XChainAPI() avm.Client
- func (_m *Client) XChainWalletAPI() avm.WalletClient
- type EthClient
- 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) 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) SuggestGasPrice(_a0 context.Context) (*big.Int, error)
- func (_m *EthClient) TransactionReceipt(_a0 context.Context, _a1 common.Hash) (*types.Receipt, error)
- type HealthClient
- type InfoClient
- func (_m *InfoClient) GetBlockchainID(alias string) (ids.ID, error)
- func (_m *InfoClient) GetNetworkID() (uint32, error)
- func (_m *InfoClient) GetNetworkName() (string, error)
- func (_m *InfoClient) GetNodeID() (string, error)
- func (_m *InfoClient) GetNodeIP() (string, error)
- func (_m *InfoClient) GetNodeVersion() (*info.GetNodeVersionReply, error)
- func (_m *InfoClient) GetTxFee() (*info.GetTxFeeResponse, error)
- func (_m *InfoClient) IsBootstrapped(chainID string) (bool, error)
- func (_m *InfoClient) Peers() ([]network.PeerInfo, error)
- func (_m *InfoClient) Uptime() (*info.UptimeResponse, 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) CChainEthAPI ¶
CChainEthAPI provides a mock function with given fields:
func (*Client) CChainIndexAPI ¶
CChainIndexAPI provides a mock function with given fields:
func (*Client) KeystoreAPI ¶
KeystoreAPI provides a mock function with given fields:
func (*Client) PChainAPI ¶
func (_m *Client) PChainAPI() platformvm.Client
PChainAPI provides a mock function with given fields:
func (*Client) PChainIndexAPI ¶
PChainIndexAPI provides a mock function with given fields:
func (*Client) XChainWalletAPI ¶
func (_m *Client) XChainWalletAPI() avm.WalletClient
XChainWalletAPI provides a mock function with given fields:
type EthClient ¶
EthClient is an autogenerated mock type for the EthClient type
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) SendTransaction ¶
SendTransaction provides a mock function with given fields: _a0, _a1
func (*EthClient) SuggestGasPrice ¶
SuggestGasPrice provides a mock function with given fields: _a0
type HealthClient ¶
HealthClient is an autogenerated mock type for the Client type
func (*HealthClient) AwaitHealthy ¶
AwaitHealthy provides a mock function with given fields: numChecks, freq
func (*HealthClient) Health ¶
func (_m *HealthClient) Health() (*health.APIHealthClientReply, error)
Health provides a mock function with given fields:
type InfoClient ¶
InfoClient is an autogenerated mock type for the Client type
func (*InfoClient) GetBlockchainID ¶
func (_m *InfoClient) GetBlockchainID(alias string) (ids.ID, error)
GetBlockchainID provides a mock function with given fields: alias
func (*InfoClient) GetNetworkID ¶
func (_m *InfoClient) GetNetworkID() (uint32, error)
GetNetworkID provides a mock function with given fields:
func (*InfoClient) GetNetworkName ¶
func (_m *InfoClient) GetNetworkName() (string, error)
GetNetworkName provides a mock function with given fields:
func (*InfoClient) GetNodeID ¶
func (_m *InfoClient) GetNodeID() (string, error)
GetNodeID provides a mock function with given fields:
func (*InfoClient) GetNodeIP ¶
func (_m *InfoClient) GetNodeIP() (string, error)
GetNodeIP provides a mock function with given fields:
func (*InfoClient) GetNodeVersion ¶
func (_m *InfoClient) GetNodeVersion() (*info.GetNodeVersionReply, error)
GetNodeVersion provides a mock function with given fields:
func (*InfoClient) GetTxFee ¶
func (_m *InfoClient) GetTxFee() (*info.GetTxFeeResponse, error)
GetTxFee provides a mock function with given fields:
func (*InfoClient) IsBootstrapped ¶
func (_m *InfoClient) IsBootstrapped(chainID string) (bool, error)
IsBootstrapped provides a mock function with given fields: chainID
func (*InfoClient) Peers ¶
func (_m *InfoClient) Peers() ([]network.PeerInfo, error)
Peers provides a mock function with given fields:
func (*InfoClient) Uptime ¶
func (_m *InfoClient) Uptime() (*info.UptimeResponse, error)
Uptime provides a mock function with given fields: