mocks

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: BSD-3-Clause Imports: 14 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 NewClient added in v1.9.0

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Client) AdminAPI

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

AdminAPI provides a mock function for the type Client

func (*Client) CChainAPI

func (_mock *Client) CChainAPI() client.Client

CChainAPI provides a mock function for the type Client

func (*Client) CChainEthAPI

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

CChainEthAPI provides a mock function for the type Client

func (*Client) CChainIndexAPI

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

CChainIndexAPI provides a mock function for the type Client

func (*Client) EXPECT added in v1.9.0

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) HealthAPI

func (_mock *Client) HealthAPI() api.HealthClient

HealthAPI provides a mock function for the type Client

func (*Client) InfoAPI

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

InfoAPI provides a mock function for the type Client

func (*Client) PChainAPI

func (_mock *Client) PChainAPI() *platformvm.Client

PChainAPI provides a mock function for the type Client

func (*Client) PChainIndexAPI

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

PChainIndexAPI provides a mock function for the type Client

func (*Client) XChainAPI

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

XChainAPI provides a mock function for the type Client

func (*Client) XChainWalletAPI

func (_mock *Client) XChainWalletAPI() *avm.WalletClient

XChainWalletAPI provides a mock function for the type Client

type Client_AdminAPI_Call added in v1.9.0

type Client_AdminAPI_Call struct {
	*mock.Call
}

Client_AdminAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdminAPI'

func (*Client_AdminAPI_Call) Return added in v1.9.0

func (*Client_AdminAPI_Call) Run added in v1.9.0

func (_c *Client_AdminAPI_Call) Run(run func()) *Client_AdminAPI_Call

func (*Client_AdminAPI_Call) RunAndReturn added in v1.9.0

func (_c *Client_AdminAPI_Call) RunAndReturn(run func() *admin.Client) *Client_AdminAPI_Call

type Client_CChainAPI_Call added in v1.9.0

type Client_CChainAPI_Call struct {
	*mock.Call
}

Client_CChainAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CChainAPI'

func (*Client_CChainAPI_Call) Return added in v1.9.0

func (*Client_CChainAPI_Call) Run added in v1.9.0

func (_c *Client_CChainAPI_Call) Run(run func()) *Client_CChainAPI_Call

func (*Client_CChainAPI_Call) RunAndReturn added in v1.9.0

func (_c *Client_CChainAPI_Call) RunAndReturn(run func() client.Client) *Client_CChainAPI_Call

type Client_CChainEthAPI_Call added in v1.9.0

type Client_CChainEthAPI_Call struct {
	*mock.Call
}

Client_CChainEthAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CChainEthAPI'

func (*Client_CChainEthAPI_Call) Return added in v1.9.0

func (*Client_CChainEthAPI_Call) Run added in v1.9.0

func (*Client_CChainEthAPI_Call) RunAndReturn added in v1.9.0

func (_c *Client_CChainEthAPI_Call) RunAndReturn(run func() api.EthClient) *Client_CChainEthAPI_Call

type Client_CChainIndexAPI_Call added in v1.9.0

type Client_CChainIndexAPI_Call struct {
	*mock.Call
}

Client_CChainIndexAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CChainIndexAPI'

func (*Client_CChainIndexAPI_Call) Return added in v1.9.0

func (*Client_CChainIndexAPI_Call) Run added in v1.9.0

func (*Client_CChainIndexAPI_Call) RunAndReturn added in v1.9.0

type Client_Expecter added in v1.9.0

type Client_Expecter struct {
	// contains filtered or unexported fields
}

func (*Client_Expecter) AdminAPI added in v1.9.0

func (_e *Client_Expecter) AdminAPI() *Client_AdminAPI_Call

AdminAPI is a helper method to define mock.On call

func (*Client_Expecter) CChainAPI added in v1.9.0

func (_e *Client_Expecter) CChainAPI() *Client_CChainAPI_Call

CChainAPI is a helper method to define mock.On call

func (*Client_Expecter) CChainEthAPI added in v1.9.0

