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) 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)
- type HealthClient
- func (_m *HealthClient) AwaitHealthy(ctx context.Context, freq time.Duration) (bool, error)
- func (_m *HealthClient) Health(_a0 context.Context) (*health.APIHealthReply, error)
- func (_m *HealthClient) Liveness(_a0 context.Context) (*health.APIHealthReply, error)
- func (_m *HealthClient) Readiness(_a0 context.Context) (*health.APIHealthReply, error)
- type InfoClient
- func (_m *InfoClient) GetBlockchainID(_a0 context.Context, _a1 string) (ids.ID, error)
- func (_m *InfoClient) GetNetworkID(_a0 context.Context) (uint32, error)
- func (_m *InfoClient) GetNetworkName(_a0 context.Context) (string, error)
- func (_m *InfoClient) GetNodeID(_a0 context.Context) (string, error)
- func (_m *InfoClient) GetNodeIP(_a0 context.Context) (string, error)
- func (_m *InfoClient) GetNodeVersion(_a0 context.Context) (*info.GetNodeVersionReply, error)
- func (_m *InfoClient) GetTxFee(_a0 context.Context) (*info.GetTxFeeResponse, error)
- func (_m *InfoClient) IsBootstrapped(_a0 context.Context, _a1 string) (bool, error)
- func (_m *InfoClient) Peers(_a0 context.Context) ([]network.PeerInfo, error)
- func (_m *InfoClient) Uptime(_a0 context.Context) (*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) AcceptedCallContract ¶ added in v1.0.2
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 ¶ added in v1.0.2
AcceptedCodeAt provides a mock function with given fields: _a0, _a1
func (*EthClient) AcceptedNonceAt ¶ added in v1.0.2
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) CodeAt ¶ added in v1.0.2
CodeAt provides a mock function with given fields: _a0, _a1, _a2
func (*EthClient) EstimateGas ¶ added in v1.0.2
EstimateGas provides a mock function with given fields: _a0, _a1
func (*EthClient) FilterLogs ¶ added in v1.0.2
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 ¶ added in v1.0.2
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 ¶ added in v1.0.2
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 ¶ added in v1.0.2
SuggestGasTipCap 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: ctx, freq
func (*HealthClient) Health ¶
func (_m *HealthClient) Health(_a0 context.Context) (*health.APIHealthReply, error)
Health provides a mock function with given fields: _a0
func (*HealthClient) Liveness ¶ added in v1.0.2
func (_m *HealthClient) Liveness(_a0 context.Context) (*health.APIHealthReply, error)
Liveness provides a mock function with given fields: _a0
func (*HealthClient) Readiness ¶ added in v1.0.2
func (_m *HealthClient) Readiness(_a0 context.Context) (*health.APIHealthReply, error)
Readiness provides a mock function with given fields: _a0
type InfoClient ¶
InfoClient is an autogenerated mock type for the Client type
func (*InfoClient) GetBlockchainID ¶
GetBlockchainID provides a mock function with given fields: _a0, _a1
func (*InfoClient) GetNetworkID ¶
func (_m *InfoClient) GetNetworkID(_a0 context.Context) (uint32, error)
GetNetworkID provides a mock function with given fields: _a0
func (*InfoClient) GetNetworkName ¶
func (_m *InfoClient) GetNetworkName(_a0 context.Context) (string, error)
GetNetworkName provides a mock function with given fields: _a0
func (*InfoClient) GetNodeID ¶
func (_m *InfoClient) GetNodeID(_a0 context.Context) (string, error)
GetNodeID provides a mock function with given fields: _a0
func (*InfoClient) GetNodeIP ¶
func (_m *InfoClient) GetNodeIP(_a0 context.Context) (string, error)
GetNodeIP provides a mock function with given fields: _a0
func (*InfoClient) GetNodeVersion ¶
func (_m *InfoClient) GetNodeVersion(_a0 context.Context) (*info.GetNodeVersionReply, error)
GetNodeVersion provides a mock function with given fields: _a0
func (*InfoClient) GetTxFee ¶
func (_m *InfoClient) GetTxFee(_a0 context.Context) (*info.GetTxFeeResponse, error)
GetTxFee provides a mock function with given fields: _a0
func (*InfoClient) IsBootstrapped ¶
IsBootstrapped provides a mock function with given fields: _a0, _a1
func (*InfoClient) Uptime ¶
func (_m *InfoClient) Uptime(_a0 context.Context) (*info.UptimeResponse, error)
Uptime provides a mock function with given fields: _a0