Documentation
¶
Index ¶
- type Client
- func (_mock *Client) AdminAPI() *admin.Client
- func (_mock *Client) CChainAPI() client.Client
- func (_mock *Client) CChainEthAPI() api.EthClient
- func (_mock *Client) CChainIndexAPI() *indexer.Client
- func (_m *Client) EXPECT() *Client_Expecter
- func (_mock *Client) HealthAPI() api.HealthClient
- func (_mock *Client) InfoAPI() *info.Client
- func (_mock *Client) PChainAPI() *platformvm.Client
- func (_mock *Client) PChainIndexAPI() *indexer.Client
- func (_mock *Client) XChainAPI() *avm.Client
- func (_mock *Client) XChainWalletAPI() *avm.WalletClient
- type Client_AdminAPI_Call
- type Client_CChainAPI_Call
- type Client_CChainEthAPI_Call
- type Client_CChainIndexAPI_Call
- type Client_Expecter
- func (_e *Client_Expecter) AdminAPI() *Client_AdminAPI_Call
- func (_e *Client_Expecter) CChainAPI() *Client_CChainAPI_Call
- func (_e *Client_Expecter) CChainEthAPI() *Client_CChainEthAPI_Call
- func (_e *Client_Expecter) CChainIndexAPI() *Client_CChainIndexAPI_Call
- func (_e *Client_Expecter) HealthAPI() *Client_HealthAPI_Call
- func (_e *Client_Expecter) InfoAPI() *Client_InfoAPI_Call
- func (_e *Client_Expecter) PChainAPI() *Client_PChainAPI_Call
- func (_e *Client_Expecter) PChainIndexAPI() *Client_PChainIndexAPI_Call
- func (_e *Client_Expecter) XChainAPI() *Client_XChainAPI_Call
- func (_e *Client_Expecter) XChainWalletAPI() *Client_XChainWalletAPI_Call
- type Client_HealthAPI_Call
- type Client_InfoAPI_Call
- type Client_PChainAPI_Call
- type Client_PChainIndexAPI_Call
- type Client_XChainAPI_Call
- type Client_XChainWalletAPI_Call
- func (_c *Client_XChainWalletAPI_Call) Return(walletClient *avm.WalletClient) *Client_XChainWalletAPI_Call
- func (_c *Client_XChainWalletAPI_Call) Run(run func()) *Client_XChainWalletAPI_Call
- func (_c *Client_XChainWalletAPI_Call) RunAndReturn(run func() *avm.WalletClient) *Client_XChainWalletAPI_Call
- type EthClient
- func (_mock *EthClient) AcceptedCallContract(context1 context.Context, callMsg ethereum.CallMsg) ([]byte, error)
- func (_mock *EthClient) AcceptedCodeAt(context1 context.Context, address common.Address) ([]byte, error)
- func (_mock *EthClient) AcceptedNonceAt(context1 context.Context, address common.Address) (uint64, error)
- func (_mock *EthClient) BalanceAt(context1 context.Context, address common.Address, intParam *big.Int) (*big.Int, error)
- func (_mock *EthClient) BlockByHash(context1 context.Context, hash common.Hash) (*types.Block, error)
- func (_mock *EthClient) BlockByNumber(context1 context.Context, intParam *big.Int) (*types.Block, error)
- func (_mock *EthClient) BlockNumber(context1 context.Context) (uint64, error)
- func (_mock *EthClient) CallContract(context1 context.Context, callMsg ethereum.CallMsg, intParam *big.Int) ([]byte, error)
- func (_mock *EthClient) Close()
- func (_mock *EthClient) CodeAt(context1 context.Context, address common.Address, intParam *big.Int) ([]byte, error)
- func (_m *EthClient) EXPECT() *EthClient_Expecter
- func (_mock *EthClient) EstimateGas(context1 context.Context, callMsg ethereum.CallMsg) (uint64, error)
- func (_mock *EthClient) FilterLogs(context1 context.Context, filterQuery ethereum.FilterQuery) ([]types.Log, error)
- func (_mock *EthClient) HeaderByNumber(context1 context.Context, intParam *big.Int) (*types.Header, error)
- func (_mock *EthClient) NonceAt(context1 context.Context, address common.Address, intParam *big.Int) (uint64, error)
- func (_mock *EthClient) SendTransaction(context1 context.Context, transaction *types.Transaction) error
- func (_mock *EthClient) SubscribeFilterLogs(context1 context.Context, filterQuery ethereum.FilterQuery, ...) (interfaces.Subscription, error)
- func (_mock *EthClient) SuggestGasPrice(context1 context.Context) (*big.Int, error)
- func (_mock *EthClient) SuggestGasTipCap(context1 context.Context) (*big.Int, error)
- func (_mock *EthClient) TransactionReceipt(context1 context.Context, hash common.Hash) (*types.Receipt, error)
- type EthClient_AcceptedCallContract_Call
- func (_c *EthClient_AcceptedCallContract_Call) Return(bytes []byte, err error) *EthClient_AcceptedCallContract_Call
- func (_c *EthClient_AcceptedCallContract_Call) Run(run func(context1 context.Context, callMsg ethereum.CallMsg)) *EthClient_AcceptedCallContract_Call
- func (_c *EthClient_AcceptedCallContract_Call) RunAndReturn(run func(context1 context.Context, callMsg ethereum.CallMsg) ([]byte, error)) *EthClient_AcceptedCallContract_Call
- type EthClient_AcceptedCodeAt_Call
- func (_c *EthClient_AcceptedCodeAt_Call) Return(bytes []byte, err error) *EthClient_AcceptedCodeAt_Call
- func (_c *EthClient_AcceptedCodeAt_Call) Run(run func(context1 context.Context, address common.Address)) *EthClient_AcceptedCodeAt_Call
- func (_c *EthClient_AcceptedCodeAt_Call) RunAndReturn(run func(context1 context.Context, address common.Address) ([]byte, error)) *EthClient_AcceptedCodeAt_Call
- type EthClient_AcceptedNonceAt_Call
- func (_c *EthClient_AcceptedNonceAt_Call) Return(v uint64, err error) *EthClient_AcceptedNonceAt_Call
- func (_c *EthClient_AcceptedNonceAt_Call) Run(run func(context1 context.Context, address common.Address)) *EthClient_AcceptedNonceAt_Call
- func (_c *EthClient_AcceptedNonceAt_Call) RunAndReturn(run func(context1 context.Context, address common.Address) (uint64, error)) *EthClient_AcceptedNonceAt_Call
- type EthClient_BalanceAt_Call
- func (_c *EthClient_BalanceAt_Call) Return(intParam1 *big.Int, err error) *EthClient_BalanceAt_Call
- func (_c *EthClient_BalanceAt_Call) Run(run func(context1 context.Context, address common.Address, intParam *big.Int)) *EthClient_BalanceAt_Call
- func (_c *EthClient_BalanceAt_Call) RunAndReturn(...) *EthClient_BalanceAt_Call
- type EthClient_BlockByHash_Call
- func (_c *EthClient_BlockByHash_Call) Return(block *types.Block, err error) *EthClient_BlockByHash_Call
- func (_c *EthClient_BlockByHash_Call) Run(run func(context1 context.Context, hash common.Hash)) *EthClient_BlockByHash_Call
- func (_c *EthClient_BlockByHash_Call) RunAndReturn(run func(context1 context.Context, hash common.Hash) (*types.Block, error)) *EthClient_BlockByHash_Call
- type EthClient_BlockByNumber_Call
- func (_c *EthClient_BlockByNumber_Call) Return(block *types.Block, err error) *EthClient_BlockByNumber_Call
- func (_c *EthClient_BlockByNumber_Call) Run(run func(context1 context.Context, intParam *big.Int)) *EthClient_BlockByNumber_Call
- func (_c *EthClient_BlockByNumber_Call) RunAndReturn(run func(context1 context.Context, intParam *big.Int) (*types.Block, error)) *EthClient_BlockByNumber_Call
- type EthClient_BlockNumber_Call
- func (_c *EthClient_BlockNumber_Call) Return(v uint64, err error) *EthClient_BlockNumber_Call
- func (_c *EthClient_BlockNumber_Call) Run(run func(context1 context.Context)) *EthClient_BlockNumber_Call
- func (_c *EthClient_BlockNumber_Call) RunAndReturn(run func(context1 context.Context) (uint64, error)) *EthClient_BlockNumber_Call
- type EthClient_CallContract_Call
- type EthClient_Close_Call
- type EthClient_CodeAt_Call
- func (_c *EthClient_CodeAt_Call) Return(bytes []byte, err error) *EthClient_CodeAt_Call
- func (_c *EthClient_CodeAt_Call) Run(run func(context1 context.Context, address common.Address, intParam *big.Int)) *EthClient_CodeAt_Call
- func (_c *EthClient_CodeAt_Call) RunAndReturn(...) *EthClient_CodeAt_Call
- type EthClient_EstimateGas_Call
- func (_c *EthClient_EstimateGas_Call) Return(v uint64, err error) *EthClient_EstimateGas_Call
- func (_c *EthClient_EstimateGas_Call) Run(run func(context1 context.Context, callMsg ethereum.CallMsg)) *EthClient_EstimateGas_Call
- func (_c *EthClient_EstimateGas_Call) RunAndReturn(run func(context1 context.Context, callMsg ethereum.CallMsg) (uint64, error)) *EthClient_EstimateGas_Call
- type EthClient_Expecter
- func (_e *EthClient_Expecter) AcceptedCallContract(context1 interface{}, callMsg interface{}) *EthClient_AcceptedCallContract_Call
- func (_e *EthClient_Expecter) AcceptedCodeAt(context1 interface{}, address interface{}) *EthClient_AcceptedCodeAt_Call
- func (_e *EthClient_Expecter) AcceptedNonceAt(context1 interface{}, address interface{}) *EthClient_AcceptedNonceAt_Call
- func (_e *EthClient_Expecter) BalanceAt(context1 interface{}, address interface{}, intParam interface{}) *EthClient_BalanceAt_Call
- func (_e *EthClient_Expecter) BlockByHash(context1 interface{}, hash interface{}) *EthClient_BlockByHash_Call
- func (_e *EthClient_Expecter) BlockByNumber(context1 interface{}, intParam interface{}) *EthClient_BlockByNumber_Call
- func (_e *EthClient_Expecter) BlockNumber(context1 interface{}) *EthClient_BlockNumber_Call
- func (_e *EthClient_Expecter) CallContract(context1 interface{}, callMsg interface{}, intParam interface{}) *EthClient_CallContract_Call
- func (_e *EthClient_Expecter) Close() *EthClient_Close_Call
- func (_e *EthClient_Expecter) CodeAt(context1 interface{}, address interface{}, intParam interface{}) *EthClient_CodeAt_Call
- func (_e *EthClient_Expecter) EstimateGas(context1 interface{}, callMsg interface{}) *EthClient_EstimateGas_Call
- func (_e *EthClient_Expecter) FilterLogs(context1 interface{}, filterQuery interface{}) *EthClient_FilterLogs_Call
- func (_e *EthClient_Expecter) HeaderByNumber(context1 interface{}, intParam interface{}) *EthClient_HeaderByNumber_Call
- func (_e *EthClient_Expecter) NonceAt(context1 interface{}, address interface{}, intParam interface{}) *EthClient_NonceAt_Call
- func (_e *EthClient_Expecter) SendTransaction(context1 interface{}, transaction interface{}) *EthClient_SendTransaction_Call
- func (_e *EthClient_Expecter) SubscribeFilterLogs(context1 interface{}, filterQuery interface{}, logCh interface{}) *EthClient_SubscribeFilterLogs_Call
- func (_e *EthClient_Expecter) SuggestGasPrice(context1 interface{}) *EthClient_SuggestGasPrice_Call
- func (_e *EthClient_Expecter) SuggestGasTipCap(context1 interface{}) *EthClient_SuggestGasTipCap_Call
- func (_e *EthClient_Expecter) TransactionReceipt(context1 interface{}, hash interface{}) *EthClient_TransactionReceipt_Call
- type EthClient_FilterLogs_Call
- func (_c *EthClient_FilterLogs_Call) Return(logs []types.Log, err error) *EthClient_FilterLogs_Call
- func (_c *EthClient_FilterLogs_Call) Run(run func(context1 context.Context, filterQuery ethereum.FilterQuery)) *EthClient_FilterLogs_Call
- func (_c *EthClient_FilterLogs_Call) RunAndReturn(...) *EthClient_FilterLogs_Call
- type EthClient_HeaderByNumber_Call
- func (_c *EthClient_HeaderByNumber_Call) Return(header *types.Header, err error) *EthClient_HeaderByNumber_Call
- func (_c *EthClient_HeaderByNumber_Call) Run(run func(context1 context.Context, intParam *big.Int)) *EthClient_HeaderByNumber_Call
- func (_c *EthClient_HeaderByNumber_Call) RunAndReturn(run func(context1 context.Context, intParam *big.Int) (*types.Header, error)) *EthClient_HeaderByNumber_Call
- type EthClient_NonceAt_Call
- func (_c *EthClient_NonceAt_Call) Return(v uint64, err error) *EthClient_NonceAt_Call
- func (_c *EthClient_NonceAt_Call) Run(run func(context1 context.Context, address common.Address, intParam *big.Int)) *EthClient_NonceAt_Call
- func (_c *EthClient_NonceAt_Call) RunAndReturn(...) *EthClient_NonceAt_Call
- type EthClient_SendTransaction_Call
- func (_c *EthClient_SendTransaction_Call) Return(err error) *EthClient_SendTransaction_Call
- func (_c *EthClient_SendTransaction_Call) Run(run func(context1 context.Context, transaction *types.Transaction)) *EthClient_SendTransaction_Call
- func (_c *EthClient_SendTransaction_Call) RunAndReturn(run func(context1 context.Context, transaction *types.Transaction) error) *EthClient_SendTransaction_Call
- type EthClient_SubscribeFilterLogs_Call
- func (_c *EthClient_SubscribeFilterLogs_Call) Return(subscription interfaces.Subscription, err error) *EthClient_SubscribeFilterLogs_Call
- func (_c *EthClient_SubscribeFilterLogs_Call) Run(run func(context1 context.Context, filterQuery ethereum.FilterQuery, ...)) *EthClient_SubscribeFilterLogs_Call
- func (_c *EthClient_SubscribeFilterLogs_Call) RunAndReturn(...) *EthClient_SubscribeFilterLogs_Call
- type EthClient_SuggestGasPrice_Call
- func (_c *EthClient_SuggestGasPrice_Call) Return(intParam *big.Int, err error) *EthClient_SuggestGasPrice_Call
- func (_c *EthClient_SuggestGasPrice_Call) Run(run func(context1 context.Context)) *EthClient_SuggestGasPrice_Call
- func (_c *EthClient_SuggestGasPrice_Call) RunAndReturn(run func(context1 context.Context) (*big.Int, error)) *EthClient_SuggestGasPrice_Call
- type EthClient_SuggestGasTipCap_Call
- func (_c *EthClient_SuggestGasTipCap_Call) Return(intParam *big.Int, err error) *EthClient_SuggestGasTipCap_Call
- func (_c *EthClient_SuggestGasTipCap_Call) Run(run func(context1 context.Context)) *EthClient_SuggestGasTipCap_Call
- func (_c *EthClient_SuggestGasTipCap_Call) RunAndReturn(run func(context1 context.Context) (*big.Int, error)) *EthClient_SuggestGasTipCap_Call
- type EthClient_TransactionReceipt_Call
- func (_c *EthClient_TransactionReceipt_Call) Return(receipt *types.Receipt, err error) *EthClient_TransactionReceipt_Call
- func (_c *EthClient_TransactionReceipt_Call) Run(run func(context1 context.Context, hash common.Hash)) *EthClient_TransactionReceipt_Call
- func (_c *EthClient_TransactionReceipt_Call) RunAndReturn(run func(context1 context.Context, hash common.Hash) (*types.Receipt, error)) *EthClient_TransactionReceipt_Call
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 NewClient ¶ added in v1.9.0
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) CChainEthAPI ¶
CChainEthAPI provides a mock function for the type Client
func (*Client) CChainIndexAPI ¶
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) PChainAPI ¶
func (_mock *Client) PChainAPI() *platformvm.Client
PChainAPI provides a mock function for the type Client
func (*Client) PChainIndexAPI ¶
PChainIndexAPI 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
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 (_c *Client_AdminAPI_Call) Return(client *admin.Client) *Client_AdminAPI_Call
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
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 (_c *Client_CChainAPI_Call) Return(client1 client.Client) *Client_CChainAPI_Call
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
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 (_c *Client_CChainEthAPI_Call) Return(ethClient api.EthClient) *Client_CChainEthAPI_Call
func (*Client_CChainEthAPI_Call) Run ¶ added in v1.9.0
func (_c *Client_CChainEthAPI_Call) Run(run func()) *Client_CChainEthAPI_Call
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
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 (_c *Client_CChainIndexAPI_Call) Return(client1 *indexer.Client) *Client_CChainIndexAPI_Call
func (*Client_CChainIndexAPI_Call) Run ¶ added in v1.9.0
func (_c *Client_CChainIndexAPI_Call) Run(run func()) *Client_CChainIndexAPI_Call
func (*Client_CChainIndexAPI_Call) RunAndReturn ¶ added in v1.9.0
func (_c *Client_CChainIndexAPI_Call) RunAndReturn(run func() *indexer.Client) *Client_CChainIndexAPI_Call
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
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
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
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 (_c *Client_PChainAPI_Call) Return(client1 *platformvm.Client) *Client_PChainAPI_Call
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
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 (_c *Client_PChainIndexAPI_Call) Return(client1 *indexer.Client) *Client_PChainIndexAPI_Call
func (*Client_PChainIndexAPI_Call) Run ¶ added in v1.9.0
func (_c *Client_PChainIndexAPI_Call) Run(run func()) *Client_PChainIndexAPI_Call
func (*Client_PChainIndexAPI_Call) RunAndReturn ¶ added in v1.9.0
func (_c *Client_PChainIndexAPI_Call) RunAndReturn(run func() *indexer.Client) *Client_PChainIndexAPI_Call
type Client_XChainAPI_Call ¶ added in v1.9.0
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
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 (_c *Client_XChainWalletAPI_Call) Return(walletClient *avm.WalletClient) *Client_XChainWalletAPI_Call
func (*Client_XChainWalletAPI_Call) Run ¶ added in v1.9.0
func (_c *Client_XChainWalletAPI_Call) Run(run func()) *Client_XChainWalletAPI_Call
func (*Client_XChainWalletAPI_Call) RunAndReturn ¶ added in v1.9.0
func (_c *Client_XChainWalletAPI_Call) RunAndReturn(run func() *avm.WalletClient) *Client_XChainWalletAPI_Call
type EthClient ¶
EthClient is an autogenerated mock type for the EthClient type
func NewEthClient ¶ added in v1.9.0
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 ¶
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 ¶
SuggestGasPrice provides a mock function for the type EthClient
func (*EthClient) SuggestGasTipCap ¶
SuggestGasTipCap provides a mock function for the type EthClient
type EthClient_AcceptedCallContract_Call ¶ added in v1.9.0
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 (_c *EthClient_AcceptedCallContract_Call) Return(bytes []byte, err error) *EthClient_AcceptedCallContract_Call
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
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 (_c *EthClient_AcceptedCodeAt_Call) Return(bytes []byte, err error) *EthClient_AcceptedCodeAt_Call
func (*EthClient_AcceptedCodeAt_Call) Run ¶ added in v1.9.0
func (_c *EthClient_AcceptedCodeAt_Call) Run(run func(context1 context.Context, address common.Address)) *EthClient_AcceptedCodeAt_Call
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
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 (_c *EthClient_AcceptedNonceAt_Call) Return(v uint64, err error) *EthClient_AcceptedNonceAt_Call
func (*EthClient_AcceptedNonceAt_Call) Run ¶ added in v1.9.0
func (_c *EthClient_AcceptedNonceAt_Call) Run(run func(context1 context.Context, address common.Address)) *EthClient_AcceptedNonceAt_Call
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
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
type EthClient_BlockByHash_Call ¶ added in v1.9.0
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 (_c *EthClient_BlockByHash_Call) Return(block *types.Block, err error) *EthClient_BlockByHash_Call
func (*EthClient_BlockByHash_Call) Run ¶ added in v1.9.0
func (_c *EthClient_BlockByHash_Call) Run(run func(context1 context.Context, hash common.Hash)) *EthClient_BlockByHash_Call
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
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 (_c *EthClient_BlockByNumber_Call) Return(block *types.Block, err error) *EthClient_BlockByNumber_Call
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
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 (_c *EthClient_BlockNumber_Call) Return(v uint64, err error) *EthClient_BlockNumber_Call
func (*EthClient_BlockNumber_Call) Run ¶ added in v1.9.0
func (_c *EthClient_BlockNumber_Call) Run(run func(context1 context.Context)) *EthClient_BlockNumber_Call
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
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 (_c *EthClient_CallContract_Call) Return(bytes []byte, err error) *EthClient_CallContract_Call
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
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 (_c *EthClient_Close_Call) Return() *EthClient_Close_Call
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
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
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 (_c *EthClient_EstimateGas_Call) Return(v uint64, err error) *EthClient_EstimateGas_Call
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
func (_e *EthClient_Expecter) Close() *EthClient_Close_Call
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
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 (_c *EthClient_FilterLogs_Call) Return(logs []types.Log, err error) *EthClient_FilterLogs_Call
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
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 (_c *EthClient_HeaderByNumber_Call) Return(header *types.Header, err error) *EthClient_HeaderByNumber_Call
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
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 (_c *EthClient_NonceAt_Call) Return(v uint64, err error) *EthClient_NonceAt_Call
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
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 (_c *EthClient_SendTransaction_Call) Return(err error) *EthClient_SendTransaction_Call
func (*EthClient_SendTransaction_Call) Run ¶ added in v1.9.0
func (_c *EthClient_SendTransaction_Call) Run(run func(context1 context.Context, transaction *types.Transaction)) *EthClient_SendTransaction_Call
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
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 (_c *EthClient_SubscribeFilterLogs_Call) Return(subscription interfaces.Subscription, err error) *EthClient_SubscribeFilterLogs_Call
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
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 (_c *EthClient_SuggestGasPrice_Call) Return(intParam *big.Int, err error) *EthClient_SuggestGasPrice_Call
func (*EthClient_SuggestGasPrice_Call) Run ¶ added in v1.9.0
func (_c *EthClient_SuggestGasPrice_Call) Run(run func(context1 context.Context)) *EthClient_SuggestGasPrice_Call
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
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 (_c *EthClient_SuggestGasTipCap_Call) Return(intParam *big.Int, err error) *EthClient_SuggestGasTipCap_Call
func (*EthClient_SuggestGasTipCap_Call) Run ¶ added in v1.9.0
func (_c *EthClient_SuggestGasTipCap_Call) Run(run func(context1 context.Context)) *EthClient_SuggestGasTipCap_Call
func (*EthClient_SuggestGasTipCap_Call) RunAndReturn ¶ added in v1.9.0
func (_c *EthClient_SuggestGasTipCap_Call) RunAndReturn(run func(context1 context.Context) (*big.Int, error)) *EthClient_SuggestGasTipCap_Call
type EthClient_TransactionReceipt_Call ¶ added in v1.9.0
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 (_c *EthClient_TransactionReceipt_Call) Return(receipt *types.Receipt, err error) *EthClient_TransactionReceipt_Call
func (*EthClient_TransactionReceipt_Call) Run ¶ added in v1.9.0
func (_c *EthClient_TransactionReceipt_Call) Run(run func(context1 context.Context, hash common.Hash)) *EthClient_TransactionReceipt_Call
func (*EthClient_TransactionReceipt_Call) RunAndReturn ¶ added in v1.9.0
func (_c *EthClient_TransactionReceipt_Call) RunAndReturn(run func(context1 context.Context, hash common.Hash) (*types.Receipt, error)) *EthClient_TransactionReceipt_Call