func (_e *Client_Expecter) CChainEthAPI() *Client_CChainEthAPI_Call

CChainEthAPI is a helper method to define mock.On call

func (*Client_Expecter) CChainIndexAPI added in v1.9.0

func (_e *Client_Expecter) CChainIndexAPI() *Client_CChainIndexAPI_Call

CChainIndexAPI is a helper method to define mock.On call

func (*Client_Expecter) HealthAPI added in v1.9.0

func (_e *Client_Expecter) HealthAPI() *Client_HealthAPI_Call

HealthAPI is a helper method to define mock.On call

func (*Client_Expecter) InfoAPI added in v1.9.0

func (_e *Client_Expecter) InfoAPI() *Client_InfoAPI_Call

InfoAPI is a helper method to define mock.On call

func (*Client_Expecter) PChainAPI added in v1.9.0

func (_e *Client_Expecter) PChainAPI() *Client_PChainAPI_Call

PChainAPI is a helper method to define mock.On call

func (*Client_Expecter) PChainIndexAPI added in v1.9.0

func (_e *Client_Expecter) PChainIndexAPI() *Client_PChainIndexAPI_Call

PChainIndexAPI is a helper method to define mock.On call

func (*Client_Expecter) XChainAPI added in v1.9.0

func (_e *Client_Expecter) XChainAPI() *Client_XChainAPI_Call

XChainAPI is a helper method to define mock.On call

func (*Client_Expecter) XChainWalletAPI added in v1.9.0

func (_e *Client_Expecter) XChainWalletAPI() *Client_XChainWalletAPI_Call

XChainWalletAPI is a helper method to define mock.On call

type Client_HealthAPI_Call added in v1.9.0

type Client_HealthAPI_Call struct {
	*mock.Call
}

Client_HealthAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthAPI'

func (*Client_HealthAPI_Call) Return added in v1.9.0

func (_c *Client_HealthAPI_Call) Return(healthClient api.HealthClient) *Client_HealthAPI_Call

func (*Client_HealthAPI_Call) Run added in v1.9.0

func (_c *Client_HealthAPI_Call) Run(run func()) *Client_HealthAPI_Call

func (*Client_HealthAPI_Call) RunAndReturn added in v1.9.0

func (_c *Client_HealthAPI_Call) RunAndReturn(run func() api.HealthClient) *Client_HealthAPI_Call

type Client_InfoAPI_Call added in v1.9.0

type Client_InfoAPI_Call struct {
	*mock.Call
}

Client_InfoAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InfoAPI'

func (*Client_InfoAPI_Call) Return added in v1.9.0

func (_c *Client_InfoAPI_Call) Return(client1 *info.Client) *Client_InfoAPI_Call

func (*Client_InfoAPI_Call) Run added in v1.9.0

func (_c *Client_InfoAPI_Call) Run(run func()) *Client_InfoAPI_Call

func (*Client_InfoAPI_Call) RunAndReturn added in v1.9.0

func (_c *Client_InfoAPI_Call) RunAndReturn(run func() *info.Client) *Client_InfoAPI_Call

type Client_PChainAPI_Call added in v1.9.0

type Client_PChainAPI_Call struct {
	*mock.Call
}

Client_PChainAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PChainAPI'

func (*Client_PChainAPI_Call) Return added in v1.9.0

func (*Client_PChainAPI_Call) Run added in v1.9.0

func (_c *Client_PChainAPI_Call) Run(run func()) *Client_PChainAPI_Call

func (*Client_PChainAPI_Call) RunAndReturn added in v1.9.0

func (_c *Client_PChainAPI_Call) RunAndReturn(run func() *platformvm.Client) *Client_PChainAPI_Call

type Client_PChainIndexAPI_Call added in v1.9.0

type Client_PChainIndexAPI_Call struct {
	*mock.Call
}

Client_PChainIndexAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PChainIndexAPI'

func (*Client_PChainIndexAPI_Call) Return added in v1.9.0

func (*Client_PChainIndexAPI_Call) Run added in v1.9.0

