Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) AdminAPI

func (_m *Client) AdminAPI() admin.Client

AdminAPI provides a mock function with given fields:

func (*Client) CChainAPI

func (_m *Client) CChainAPI() evm.Client

CChainAPI provides a mock function with given fields:

func (*Client) CChainEthAPI

func (_m *Client) CChainEthAPI() api.EthClient

CChainEthAPI provides a mock function with given fields:

func (*Client) CChainIndexAPI

func (_m *Client) CChainIndexAPI() indexer.Client

CChainIndexAPI provides a mock function with given fields:

func (*Client) HealthAPI

func (_m *Client) HealthAPI() health.Client

HealthAPI provides a mock function with given fields:

func (*Client) InfoAPI

func (_m *Client) InfoAPI() info.Client

InfoAPI provides a mock function with given fields:

func (*Client) IpcsAPI

func (_m *Client) IpcsAPI() ipcs.Client

IpcsAPI provides a mock function with given fields:

func (*Client) KeystoreAPI

func (_m *Client) KeystoreAPI() keystore.Client

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

func (_m *Client) PChainIndexAPI() indexer.Client

PChainIndexAPI provides a mock function with given fields:

func (*Client) XChainAPI

func (_m *Client) XChainAPI() avm.Client

XChainAPI 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

type EthClient struct {
	mock.Mock
}

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

func (_m *EthClient) AcceptedCodeAt(_a0 context.Context, _a1 common.Address) ([]byte, error)

AcceptedCodeAt provides a mock function with given fields: _a0, _a1

func (*EthClient) AcceptedNonceAt

func (_m *EthClient) AcceptedNonceAt(_a0 context.Context, _a1 common.Address) (uint64, error)

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

func (_m *EthClient) BlockByHash(_a0 context.Context, _a1 common.Hash) (*types.Block, error)

BlockByHash provides a mock function with given fields: _a0, _a1

func (*EthClient) BlockByNumber

func (_m *EthClient) BlockByNumber(_a0 context.Context, _a1 *big.Int) (*types.Block, error)

BlockByNumber provides a mock function with given fields: _a0, _a1

func (*EthClient) BlockNumber

func (_m *EthClient) BlockNumber(_a0 context.Context) (uint64, error)

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

func (_m *EthClient) CodeAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) ([]byte, error)

CodeAt provides a mock function with given fields: _a0, _a1, _a2

func (*EthClient) EstimateGas

func (_m *EthClient) EstimateGas(_a0 context.Context, _a1 interfaces.CallMsg) (uint64, error)

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

func (_m *EthClient) HeaderByNumber(_a0 context.Context, _a1 *big.Int) (*types.Header, error)

HeaderByNumber provides a mock function with given fields: _a0, _a1

func (*EthClient) NonceAt

func (_m *EthClient) NonceAt(_a0 context.Context, _a1 common.Address, _a2 *big.Int) (uint64, error)

NonceAt provides a mock function with given fields: _a0, _a1, _a2

func (*EthClient) SendTransaction

func (_m *EthClient) SendTransaction(_a0 context.Context, _a1 *types.Transaction) error

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

func (_m *EthClient) SuggestGasPrice(_a0 context.Context) (*big.Int, error)

SuggestGasPrice provides a mock function with given fields: _a0

func (*EthClient) SuggestGasTipCap

func (_m *EthClient) SuggestGasTipCap(_a0 context.Context) (*big.Int, error)

SuggestGasTipCap provides a mock function with given fields: _a0

func (*EthClient) TransactionReceipt

func (_m *EthClient) TransactionReceipt(_a0 context.Context, _a1 common.Hash) (*types.Receipt, error)

TransactionReceipt provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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