func (*Client_PChainIndexAPI_Call) RunAndReturn added in v1.9.0

type Client_XChainAPI_Call added in v1.9.0

type Client_XChainAPI_Call struct {
	*mock.Call
}

Client_XChainAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'XChainAPI'

func (*Client_XChainAPI_Call) Return added in v1.9.0

func (_c *Client_XChainAPI_Call) Return(client1 *avm.Client) *Client_XChainAPI_Call

func (*Client_XChainAPI_Call) Run added in v1.9.0

func (_c *Client_XChainAPI_Call) Run(run func()) *Client_XChainAPI_Call

func (*Client_XChainAPI_Call) RunAndReturn added in v1.9.0

func (_c *Client_XChainAPI_Call) RunAndReturn(run func() *avm.Client) *Client_XChainAPI_Call

type Client_XChainWalletAPI_Call added in v1.9.0

type Client_XChainWalletAPI_Call struct {
	*mock.Call
}

Client_XChainWalletAPI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'XChainWalletAPI'

func (*Client_XChainWalletAPI_Call) Return added in v1.9.0

func (*Client_XChainWalletAPI_Call) Run added in v1.9.0

func (*Client_XChainWalletAPI_Call) RunAndReturn added in v1.9.0

type EthClient

type EthClient struct {
	mock.Mock
}

EthClient is an autogenerated mock type for the EthClient type

func NewEthClient added in v1.9.0

func NewEthClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *EthClient

NewEthClient creates a new instance of EthClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EthClient) AcceptedCallContract

func (_mock *EthClient) AcceptedCallContract(context1 context.Context, callMsg ethereum.CallMsg) ([]byte, error)

AcceptedCallContract provides a mock function for the type EthClient

func (*EthClient) AcceptedCodeAt

func (_mock *EthClient) AcceptedCodeAt(context1 context.Context, address common.Address) ([]byte, error)

AcceptedCodeAt provides a mock function for the type EthClient

func (*EthClient) AcceptedNonceAt

func (_mock *EthClient) AcceptedNonceAt(context1 context.Context, address common.Address) (uint64, error)

AcceptedNonceAt provides a mock function for the type EthClient

func (*EthClient) BalanceAt

func (_mock *EthClient) BalanceAt(context1 context.Context, address common.Address, intParam *big.Int) (*big.Int, error)

BalanceAt provides a mock function for the type EthClient

func (*EthClient) BlockByHash

func (_mock *EthClient) BlockByHash(context1 context.Context, hash common.Hash) (*types.Block, error)

BlockByHash provides a mock function for the type EthClient

func (*EthClient) BlockByNumber

func (_mock *EthClient) BlockByNumber(context1 context.Context, intParam *big.Int) (*types.Block, error)

BlockByNumber provides a mock function for the type EthClient

func (*EthClient) BlockNumber

func (_mock *EthClient) BlockNumber(context1 context.Context) (uint64, error)

BlockNumber provides a mock function for the type EthClient

func (*EthClient) CallContract

func (_mock *EthClient) CallContract(context1 context.Context, callMsg ethereum.CallMsg, intParam *big.Int) ([]byte, error)

CallContract provides a mock function for the type EthClient

func (*EthClient) Close

func (_mock *EthClient) Close()

Close provides a mock function for the type EthClient

func (*EthClient) CodeAt

func (_mock *EthClient) CodeAt(context1 context.Context, address common.Address, intParam *big.Int) ([]byte, error)

CodeAt provides a mock function for the type EthClient

func (*EthClient) EXPECT added in v1.9.0

func (_m *EthClient) EXPECT() *EthClient_Expecter

func (*EthClient) EstimateGas

func (_mock *EthClient) EstimateGas(context1 context.Context, callMsg ethereum.CallMsg) (uint64, error)

EstimateGas provides a mock function for the type EthClient

func (*EthClient) FilterLogs

func (_mock *EthClient) FilterLogs(context1 context.Context, filterQuery ethereum.FilterQuery) ([]types.Log, error)

FilterLogs provides a mock function for the type EthClient

func (*EthClient) HeaderByNumber

func (_mock *EthClient) HeaderByNumber(context1 context.Context, intParam *big.Int) (*types.Header, error)

HeaderByNumber provides a mock function for the type EthClient

func (*EthClient) NonceAt

func (_mock *EthClient) NonceAt(context1 context.Context, address common.Address, intParam *big.Int) (uint64, error)

NonceAt provides a mock function for the type EthClient

func (*EthClient) SendTransaction

func (_mock *EthClient) SendTransaction(context1 context.Context, transaction *types.Transaction) error

SendTransaction provides a mock function for the type EthClient

func (*EthClient) SubscribeFilterLogs

func (_mock *EthClient) SubscribeFilterLogs(context1 context.Context, filterQuery ethereum.FilterQuery, logCh chan<- types.Log) (interfaces.Subscription, error)

SubscribeFilterLogs provides a mock function for the type EthClient

func (*EthClient) SuggestGasPrice

func (_mock *EthClient) SuggestGasPrice(context1 context.Context) (*big.Int, error)

SuggestGasPrice provides a mock function for the type EthClient

func (*EthClient) SuggestGasTipCap

func (_mock *EthClient) SuggestGasTipCap(context1 context.Context) (*big.Int, error)

SuggestGasTipCap provides a mock function for the type EthClient

func (*EthClient) TransactionReceipt

func (_mock *EthClient) TransactionReceipt(context1 context.Context, hash common.Hash) (*types.Receipt, error)

TransactionReceipt provides a mock function for the type EthClient

type EthClient_AcceptedCallContract_Call added in v1.9.0

type EthClient_AcceptedCallContract_Call struct {
	*mock.Call
}

EthClient_AcceptedCallContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AcceptedCallContract'

func (*EthClient_AcceptedCallContract_Call) Return added in v1.9.0

func (*EthClient_AcceptedCallContract_Call) Run added in v1.9.0

func (_c *EthClient_AcceptedCallContract_Call) Run(run func(context1 context.Context, callMsg ethereum.CallMsg)) *EthClient_AcceptedCallContract_Call

func (*EthClient_AcceptedCallContract_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_AcceptedCallContract_Call) RunAndReturn(run func(context1 context.Context, callMsg ethereum.CallMsg) ([]byte, error)) *EthClient_AcceptedCallContract_Call

type EthClient_AcceptedCodeAt_Call added in v1.9.0

type EthClient_AcceptedCodeAt_Call struct {
	*mock.Call
}

EthClient_AcceptedCodeAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AcceptedCodeAt'

func (*EthClient_AcceptedCodeAt_Call) Return added in v1.9.0

func (*EthClient_AcceptedCodeAt_Call) Run added in v1.9.0

func (*EthClient_AcceptedCodeAt_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_AcceptedCodeAt_Call) RunAndReturn(run func(context1 context.Context, address common.Address) ([]byte, error)) *EthClient_AcceptedCodeAt_Call

type EthClient_AcceptedNonceAt_Call added in v1.9.0

type EthClient_AcceptedNonceAt_Call struct {
	*mock.Call
}

EthClient_AcceptedNonceAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AcceptedNonceAt'

func (*EthClient_AcceptedNonceAt_Call) Return added in v1.9.0

func (*EthClient_AcceptedNonceAt_Call) Run added in v1.9.0

func (*EthClient_AcceptedNonceAt_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_AcceptedNonceAt_Call) RunAndReturn(run func(context1 context.Context, address common.Address) (uint64, error)) *EthClient_AcceptedNonceAt_Call

type EthClient_BalanceAt_Call added in v1.9.0

type EthClient_BalanceAt_Call struct {
	*mock.Call
}

EthClient_BalanceAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BalanceAt'

func (*EthClient_BalanceAt_Call) Return added in v1.9.0

func (_c *EthClient_BalanceAt_Call) Return(intParam1 *big.Int, err error) *EthClient_BalanceAt_Call

func (*EthClient_BalanceAt_Call) Run added in v1.9.0

func (_c *EthClient_BalanceAt_Call) Run(run func(context1 context.Context, address common.Address, intParam *big.Int)) *EthClient_BalanceAt_Call

func (*EthClient_BalanceAt_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_BalanceAt_Call) RunAndReturn(run func(context1 context.Context, address common.Address, intParam *big.Int) (*big.Int, error)) *EthClient_BalanceAt_Call

type EthClient_BlockByHash_Call added in v1.9.0

type EthClient_BlockByHash_Call struct {
	*mock.Call
}

EthClient_BlockByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByHash'

func (*EthClient_BlockByHash_Call) Return added in v1.9.0

func (*EthClient_BlockByHash_Call) Run added in v1.9.0

func (*EthClient_BlockByHash_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_BlockByHash_Call) RunAndReturn(run func(context1 context.Context, hash common.Hash) (*types.Block, error)) *EthClient_BlockByHash_Call

type EthClient_BlockByNumber_Call added in v1.9.0

type EthClient_BlockByNumber_Call struct {
	*mock.Call
}

EthClient_BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByNumber'

func (*EthClient_BlockByNumber_Call) Return added in v1.9.0

func (*EthClient_BlockByNumber_Call) Run added in v1.9.0

func (_c *EthClient_BlockByNumber_Call) Run(run func(context1 context.Context, intParam *big.Int)) *EthClient_BlockByNumber_Call

func (*EthClient_BlockByNumber_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_BlockByNumber_Call) RunAndReturn(run func(context1 context.Context, intParam *big.Int) (*types.Block, error)) *EthClient_BlockByNumber_Call

type EthClient_BlockNumber_Call added in v1.9.0

type EthClient_BlockNumber_Call struct {
	*mock.Call
}

EthClient_BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockNumber'

func (*EthClient_BlockNumber_Call) Return added in v1.9.0

func (*EthClient_BlockNumber_Call) Run added in v1.9.0

func (*EthClient_BlockNumber_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_BlockNumber_Call) RunAndReturn(run func(context1 context.Context) (uint64, error)) *EthClient_BlockNumber_Call

type EthClient_CallContract_Call added in v1.9.0

type EthClient_CallContract_Call struct {
	*mock.Call
}

EthClient_CallContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CallContract'

func (*EthClient_CallContract_Call) Return added in v1.9.0

func (*EthClient_CallContract_Call) Run added in v1.9.0

func (_c *EthClient_CallContract_Call) Run(run func(context1 context.Context, callMsg ethereum.CallMsg, intParam *big.Int)) *EthClient_CallContract_Call

func (*EthClient_CallContract_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_CallContract_Call) RunAndReturn(run func(context1 context.Context, callMsg ethereum.CallMsg, intParam *big.Int) ([]byte, error)) *EthClient_CallContract_Call

type EthClient_Close_Call added in v1.9.0

type EthClient_Close_Call struct {
	*mock.Call
}

EthClient_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*EthClient_Close_Call) Return added in v1.9.0

func (*EthClient_Close_Call) Run added in v1.9.0

func (_c *EthClient_Close_Call) Run(run func()) *EthClient_Close_Call

func (*EthClient_Close_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_Close_Call) RunAndReturn(run func()) *EthClient_Close_Call

type EthClient_CodeAt_Call added in v1.9.0

type EthClient_CodeAt_Call struct {
	*mock.Call
}

EthClient_CodeAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CodeAt'

func (*EthClient_CodeAt_Call) Return added in v1.9.0

func (_c *EthClient_CodeAt_Call) Return(bytes []byte, err error) *EthClient_CodeAt_Call

func (*EthClient_CodeAt_Call) Run added in v1.9.0

func (_c *EthClient_CodeAt_Call) Run(run func(context1 context.Context, address common.Address, intParam *big.Int)) *EthClient_CodeAt_Call

func (*EthClient_CodeAt_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_CodeAt_Call) RunAndReturn(run func(context1 context.Context, address common.Address, intParam *big.Int) ([]byte, error)) *EthClient_CodeAt_Call

type EthClient_EstimateGas_Call added in v1.9.0

type EthClient_EstimateGas_Call struct {
	*mock.Call
}

EthClient_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'

func (*EthClient_EstimateGas_Call) Return added in v1.9.0

func (*EthClient_EstimateGas_Call) Run added in v1.9.0

func (_c *EthClient_EstimateGas_Call) Run(run func(context1 context.Context, callMsg ethereum.CallMsg)) *EthClient_EstimateGas_Call

func (*EthClient_EstimateGas_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_EstimateGas_Call) RunAndReturn(run func(context1 context.Context, callMsg ethereum.CallMsg) (uint64, error)) *EthClient_EstimateGas_Call

type EthClient_Expecter added in v1.9.0

type EthClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*EthClient_Expecter) AcceptedCallContract added in v1.9.0

func (_e *EthClient_Expecter) AcceptedCallContract(context1 interface{}, callMsg interface{}) *EthClient_AcceptedCallContract_Call

AcceptedCallContract is a helper method to define mock.On call

  • context1 context.Context
  • callMsg ethereum.CallMsg

func (*EthClient_Expecter) AcceptedCodeAt added in v1.9.0

func (_e *EthClient_Expecter) AcceptedCodeAt(context1 interface{}, address interface{}) *EthClient_AcceptedCodeAt_Call

AcceptedCodeAt is a helper method to define mock.On call

  • context1 context.Context
  • address common.Address

func (*EthClient_Expecter) AcceptedNonceAt added in v1.9.0

func (_e *EthClient_Expecter) AcceptedNonceAt(context1 interface{}, address interface{}) *EthClient_AcceptedNonceAt_Call

AcceptedNonceAt is a helper method to define mock.On call

  • context1 context.Context
  • address common.Address

func (*EthClient_Expecter) BalanceAt added in v1.9.0

func (_e *EthClient_Expecter) BalanceAt(context1 interface{}, address interface{}, intParam interface{}) *EthClient_BalanceAt_Call

BalanceAt is a helper method to define mock.On call

  • context1 context.Context
  • address common.Address
  • intParam *big.Int

func (*EthClient_Expecter) BlockByHash added in v1.9.0

func (_e *EthClient_Expecter) BlockByHash(context1 interface{}, hash interface{}) *EthClient_BlockByHash_Call

BlockByHash is a helper method to define mock.On call

  • context1 context.Context
  • hash common.Hash

func (*EthClient_Expecter) BlockByNumber added in v1.9.0

func (_e *EthClient_Expecter) BlockByNumber(context1 interface{}, intParam interface{}) *EthClient_BlockByNumber_Call

BlockByNumber is a helper method to define mock.On call

  • context1 context.Context
  • intParam *big.Int

func (*EthClient_Expecter) BlockNumber added in v1.9.0

func (_e *EthClient_Expecter) BlockNumber(context1 interface{}) *EthClient_BlockNumber_Call

BlockNumber is a helper method to define mock.On call

  • context1 context.Context

func (*EthClient_Expecter) CallContract added in v1.9.0

func (_e *EthClient_Expecter) CallContract(context1 interface{}, callMsg interface{}, intParam interface{}) *EthClient_CallContract_Call

CallContract is a helper method to define mock.On call

  • context1 context.Context
  • callMsg ethereum.CallMsg
  • intParam *big.Int

func (*EthClient_Expecter) Close added in v1.9.0

Close is a helper method to define mock.On call

func (*EthClient_Expecter) CodeAt added in v1.9.0

func (_e *EthClient_Expecter) CodeAt(context1 interface{}, address interface{}, intParam interface{}) *EthClient_CodeAt_Call

CodeAt is a helper method to define mock.On call

  • context1 context.Context
  • address common.Address
  • intParam *big.Int

func (*EthClient_Expecter) EstimateGas added in v1.9.0

func (_e *EthClient_Expecter) EstimateGas(context1 interface{}, callMsg interface{}) *EthClient_EstimateGas_Call

EstimateGas is a helper method to define mock.On call

  • context1 context.Context
  • callMsg ethereum.CallMsg

func (*EthClient_Expecter) FilterLogs added in v1.9.0

func (_e *EthClient_Expecter) FilterLogs(context1 interface{}, filterQuery interface{}) *EthClient_FilterLogs_Call

FilterLogs is a helper method to define mock.On call

  • context1 context.Context
  • filterQuery ethereum.FilterQuery

func (*EthClient_Expecter) HeaderByNumber added in v1.9.0

func (_e *EthClient_Expecter) HeaderByNumber(context1 interface{}, intParam interface{}) *EthClient_HeaderByNumber_Call

HeaderByNumber is a helper method to define mock.On call

  • context1 context.Context
  • intParam *big.Int

func (*EthClient_Expecter) NonceAt added in v1.9.0

func (_e *EthClient_Expecter) NonceAt(context1 interface{}, address interface{}, intParam interface{}) *EthClient_NonceAt_Call

NonceAt is a helper method to define mock.On call

  • context1 context.Context
  • address common.Address
  • intParam *big.Int

func (*EthClient_Expecter) SendTransaction added in v1.9.0

func (_e *EthClient_Expecter) SendTransaction(context1 interface{}, transaction interface{}) *EthClient_SendTransaction_Call

SendTransaction is a helper method to define mock.On call

  • context1 context.Context
  • transaction *types.Transaction

func (*EthClient_Expecter) SubscribeFilterLogs added in v1.9.0

func (_e *EthClient_Expecter) SubscribeFilterLogs(context1 interface{}, filterQuery interface{}, logCh interface{}) *EthClient_SubscribeFilterLogs_Call

SubscribeFilterLogs is a helper method to define mock.On call

  • context1 context.Context
  • filterQuery ethereum.FilterQuery
  • logCh chan<- types.Log

func (*EthClient_Expecter) SuggestGasPrice added in v1.9.0

func (_e *EthClient_Expecter) SuggestGasPrice(context1 interface{}) *EthClient_SuggestGasPrice_Call

SuggestGasPrice is a helper method to define mock.On call

  • context1 context.Context

func (*EthClient_Expecter) SuggestGasTipCap added in v1.9.0

func (_e *EthClient_Expecter) SuggestGasTipCap(context1 interface{}) *EthClient_SuggestGasTipCap_Call

SuggestGasTipCap is a helper method to define mock.On call

  • context1 context.Context

func (*EthClient_Expecter) TransactionReceipt added in v1.9.0

func (_e *EthClient_Expecter) TransactionReceipt(context1 interface{}, hash interface{}) *EthClient_TransactionReceipt_Call

TransactionReceipt is a helper method to define mock.On call

  • context1 context.Context
  • hash common.Hash

type EthClient_FilterLogs_Call added in v1.9.0

type EthClient_FilterLogs_Call struct {
	*mock.Call
}

EthClient_FilterLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogs'

func (*EthClient_FilterLogs_Call) Return added in v1.9.0

func (*EthClient_FilterLogs_Call) Run added in v1.9.0

func (_c *EthClient_FilterLogs_Call) Run(run func(context1 context.Context, filterQuery ethereum.FilterQuery)) *EthClient_FilterLogs_Call

func (*EthClient_FilterLogs_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_FilterLogs_Call) RunAndReturn(run func(context1 context.Context, filterQuery ethereum.FilterQuery) ([]types.Log, error)) *EthClient_FilterLogs_Call

type EthClient_HeaderByNumber_Call added in v1.9.0

type EthClient_HeaderByNumber_Call struct {
	*mock.Call
}

EthClient_HeaderByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByNumber'

func (*EthClient_HeaderByNumber_Call) Return added in v1.9.0

func (*EthClient_HeaderByNumber_Call) Run added in v1.9.0

func (_c *EthClient_HeaderByNumber_Call) Run(run func(context1 context.Context, intParam *big.Int)) *EthClient_HeaderByNumber_Call

func (*EthClient_HeaderByNumber_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_HeaderByNumber_Call) RunAndReturn(run func(context1 context.Context, intParam *big.Int) (*types.Header, error)) *EthClient_HeaderByNumber_Call

type EthClient_NonceAt_Call added in v1.9.0

type EthClient_NonceAt_Call struct {
	*mock.Call
}

EthClient_NonceAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NonceAt'

func (*EthClient_NonceAt_Call) Return added in v1.9.0

func (*EthClient_NonceAt_Call) Run added in v1.9.0

func (_c *EthClient_NonceAt_Call) Run(run func(context1 context.Context, address common.Address, intParam *big.Int)) *EthClient_NonceAt_Call

func (*EthClient_NonceAt_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_NonceAt_Call) RunAndReturn(run func(context1 context.Context, address common.Address, intParam *big.Int) (uint64, error)) *EthClient_NonceAt_Call

type EthClient_SendTransaction_Call added in v1.9.0

type EthClient_SendTransaction_Call struct {
	*mock.Call
}

EthClient_SendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTransaction'

func (*EthClient_SendTransaction_Call) Return added in v1.9.0

func (*EthClient_SendTransaction_Call) Run added in v1.9.0

func (*EthClient_SendTransaction_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_SendTransaction_Call) RunAndReturn(run func(context1 context.Context, transaction *types.Transaction) error) *EthClient_SendTransaction_Call

type EthClient_SubscribeFilterLogs_Call added in v1.9.0

type EthClient_SubscribeFilterLogs_Call struct {
	*mock.Call
}

EthClient_SubscribeFilterLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeFilterLogs'

func (*EthClient_SubscribeFilterLogs_Call) Return added in v1.9.0

func (*EthClient_SubscribeFilterLogs_Call) Run added in v1.9.0

func (_c *EthClient_SubscribeFilterLogs_Call) Run(run func(context1 context.Context, filterQuery ethereum.FilterQuery, logCh chan<- types.Log)) *EthClient_SubscribeFilterLogs_Call

func (*EthClient_SubscribeFilterLogs_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_SubscribeFilterLogs_Call) RunAndReturn(run func(context1 context.Context, filterQuery ethereum.FilterQuery, logCh chan<- types.Log) (interfaces.Subscription, error)) *EthClient_SubscribeFilterLogs_Call

type EthClient_SuggestGasPrice_Call added in v1.9.0

type EthClient_SuggestGasPrice_Call struct {
	*mock.Call
}

EthClient_SuggestGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuggestGasPrice'

func (*EthClient_SuggestGasPrice_Call) Return added in v1.9.0

func (*EthClient_SuggestGasPrice_Call) Run added in v1.9.0

func (*EthClient_SuggestGasPrice_Call) RunAndReturn added in v1.9.0

func (_c *EthClient_SuggestGasPrice_Call) RunAndReturn(run func(context1 context.Context) (*big.Int, error)) *EthClient_SuggestGasPrice_Call

type EthClient_SuggestGasTipCap_Call added in v1.9.0

type EthClient_SuggestGasTipCap_Call struct {
	*mock.Call
}

EthClient_SuggestGasTipCap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuggestGasTipCap'

func (*EthClient_SuggestGasTipCap_Call) Return added in v1.9.0

func (*EthClient_SuggestGasTipCap_Call) Run added in v1.9.0

func (*EthClient_SuggestGasTipCap_Call) RunAndReturn added in v1.9.0

type EthClient_TransactionReceipt_Call added in v1.9.0

type EthClient_TransactionReceipt_Call struct {
	*mock.Call
}

EthClient_TransactionReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionReceipt'

func (*EthClient_TransactionReceipt_Call) Return added in v1.9.0

func (*EthClient_TransactionReceipt_Call) Run added in v1.9.0

func (*EthClient_TransactionReceipt_Call) RunAndReturn added in v1.9.0

Jump to

Keyboard shortcuts

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