mocks

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v2.1.0

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient added in v2.1.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) BalanceAt added in v2.1.0

func (_m *Client) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)

BalanceAt provides a mock function with given fields: ctx, account, blockNumber

func (*Client) BatchCallContext added in v2.1.0

func (_m *Client) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error

BatchCallContext provides a mock function with given fields: ctx, b

func (*Client) BatchCallContextAll added in v2.1.0

func (_m *Client) BatchCallContextAll(ctx context.Context, b []rpc.BatchElem) error

BatchCallContextAll provides a mock function with given fields: ctx, b

func (*Client) BlockByHash added in v2.1.0

func (_m *Client) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)

BlockByHash provides a mock function with given fields: ctx, hash

func (*Client) BlockByNumber added in v2.1.0

func (_m *Client) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)

BlockByNumber provides a mock function with given fields: ctx, number

func (*Client) CallContext added in v2.1.0

func (_m *Client) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error

CallContext provides a mock function with given fields: ctx, result, method, args

func (*Client) CallContract added in v2.1.0

func (_m *Client) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)

CallContract provides a mock function with given fields: ctx, msg, blockNumber

func (*Client) ChainID added in v2.1.0

func (_m *Client) ChainID() (*big.Int, error)

ChainID provides a mock function with given fields:

func (*Client) CheckTxValidity added in v2.11.0

func (_m *Client) CheckTxValidity(ctx context.Context, from common.Address, to common.Address, data []byte) *client.SendError

CheckTxValidity provides a mock function with given fields: ctx, from, to, data

func (*Client) Close added in v2.1.0

func (_m *Client) Close()

Close provides a mock function with given fields:

func (*Client) CodeAt added in v2.1.0

func (_m *Client) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)

CodeAt provides a mock function with given fields: ctx, account, blockNumber

func (*Client) ConfiguredChainID added in v2.1.0

func (_m *Client) ConfiguredChainID() *big.Int

ConfiguredChainID provides a mock function with given fields:

func (*Client) Dial added in v2.1.0

func (_m *Client) Dial(ctx context.Context) error

Dial provides a mock function with given fields: ctx

func (*Client) EXPECT added in v2.15.0

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) EstimateGas added in v2.1.0

func (_m *Client) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)

EstimateGas provides a mock function with given fields: ctx, call

func (*Client) FilterLogs added in v2.1.0

func (_m *Client) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)

FilterLogs provides a mock function with given fields: ctx, q

func (*Client) HeadByHash added in v2.1.0

func (_m *Client) HeadByHash(ctx context.Context, n common.Hash) (*evmtypes.Head, error)

HeadByHash provides a mock function with given fields: ctx, n

func (*Client) HeadByNumber added in v2.1.0

func (_m *Client) HeadByNumber(ctx context.Context, n *big.Int) (*evmtypes.Head, error)

HeadByNumber provides a mock function with given fields: ctx, n

func (*Client) HeaderByHash added in v2.1.0

func (_m *Client) HeaderByHash(ctx context.Context, h common.Hash) (*types.Header, error)

HeaderByHash provides a mock function with given fields: ctx, h

func (*Client) HeaderByNumber added in v2.1.0

func (_m *Client) HeaderByNumber(ctx context.Context, n *big.Int) (*types.Header, error)

HeaderByNumber provides a mock function with given fields: ctx, n

func (*Client) IsL2 added in v2.2.0

func (_m *Client) IsL2() bool

IsL2 provides a mock function with given fields:

func (*Client) LINKBalance added in v2.1.0

func (_m *Client) LINKBalance(ctx context.Context, address common.Address, linkAddress common.Address) (*assets.Link, error)

LINKBalance provides a mock function with given fields: ctx, address, linkAddress

func (*Client) LatestBlockHeight added in v2.1.0

func (_m *Client) LatestBlockHeight(ctx context.Context) (*big.Int, error)

LatestBlockHeight provides a mock function with given fields: ctx

func (*Client) LatestFinalizedBlock added in v2.11.0

func (_m *Client) LatestFinalizedBlock(ctx context.Context) (*evmtypes.Head, error)

LatestFinalizedBlock provides a mock function with given fields: ctx

func (*Client) NodeStates added in v2.1.0

func (_m *Client) NodeStates() map[string]string

NodeStates provides a mock function with given fields:

func (*Client) PendingCallContract added in v2.10.0

func (_m *Client) PendingCallContract(ctx context.Context, msg ethereum.CallMsg) ([]byte, error)

PendingCallContract provides a mock function with given fields: ctx, msg

func (*Client) PendingCodeAt added in v2.1.0

func (_m *Client) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)

PendingCodeAt provides a mock function with given fields: ctx, account

func (*Client) PendingNonceAt added in v2.1.0

func (_m *Client) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)

PendingNonceAt provides a mock function with given fields: ctx, account

func (*Client) SendTransaction added in v2.1.0

func (_m *Client) SendTransaction(ctx context.Context, tx *types.Transaction) error

SendTransaction provides a mock function with given fields: ctx, tx

func (*Client) SendTransactionReturnCode added in v2.1.0

func (_m *Client) SendTransactionReturnCode(ctx context.Context, tx *types.Transaction, fromAddress common.Address) (commonclient.SendTxReturnCode, error)

SendTransactionReturnCode provides a mock function with given fields: ctx, tx, fromAddress

func (*Client) SequenceAt added in v2.1.0

func (_m *Client) SequenceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (evmtypes.Nonce, error)

SequenceAt provides a mock function with given fields: ctx, account, blockNumber

func (*Client) SubscribeFilterLogs added in v2.1.0

func (_m *Client) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)

SubscribeFilterLogs provides a mock function with given fields: ctx, q, ch

func (*Client) SubscribeNewHead added in v2.1.0

func (_m *Client) SubscribeNewHead(ctx context.Context, ch chan<- *evmtypes.Head) (ethereum.Subscription, error)

SubscribeNewHead provides a mock function with given fields: ctx, ch

func (*Client) SuggestGasPrice added in v2.1.0

func (_m *Client) SuggestGasPrice(ctx context.Context) (*big.Int, error)

SuggestGasPrice provides a mock function with given fields: ctx

func (*Client) SuggestGasTipCap added in v2.1.0

func (_m *Client) SuggestGasTipCap(ctx context.Context) (*big.Int, error)

SuggestGasTipCap provides a mock function with given fields: ctx

func (*Client) TokenBalance added in v2.1.0

func (_m *Client) TokenBalance(ctx context.Context, address common.Address, contractAddress common.Address) (*big.Int, error)

TokenBalance provides a mock function with given fields: ctx, address, contractAddress

func (*Client) TransactionByHash added in v2.1.0

func (_m *Client) TransactionByHash(ctx context.Context, txHash common.Hash) (*types.Transaction, error)

TransactionByHash provides a mock function with given fields: ctx, txHash

func (*Client) TransactionReceipt added in v2.1.0

func (_m *Client) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)

TransactionReceipt provides a mock function with given fields: ctx, txHash

type Client_BalanceAt_Call added in v2.15.0

type Client_BalanceAt_Call struct {
	*mock.Call
}

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

func (*Client_BalanceAt_Call) Return added in v2.15.0

func (_c *Client_BalanceAt_Call) Return(_a0 *big.Int, _a1 error) *Client_BalanceAt_Call

func (*Client_BalanceAt_Call) Run added in v2.15.0

func (_c *Client_BalanceAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Client_BalanceAt_Call

func (*Client_BalanceAt_Call) RunAndReturn added in v2.15.0

type Client_BatchCallContextAll_Call added in v2.15.0

type Client_BatchCallContextAll_Call struct {
	*mock.Call
}

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

func (*Client_BatchCallContextAll_Call) Return added in v2.15.0

func (*Client_BatchCallContextAll_Call) Run added in v2.15.0

func (*Client_BatchCallContextAll_Call) RunAndReturn added in v2.15.0

type Client_BatchCallContext_Call added in v2.15.0

type Client_BatchCallContext_Call struct {
	*mock.Call
}

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

func (*Client_BatchCallContext_Call) Return added in v2.15.0

func (*Client_BatchCallContext_Call) Run added in v2.15.0

func (*Client_BatchCallContext_Call) RunAndReturn added in v2.15.0

type Client_BlockByHash_Call added in v2.15.0

type Client_BlockByHash_Call struct {
	*mock.Call
}

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

func (*Client_BlockByHash_Call) Return added in v2.15.0

func (*Client_BlockByHash_Call) Run added in v2.15.0

func (*Client_BlockByHash_Call) RunAndReturn added in v2.15.0

type Client_BlockByNumber_Call added in v2.15.0

type Client_BlockByNumber_Call struct {
	*mock.Call
}

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

func (*Client_BlockByNumber_Call) Return added in v2.15.0

func (*Client_BlockByNumber_Call) Run added in v2.15.0

func (_c *Client_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *Client_BlockByNumber_Call

func (*Client_BlockByNumber_Call) RunAndReturn added in v2.15.0

type Client_CallContext_Call added in v2.15.0

type Client_CallContext_Call struct {
	*mock.Call
}

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

func (*Client_CallContext_Call) Return added in v2.15.0

func (*Client_CallContext_Call) Run added in v2.15.0

func (_c *Client_CallContext_Call) Run(run func(ctx context.Context, result interface{}, method string, args ...interface{})) *Client_CallContext_Call

func (*Client_CallContext_Call) RunAndReturn added in v2.15.0

func (_c *Client_CallContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *Client_CallContext_Call

type Client_CallContract_Call added in v2.15.0

type Client_CallContract_Call struct {
	*mock.Call
}

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

func (*Client_CallContract_Call) Return added in v2.15.0

func (*Client_CallContract_Call) Run added in v2.15.0

func (_c *Client_CallContract_Call) Run(run func(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int)) *Client_CallContract_Call

func (*Client_CallContract_Call) RunAndReturn added in v2.15.0

type Client_ChainID_Call added in v2.15.0

type Client_ChainID_Call struct {
	*mock.Call
}

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

func (*Client_ChainID_Call) Return added in v2.15.0

func (_c *Client_ChainID_Call) Return(_a0 *big.Int, _a1 error) *Client_ChainID_Call

func (*Client_ChainID_Call) Run added in v2.15.0

func (_c *Client_ChainID_Call) Run(run func()) *Client_ChainID_Call

func (*Client_ChainID_Call) RunAndReturn added in v2.15.0

func (_c *Client_ChainID_Call) RunAndReturn(run func() (*big.Int, error)) *Client_ChainID_Call

type Client_CheckTxValidity_Call added in v2.15.0

type Client_CheckTxValidity_Call struct {
	*mock.Call
}

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

func (*Client_CheckTxValidity_Call) Return added in v2.15.0

func (*Client_CheckTxValidity_Call) Run added in v2.15.0

func (*Client_CheckTxValidity_Call) RunAndReturn added in v2.15.0

type Client_Close_Call added in v2.15.0

type Client_Close_Call struct {
	*mock.Call
}

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

func (*Client_Close_Call) Return added in v2.15.0

func (_c *Client_Close_Call) Return() *Client_Close_Call

func (*Client_Close_Call) Run added in v2.15.0

func (_c *Client_Close_Call) Run(run func()) *Client_Close_Call

func (*Client_Close_Call) RunAndReturn added in v2.15.0

func (_c *Client_Close_Call) RunAndReturn(run func()) *Client_Close_Call

type Client_CodeAt_Call added in v2.15.0

type Client_CodeAt_Call struct {
	*mock.Call
}

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

func (*Client_CodeAt_Call) Return added in v2.15.0

func (_c *Client_CodeAt_Call) Return(_a0 []byte, _a1 error) *Client_CodeAt_Call

func (*Client_CodeAt_Call) Run added in v2.15.0

func (_c *Client_CodeAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Client_CodeAt_Call

func (*Client_CodeAt_Call) RunAndReturn added in v2.15.0

func (_c *Client_CodeAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) ([]byte, error)) *Client_CodeAt_Call

type Client_ConfiguredChainID_Call added in v2.15.0

type Client_ConfiguredChainID_Call struct {
	*mock.Call
}

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

func (*Client_ConfiguredChainID_Call) Return added in v2.15.0

func (*Client_ConfiguredChainID_Call) Run added in v2.15.0

func (*Client_ConfiguredChainID_Call) RunAndReturn added in v2.15.0

func (_c *Client_ConfiguredChainID_Call) RunAndReturn(run func() *big.Int) *Client_ConfiguredChainID_Call

type Client_Dial_Call added in v2.15.0

type Client_Dial_Call struct {
	*mock.Call
}

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

func (*Client_Dial_Call) Return added in v2.15.0

func (_c *Client_Dial_Call) Return(_a0 error) *Client_Dial_Call

func (*Client_Dial_Call) Run added in v2.15.0

func (_c *Client_Dial_Call) Run(run func(ctx context.Context)) *Client_Dial_Call

func (*Client_Dial_Call) RunAndReturn added in v2.15.0

func (_c *Client_Dial_Call) RunAndReturn(run func(context.Context) error) *Client_Dial_Call

type Client_EstimateGas_Call added in v2.15.0

type Client_EstimateGas_Call struct {
	*mock.Call
}

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

func (*Client_EstimateGas_Call) Return added in v2.15.0

func (*Client_EstimateGas_Call) Run added in v2.15.0

func (*Client_EstimateGas_Call) RunAndReturn added in v2.15.0

type Client_Expecter added in v2.15.0

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

func (*Client_Expecter) BalanceAt added in v2.15.0

func (_e *Client_Expecter) BalanceAt(ctx interface{}, account interface{}, blockNumber interface{}) *Client_BalanceAt_Call

BalanceAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address
  • blockNumber *big.Int

func (*Client_Expecter) BatchCallContext added in v2.15.0

func (_e *Client_Expecter) BatchCallContext(ctx interface{}, b interface{}) *Client_BatchCallContext_Call

BatchCallContext is a helper method to define mock.On call

  • ctx context.Context
  • b []rpc.BatchElem

func (*Client_Expecter) BatchCallContextAll added in v2.15.0

func (_e *Client_Expecter) BatchCallContextAll(ctx interface{}, b interface{}) *Client_BatchCallContextAll_Call

BatchCallContextAll is a helper method to define mock.On call

  • ctx context.Context
  • b []rpc.BatchElem

func (*Client_Expecter) BlockByHash added in v2.15.0

func (_e *Client_Expecter) BlockByHash(ctx interface{}, hash interface{}) *Client_BlockByHash_Call

BlockByHash is a helper method to define mock.On call

  • ctx context.Context
  • hash common.Hash

func (*Client_Expecter) BlockByNumber added in v2.15.0

func (_e *Client_Expecter) BlockByNumber(ctx interface{}, number interface{}) *Client_BlockByNumber_Call

BlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

func (*Client_Expecter) CallContext added in v2.15.0

func (_e *Client_Expecter) CallContext(ctx interface{}, result interface{}, method interface{}, args ...interface{}) *Client_CallContext_Call

CallContext is a helper method to define mock.On call

  • ctx context.Context
  • result interface{}
  • method string
  • args ...interface{}

func (*Client_Expecter) CallContract added in v2.15.0

func (_e *Client_Expecter) CallContract(ctx interface{}, msg interface{}, blockNumber interface{}) *Client_CallContract_Call

CallContract is a helper method to define mock.On call

  • ctx context.Context
  • msg ethereum.CallMsg
  • blockNumber *big.Int

func (*Client_Expecter) ChainID added in v2.15.0

func (_e *Client_Expecter) ChainID() *Client_ChainID_Call

ChainID is a helper method to define mock.On call

func (*Client_Expecter) CheckTxValidity added in v2.15.0

func (_e *Client_Expecter) CheckTxValidity(ctx interface{}, from interface{}, to interface{}, data interface{}) *Client_CheckTxValidity_Call

CheckTxValidity is a helper method to define mock.On call

  • ctx context.Context
  • from common.Address
  • to common.Address
  • data []byte

func (*Client_Expecter) Close added in v2.15.0

func (_e *Client_Expecter) Close() *Client_Close_Call

Close is a helper method to define mock.On call

func (*Client_Expecter) CodeAt added in v2.15.0

func (_e *Client_Expecter) CodeAt(ctx interface{}, account interface{}, blockNumber interface{}) *Client_CodeAt_Call

CodeAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address
  • blockNumber *big.Int

func (*Client_Expecter) ConfiguredChainID added in v2.15.0

func (_e *Client_Expecter) ConfiguredChainID() *Client_ConfiguredChainID_Call

ConfiguredChainID is a helper method to define mock.On call

func (*Client_Expecter) Dial added in v2.15.0

func (_e *Client_Expecter) Dial(ctx interface{}) *Client_Dial_Call

Dial is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) EstimateGas added in v2.15.0

func (_e *Client_Expecter) EstimateGas(ctx interface{}, call interface{}) *Client_EstimateGas_Call

EstimateGas is a helper method to define mock.On call

  • ctx context.Context
  • call ethereum.CallMsg

func (*Client_Expecter) FilterLogs added in v2.15.0

func (_e *Client_Expecter) FilterLogs(ctx interface{}, q interface{}) *Client_FilterLogs_Call

FilterLogs is a helper method to define mock.On call

  • ctx context.Context
  • q ethereum.FilterQuery

func (*Client_Expecter) HeadByHash added in v2.15.0

func (_e *Client_Expecter) HeadByHash(ctx interface{}, n interface{}) *Client_HeadByHash_Call

HeadByHash is a helper method to define mock.On call

  • ctx context.Context
  • n common.Hash

func (*Client_Expecter) HeadByNumber added in v2.15.0

func (_e *Client_Expecter) HeadByNumber(ctx interface{}, n interface{}) *Client_HeadByNumber_Call

HeadByNumber is a helper method to define mock.On call

  • ctx context.Context
  • n *big.Int

func (*Client_Expecter) HeaderByHash added in v2.15.0

func (_e *Client_Expecter) HeaderByHash(ctx interface{}, h interface{}) *Client_HeaderByHash_Call

HeaderByHash is a helper method to define mock.On call

  • ctx context.Context
  • h common.Hash

func (*Client_Expecter) HeaderByNumber added in v2.15.0

func (_e *Client_Expecter) HeaderByNumber(ctx interface{}, n interface{}) *Client_HeaderByNumber_Call

HeaderByNumber is a helper method to define mock.On call

  • ctx context.Context
  • n *big.Int

func (*Client_Expecter) IsL2 added in v2.15.0

func (_e *Client_Expecter) IsL2() *Client_IsL2_Call

IsL2 is a helper method to define mock.On call

func (*Client_Expecter) LINKBalance added in v2.15.0

func (_e *Client_Expecter) LINKBalance(ctx interface{}, address interface{}, linkAddress interface{}) *Client_LINKBalance_Call

LINKBalance is a helper method to define mock.On call

  • ctx context.Context
  • address common.Address
  • linkAddress common.Address

func (*Client_Expecter) LatestBlockHeight added in v2.15.0

func (_e *Client_Expecter) LatestBlockHeight(ctx interface{}) *Client_LatestBlockHeight_Call

LatestBlockHeight is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) LatestFinalizedBlock added in v2.15.0

func (_e *Client_Expecter) LatestFinalizedBlock(ctx interface{}) *Client_LatestFinalizedBlock_Call

LatestFinalizedBlock is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) NodeStates added in v2.15.0

func (_e *Client_Expecter) NodeStates() *Client_NodeStates_Call

NodeStates is a helper method to define mock.On call

func (*Client_Expecter) PendingCallContract added in v2.15.0

func (_e *Client_Expecter) PendingCallContract(ctx interface{}, msg interface{}) *Client_PendingCallContract_Call

PendingCallContract is a helper method to define mock.On call

  • ctx context.Context
  • msg ethereum.CallMsg

func (*Client_Expecter) PendingCodeAt added in v2.15.0

func (_e *Client_Expecter) PendingCodeAt(ctx interface{}, account interface{}) *Client_PendingCodeAt_Call

PendingCodeAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address

func (*Client_Expecter) PendingNonceAt added in v2.15.0

func (_e *Client_Expecter) PendingNonceAt(ctx interface{}, account interface{}) *Client_PendingNonceAt_Call

PendingNonceAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address

func (*Client_Expecter) SendTransaction added in v2.15.0

func (_e *Client_Expecter) SendTransaction(ctx interface{}, tx interface{}) *Client_SendTransaction_Call

SendTransaction is a helper method to define mock.On call

  • ctx context.Context
  • tx *types.Transaction

func (*Client_Expecter) SendTransactionReturnCode added in v2.15.0

func (_e *Client_Expecter) SendTransactionReturnCode(ctx interface{}, tx interface{}, fromAddress interface{}) *Client_SendTransactionReturnCode_Call

SendTransactionReturnCode is a helper method to define mock.On call

  • ctx context.Context
  • tx *types.Transaction
  • fromAddress common.Address

func (*Client_Expecter) SequenceAt added in v2.15.0

func (_e *Client_Expecter) SequenceAt(ctx interface{}, account interface{}, blockNumber interface{}) *Client_SequenceAt_Call

SequenceAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address
  • blockNumber *big.Int

func (*Client_Expecter) SubscribeFilterLogs added in v2.15.0

func (_e *Client_Expecter) SubscribeFilterLogs(ctx interface{}, q interface{}, ch interface{}) *Client_SubscribeFilterLogs_Call

SubscribeFilterLogs is a helper method to define mock.On call

  • ctx context.Context
  • q ethereum.FilterQuery
  • ch chan<- types.Log

func (*Client_Expecter) SubscribeNewHead added in v2.15.0

func (_e *Client_Expecter) SubscribeNewHead(ctx interface{}, ch interface{}) *Client_SubscribeNewHead_Call

SubscribeNewHead is a helper method to define mock.On call

  • ctx context.Context
  • ch chan<- *evmtypes.Head

func (*Client_Expecter) SuggestGasPrice added in v2.15.0

func (_e *Client_Expecter) SuggestGasPrice(ctx interface{}) *Client_SuggestGasPrice_Call

SuggestGasPrice is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) SuggestGasTipCap added in v2.15.0

func (_e *Client_Expecter) SuggestGasTipCap(ctx interface{}) *Client_SuggestGasTipCap_Call

SuggestGasTipCap is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) TokenBalance added in v2.15.0

func (_e *Client_Expecter) TokenBalance(ctx interface{}, address interface{}, contractAddress interface{}) *Client_TokenBalance_Call

TokenBalance is a helper method to define mock.On call

  • ctx context.Context
  • address common.Address
  • contractAddress common.Address

func (*Client_Expecter) TransactionByHash added in v2.15.0

func (_e *Client_Expecter) TransactionByHash(ctx interface{}, txHash interface{}) *Client_TransactionByHash_Call

TransactionByHash is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

func (*Client_Expecter) TransactionReceipt added in v2.15.0

func (_e *Client_Expecter) TransactionReceipt(ctx interface{}, txHash interface{}) *Client_TransactionReceipt_Call

TransactionReceipt is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

type Client_FilterLogs_Call added in v2.15.0

type Client_FilterLogs_Call struct {
	*mock.Call
}

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

func (*Client_FilterLogs_Call) Return added in v2.15.0

func (*Client_FilterLogs_Call) Run added in v2.15.0

func (*Client_FilterLogs_Call) RunAndReturn added in v2.15.0

type Client_HeadByHash_Call added in v2.15.0

type Client_HeadByHash_Call struct {
	*mock.Call
}

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

func (*Client_HeadByHash_Call) Return added in v2.15.0

func (*Client_HeadByHash_Call) Run added in v2.15.0

func (*Client_HeadByHash_Call) RunAndReturn added in v2.15.0

type Client_HeadByNumber_Call added in v2.15.0

type Client_HeadByNumber_Call struct {
	*mock.Call
}

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

func (*Client_HeadByNumber_Call) Return added in v2.15.0

func (*Client_HeadByNumber_Call) Run added in v2.15.0

func (*Client_HeadByNumber_Call) RunAndReturn added in v2.15.0

type Client_HeaderByHash_Call added in v2.15.0

type Client_HeaderByHash_Call struct {
	*mock.Call
}

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

func (*Client_HeaderByHash_Call) Return added in v2.15.0

func (*Client_HeaderByHash_Call) Run added in v2.15.0

func (*Client_HeaderByHash_Call) RunAndReturn added in v2.15.0

type Client_HeaderByNumber_Call added in v2.15.0

type Client_HeaderByNumber_Call struct {
	*mock.Call
}

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

func (*Client_HeaderByNumber_Call) Return added in v2.15.0

func (*Client_HeaderByNumber_Call) Run added in v2.15.0

func (*Client_HeaderByNumber_Call) RunAndReturn added in v2.15.0

type Client_IsL2_Call added in v2.15.0

type Client_IsL2_Call struct {
	*mock.Call
}

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

func (*Client_IsL2_Call) Return added in v2.15.0

func (_c *Client_IsL2_Call) Return(_a0 bool) *Client_IsL2_Call

func (*Client_IsL2_Call) Run added in v2.15.0

func (_c *Client_IsL2_Call) Run(run func()) *Client_IsL2_Call

func (*Client_IsL2_Call) RunAndReturn added in v2.15.0

func (_c *Client_IsL2_Call) RunAndReturn(run func() bool) *Client_IsL2_Call

type Client_LINKBalance_Call added in v2.15.0

type Client_LINKBalance_Call struct {
	*mock.Call
}

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

func (*Client_LINKBalance_Call) Return added in v2.15.0

func (*Client_LINKBalance_Call) Run added in v2.15.0

func (_c *Client_LINKBalance_Call) Run(run func(ctx context.Context, address common.Address, linkAddress common.Address)) *Client_LINKBalance_Call

func (*Client_LINKBalance_Call) RunAndReturn added in v2.15.0

type Client_LatestBlockHeight_Call added in v2.15.0

type Client_LatestBlockHeight_Call struct {
	*mock.Call
}

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

func (*Client_LatestBlockHeight_Call) Return added in v2.15.0

func (*Client_LatestBlockHeight_Call) Run added in v2.15.0

func (*Client_LatestBlockHeight_Call) RunAndReturn added in v2.15.0

type Client_LatestFinalizedBlock_Call added in v2.15.0

type Client_LatestFinalizedBlock_Call struct {
	*mock.Call
}

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

func (*Client_LatestFinalizedBlock_Call) Return added in v2.15.0

func (*Client_LatestFinalizedBlock_Call) Run added in v2.15.0

func (*Client_LatestFinalizedBlock_Call) RunAndReturn added in v2.15.0

type Client_NodeStates_Call added in v2.15.0

type Client_NodeStates_Call struct {
	*mock.Call
}

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

func (*Client_NodeStates_Call) Return added in v2.15.0

func (*Client_NodeStates_Call) Run added in v2.15.0

func (_c *Client_NodeStates_Call) Run(run func()) *Client_NodeStates_Call

func (*Client_NodeStates_Call) RunAndReturn added in v2.15.0

func (_c *Client_NodeStates_Call) RunAndReturn(run func() map[string]string) *Client_NodeStates_Call

type Client_PendingCallContract_Call added in v2.15.0

type Client_PendingCallContract_Call struct {
	*mock.Call
}

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

func (*Client_PendingCallContract_Call) Return added in v2.15.0

func (*Client_PendingCallContract_Call) Run added in v2.15.0

func (*Client_PendingCallContract_Call) RunAndReturn added in v2.15.0

type Client_PendingCodeAt_Call added in v2.15.0

type Client_PendingCodeAt_Call struct {
	*mock.Call
}

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

func (*Client_PendingCodeAt_Call) Return added in v2.15.0

func (*Client_PendingCodeAt_Call) Run added in v2.15.0

func (*Client_PendingCodeAt_Call) RunAndReturn added in v2.15.0

type Client_PendingNonceAt_Call added in v2.15.0

type Client_PendingNonceAt_Call struct {
	*mock.Call
}

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

func (*Client_PendingNonceAt_Call) Return added in v2.15.0

func (*Client_PendingNonceAt_Call) Run added in v2.15.0

func (*Client_PendingNonceAt_Call) RunAndReturn added in v2.15.0

type Client_SendTransactionReturnCode_Call added in v2.15.0

type Client_SendTransactionReturnCode_Call struct {
	*mock.Call
}

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

func (*Client_SendTransactionReturnCode_Call) Return added in v2.15.0

func (*Client_SendTransactionReturnCode_Call) Run added in v2.15.0

func (*Client_SendTransactionReturnCode_Call) RunAndReturn added in v2.15.0

type Client_SendTransaction_Call added in v2.15.0

type Client_SendTransaction_Call struct {
	*mock.Call
}

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

func (*Client_SendTransaction_Call) Return added in v2.15.0

func (*Client_SendTransaction_Call) Run added in v2.15.0

func (*Client_SendTransaction_Call) RunAndReturn added in v2.15.0

type Client_SequenceAt_Call added in v2.15.0

type Client_SequenceAt_Call struct {
	*mock.Call
}

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

func (*Client_SequenceAt_Call) Return added in v2.15.0

func (*Client_SequenceAt_Call) Run added in v2.15.0

func (_c *Client_SequenceAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Client_SequenceAt_Call

func (*Client_SequenceAt_Call) RunAndReturn added in v2.15.0

type Client_SubscribeFilterLogs_Call added in v2.15.0

type Client_SubscribeFilterLogs_Call struct {
	*mock.Call
}

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

func (*Client_SubscribeFilterLogs_Call) Return added in v2.15.0

func (*Client_SubscribeFilterLogs_Call) Run added in v2.15.0

func (*Client_SubscribeFilterLogs_Call) RunAndReturn added in v2.15.0

type Client_SubscribeNewHead_Call added in v2.15.0

type Client_SubscribeNewHead_Call struct {
	*mock.Call
}

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

func (*Client_SubscribeNewHead_Call) Return added in v2.15.0

func (*Client_SubscribeNewHead_Call) Run added in v2.15.0

func (*Client_SubscribeNewHead_Call) RunAndReturn added in v2.15.0

type Client_SuggestGasPrice_Call added in v2.15.0

type Client_SuggestGasPrice_Call struct {
	*mock.Call
}

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

func (*Client_SuggestGasPrice_Call) Return added in v2.15.0

func (*Client_SuggestGasPrice_Call) Run added in v2.15.0

func (*Client_SuggestGasPrice_Call) RunAndReturn added in v2.15.0

type Client_SuggestGasTipCap_Call added in v2.15.0

type Client_SuggestGasTipCap_Call struct {
	*mock.Call
}

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

func (*Client_SuggestGasTipCap_Call) Return added in v2.15.0

func (*Client_SuggestGasTipCap_Call) Run added in v2.15.0

func (*Client_SuggestGasTipCap_Call) RunAndReturn added in v2.15.0

type Client_TokenBalance_Call added in v2.15.0

type Client_TokenBalance_Call struct {
	*mock.Call
}

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

func (*Client_TokenBalance_Call) Return added in v2.15.0

func (*Client_TokenBalance_Call) Run added in v2.15.0

func (_c *Client_TokenBalance_Call) Run(run func(ctx context.Context, address common.Address, contractAddress common.Address)) *Client_TokenBalance_Call

func (*Client_TokenBalance_Call) RunAndReturn added in v2.15.0

type Client_TransactionByHash_Call added in v2.15.0

type Client_TransactionByHash_Call struct {
	*mock.Call
}

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

func (*Client_TransactionByHash_Call) Return added in v2.15.0

func (*Client_TransactionByHash_Call) Run added in v2.15.0

func (*Client_TransactionByHash_Call) RunAndReturn added in v2.15.0

type Client_TransactionReceipt_Call added in v2.15.0

type Client_TransactionReceipt_Call struct {
	*mock.Call
}

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

func (*Client_TransactionReceipt_Call) Return added in v2.15.0

func (*Client_TransactionReceipt_Call) Run added in v2.15.0

func (*Client_TransactionReceipt_Call) RunAndReturn added in v2.15.0

type RPCClient added in v2.10.0

type RPCClient struct {
	mock.Mock
}

RPCClient is an autogenerated mock type for the RPCClient type

func NewRPCClient added in v2.10.0

func NewRPCClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *RPCClient

NewRPCClient creates a new instance of RPCClient. 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 (*RPCClient) BalanceAt added in v2.10.0

func (_m *RPCClient) BalanceAt(ctx context.Context, accountAddress common.Address, blockNumber *big.Int) (*big.Int, error)

BalanceAt provides a mock function with given fields: ctx, accountAddress, blockNumber

func (*RPCClient) BatchCallContext added in v2.10.0

func (_m *RPCClient) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error

BatchCallContext provides a mock function with given fields: ctx, b

func (*RPCClient) BlockByHash added in v2.10.0

func (_m *RPCClient) BlockByHash(ctx context.Context, hash common.Hash) (*types.Head, error)

BlockByHash provides a mock function with given fields: ctx, hash

func (*RPCClient) BlockByHashGeth added in v2.10.0

func (_m *RPCClient) BlockByHashGeth(ctx context.Context, hash common.Hash) (*coretypes.Block, error)

BlockByHashGeth provides a mock function with given fields: ctx, hash

func (*RPCClient) BlockByNumber added in v2.10.0

func (_m *RPCClient) BlockByNumber(ctx context.Context, number *big.Int) (*types.Head, error)

BlockByNumber provides a mock function with given fields: ctx, number

func (*RPCClient) BlockByNumberGeth added in v2.10.0

func (_m *RPCClient) BlockByNumberGeth(ctx context.Context, number *big.Int) (*coretypes.Block, error)

BlockByNumberGeth provides a mock function with given fields: ctx, number

func (*RPCClient) CallContext added in v2.10.0

func (_m *RPCClient) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error

CallContext provides a mock function with given fields: ctx, result, method, args

func (*RPCClient) CallContract added in v2.10.0

func (_m *RPCClient) CallContract(ctx context.Context, msg interface{}, blockNumber *big.Int) ([]byte, error)

CallContract provides a mock function with given fields: ctx, msg, blockNumber

func (*RPCClient) ChainID added in v2.10.0

func (_m *RPCClient) ChainID(ctx context.Context) (*big.Int, error)

ChainID provides a mock function with given fields: ctx

func (*RPCClient) ClientVersion added in v2.10.0

func (_m *RPCClient) ClientVersion(_a0 context.Context) (string, error)

ClientVersion provides a mock function with given fields: _a0

func (*RPCClient) Close added in v2.10.0

func (_m *RPCClient) Close()

Close provides a mock function with given fields:

func (*RPCClient) CodeAt added in v2.10.0

func (_m *RPCClient) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)

CodeAt provides a mock function with given fields: ctx, account, blockNumber

func (*RPCClient) Dial added in v2.10.0

func (_m *RPCClient) Dial(ctx context.Context) error

Dial provides a mock function with given fields: ctx

func (*RPCClient) DialHTTP added in v2.10.0

func (_m *RPCClient) DialHTTP() error

DialHTTP provides a mock function with given fields:

func (*RPCClient) DisconnectAll added in v2.10.0

func (_m *RPCClient) DisconnectAll()

DisconnectAll provides a mock function with given fields:

func (*RPCClient) EXPECT added in v2.15.0

func (_m *RPCClient) EXPECT() *RPCClient_Expecter

func (*RPCClient) EstimateGas added in v2.10.0

func (_m *RPCClient) EstimateGas(ctx context.Context, call interface{}) (uint64, error)

EstimateGas provides a mock function with given fields: ctx, call

func (*RPCClient) FilterEvents added in v2.10.0

func (_m *RPCClient) FilterEvents(ctx context.Context, query ethereum.FilterQuery) ([]coretypes.Log, error)

FilterEvents provides a mock function with given fields: ctx, query

func (*RPCClient) GetInterceptedChainInfo added in v2.14.0

func (_m *RPCClient) GetInterceptedChainInfo() (commonclient.ChainInfo, commonclient.ChainInfo)

GetInterceptedChainInfo provides a mock function with given fields:

func (*RPCClient) HeaderByHash added in v2.10.0

func (_m *RPCClient) HeaderByHash(ctx context.Context, h common.Hash) (*coretypes.Header, error)

HeaderByHash provides a mock function with given fields: ctx, h

func (*RPCClient) HeaderByNumber added in v2.10.0

func (_m *RPCClient) HeaderByNumber(ctx context.Context, n *big.Int) (*coretypes.Header, error)

HeaderByNumber provides a mock function with given fields: ctx, n

func (*RPCClient) IsSyncing added in v2.10.0

func (_m *RPCClient) IsSyncing(ctx context.Context) (bool, error)

IsSyncing provides a mock function with given fields: ctx

func (*RPCClient) LINKBalance added in v2.10.0

func (_m *RPCClient) LINKBalance(ctx context.Context, accountAddress common.Address, linkAddress common.Address) (*assets.Link, error)

LINKBalance provides a mock function with given fields: ctx, accountAddress, linkAddress

func (*RPCClient) LatestBlockHeight added in v2.10.0

func (_m *RPCClient) LatestBlockHeight(_a0 context.Context) (*big.Int, error)

LatestBlockHeight provides a mock function with given fields: _a0

func (*RPCClient) LatestFinalizedBlock added in v2.11.0

func (_m *RPCClient) LatestFinalizedBlock(ctx context.Context) (*types.Head, error)

LatestFinalizedBlock provides a mock function with given fields: ctx

func (*RPCClient) PendingCallContract added in v2.10.0

func (_m *RPCClient) PendingCallContract(ctx context.Context, msg interface{}) ([]byte, error)

PendingCallContract provides a mock function with given fields: ctx, msg

func (*RPCClient) PendingCodeAt added in v2.10.0

func (_m *RPCClient) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)

PendingCodeAt provides a mock function with given fields: ctx, account

func (*RPCClient) PendingSequenceAt added in v2.10.0

func (_m *RPCClient) PendingSequenceAt(ctx context.Context, addr common.Address) (types.Nonce, error)

PendingSequenceAt provides a mock function with given fields: ctx, addr

func (*RPCClient) SendEmptyTransaction added in v2.10.0

func (_m *RPCClient) SendEmptyTransaction(ctx context.Context, newTxAttempt func(types.Nonce, uint32, *evmassets.Wei, common.Address) (interface{}, error), seq types.Nonce, gasLimit uint32, fee *evmassets.Wei, fromAddress common.Address) (string, error)

SendEmptyTransaction provides a mock function with given fields: ctx, newTxAttempt, seq, gasLimit, fee, fromAddress

func (*RPCClient) SendTransaction added in v2.10.0

func (_m *RPCClient) SendTransaction(ctx context.Context, tx *coretypes.Transaction) error

SendTransaction provides a mock function with given fields: ctx, tx

func (*RPCClient) SequenceAt added in v2.10.0

func (_m *RPCClient) SequenceAt(ctx context.Context, accountAddress common.Address, blockNumber *big.Int) (types.Nonce, error)

SequenceAt provides a mock function with given fields: ctx, accountAddress, blockNumber

func (*RPCClient) SetAliveLoopSub added in v2.10.0

func (_m *RPCClient) SetAliveLoopSub(_a0 commontypes.Subscription)

SetAliveLoopSub provides a mock function with given fields: _a0

func (*RPCClient) SimulateTransaction added in v2.10.0

func (_m *RPCClient) SimulateTransaction(ctx context.Context, tx *coretypes.Transaction) error

SimulateTransaction provides a mock function with given fields: ctx, tx

func (*RPCClient) SubscribeFilterLogs added in v2.10.0

func (_m *RPCClient) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- coretypes.Log) (ethereum.Subscription, error)

SubscribeFilterLogs provides a mock function with given fields: ctx, q, ch

func (*RPCClient) SubscribeNewHead added in v2.14.0

func (_m *RPCClient) SubscribeNewHead(ctx context.Context, channel chan<- *types.Head) (commontypes.Subscription, error)

SubscribeNewHead provides a mock function with given fields: ctx, channel

func (*RPCClient) SubscribersCount added in v2.10.0

func (_m *RPCClient) SubscribersCount() int32

SubscribersCount provides a mock function with given fields:

func (*RPCClient) SuggestGasPrice added in v2.10.0

func (_m *RPCClient) SuggestGasPrice(ctx context.Context) (*big.Int, error)

SuggestGasPrice provides a mock function with given fields: ctx

func (*RPCClient) SuggestGasTipCap added in v2.10.0

func (_m *RPCClient) SuggestGasTipCap(ctx context.Context) (*big.Int, error)

SuggestGasTipCap provides a mock function with given fields: ctx

func (*RPCClient) TokenBalance added in v2.10.0

func (_m *RPCClient) TokenBalance(ctx context.Context, accountAddress common.Address, tokenAddress common.Address) (*big.Int, error)

TokenBalance provides a mock function with given fields: ctx, accountAddress, tokenAddress

func (*RPCClient) TransactionByHash added in v2.10.0

func (_m *RPCClient) TransactionByHash(ctx context.Context, txHash common.Hash) (*coretypes.Transaction, error)

TransactionByHash provides a mock function with given fields: ctx, txHash

func (*RPCClient) TransactionReceipt added in v2.10.0

func (_m *RPCClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)

TransactionReceipt provides a mock function with given fields: ctx, txHash

func (*RPCClient) TransactionReceiptGeth added in v2.10.0

func (_m *RPCClient) TransactionReceiptGeth(ctx context.Context, txHash common.Hash) (*coretypes.Receipt, error)

TransactionReceiptGeth provides a mock function with given fields: ctx, txHash

func (*RPCClient) UnsubscribeAllExceptAliveLoop added in v2.10.0

func (_m *RPCClient) UnsubscribeAllExceptAliveLoop()

UnsubscribeAllExceptAliveLoop provides a mock function with given fields:

type RPCClient_BalanceAt_Call added in v2.15.0

type RPCClient_BalanceAt_Call struct {
	*mock.Call
}

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

func (*RPCClient_BalanceAt_Call) Return added in v2.15.0

func (*RPCClient_BalanceAt_Call) Run added in v2.15.0

func (_c *RPCClient_BalanceAt_Call) Run(run func(ctx context.Context, accountAddress common.Address, blockNumber *big.Int)) *RPCClient_BalanceAt_Call

func (*RPCClient_BalanceAt_Call) RunAndReturn added in v2.15.0

type RPCClient_BatchCallContext_Call added in v2.15.0

type RPCClient_BatchCallContext_Call struct {
	*mock.Call
}

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

func (*RPCClient_BatchCallContext_Call) Return added in v2.15.0

func (*RPCClient_BatchCallContext_Call) Run added in v2.15.0

func (*RPCClient_BatchCallContext_Call) RunAndReturn added in v2.15.0

type RPCClient_BlockByHashGeth_Call added in v2.15.0

type RPCClient_BlockByHashGeth_Call struct {
	*mock.Call
}

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

func (*RPCClient_BlockByHashGeth_Call) Return added in v2.15.0

func (*RPCClient_BlockByHashGeth_Call) Run added in v2.15.0

func (*RPCClient_BlockByHashGeth_Call) RunAndReturn added in v2.15.0

type RPCClient_BlockByHash_Call added in v2.15.0

type RPCClient_BlockByHash_Call struct {
	*mock.Call
}

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

func (*RPCClient_BlockByHash_Call) Return added in v2.15.0

func (*RPCClient_BlockByHash_Call) Run added in v2.15.0

func (*RPCClient_BlockByHash_Call) RunAndReturn added in v2.15.0

type RPCClient_BlockByNumberGeth_Call added in v2.15.0

type RPCClient_BlockByNumberGeth_Call struct {
	*mock.Call
}

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

func (*RPCClient_BlockByNumberGeth_Call) Return added in v2.15.0

func (*RPCClient_BlockByNumberGeth_Call) Run added in v2.15.0

func (*RPCClient_BlockByNumberGeth_Call) RunAndReturn added in v2.15.0

type RPCClient_BlockByNumber_Call added in v2.15.0

type RPCClient_BlockByNumber_Call struct {
	*mock.Call
}

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

func (*RPCClient_BlockByNumber_Call) Return added in v2.15.0

func (*RPCClient_BlockByNumber_Call) Run added in v2.15.0

func (*RPCClient_BlockByNumber_Call) RunAndReturn added in v2.15.0

type RPCClient_CallContext_Call added in v2.15.0

type RPCClient_CallContext_Call struct {
	*mock.Call
}

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

func (*RPCClient_CallContext_Call) Return added in v2.15.0

func (*RPCClient_CallContext_Call) Run added in v2.15.0

func (_c *RPCClient_CallContext_Call) Run(run func(ctx context.Context, result interface{}, method string, args ...interface{})) *RPCClient_CallContext_Call

func (*RPCClient_CallContext_Call) RunAndReturn added in v2.15.0

func (_c *RPCClient_CallContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *RPCClient_CallContext_Call

type RPCClient_CallContract_Call added in v2.15.0

type RPCClient_CallContract_Call struct {
	*mock.Call
}

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

func (*RPCClient_CallContract_Call) Return added in v2.15.0

func (_c *RPCClient_CallContract_Call) Return(rpcErr []byte, extractErr error) *RPCClient_CallContract_Call

func (*RPCClient_CallContract_Call) Run added in v2.15.0

func (_c *RPCClient_CallContract_Call) Run(run func(ctx context.Context, msg interface{}, blockNumber *big.Int)) *RPCClient_CallContract_Call

func (*RPCClient_CallContract_Call) RunAndReturn added in v2.15.0

func (_c *RPCClient_CallContract_Call) RunAndReturn(run func(context.Context, interface{}, *big.Int) ([]byte, error)) *RPCClient_CallContract_Call

type RPCClient_ChainID_Call added in v2.15.0

type RPCClient_ChainID_Call struct {
	*mock.Call
}

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

func (*RPCClient_ChainID_Call) Return added in v2.15.0

func (*RPCClient_ChainID_Call) Run added in v2.15.0

func (*RPCClient_ChainID_Call) RunAndReturn added in v2.15.0

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

type RPCClient_ClientVersion_Call added in v2.15.0

type RPCClient_ClientVersion_Call struct {
	*mock.Call
}

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

func (*RPCClient_ClientVersion_Call) Return added in v2.15.0

func (*RPCClient_ClientVersion_Call) Run added in v2.15.0

func (*RPCClient_ClientVersion_Call) RunAndReturn added in v2.15.0

type RPCClient_Close_Call added in v2.15.0

type RPCClient_Close_Call struct {
	*mock.Call
}

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

func (*RPCClient_Close_Call) Return added in v2.15.0

func (*RPCClient_Close_Call) Run added in v2.15.0

func (_c *RPCClient_Close_Call) Run(run func()) *RPCClient_Close_Call

func (*RPCClient_Close_Call) RunAndReturn added in v2.15.0

func (_c *RPCClient_Close_Call) RunAndReturn(run func()) *RPCClient_Close_Call

type RPCClient_CodeAt_Call added in v2.15.0

type RPCClient_CodeAt_Call struct {
	*mock.Call
}

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

func (*RPCClient_CodeAt_Call) Return added in v2.15.0

func (_c *RPCClient_CodeAt_Call) Return(_a0 []byte, _a1 error) *RPCClient_CodeAt_Call

func (*RPCClient_CodeAt_Call) Run added in v2.15.0

func (_c *RPCClient_CodeAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *RPCClient_CodeAt_Call

func (*RPCClient_CodeAt_Call) RunAndReturn added in v2.15.0

type RPCClient_DialHTTP_Call added in v2.15.0

type RPCClient_DialHTTP_Call struct {
	*mock.Call
}

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

func (*RPCClient_DialHTTP_Call) Return added in v2.15.0

func (*RPCClient_DialHTTP_Call) Run added in v2.15.0

func (_c *RPCClient_DialHTTP_Call) Run(run func()) *RPCClient_DialHTTP_Call

func (*RPCClient_DialHTTP_Call) RunAndReturn added in v2.15.0

func (_c *RPCClient_DialHTTP_Call) RunAndReturn(run func() error) *RPCClient_DialHTTP_Call

type RPCClient_Dial_Call added in v2.15.0

type RPCClient_Dial_Call struct {
	*mock.Call
}

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

func (*RPCClient_Dial_Call) Return added in v2.15.0

func (*RPCClient_Dial_Call) Run added in v2.15.0

func (_c *RPCClient_Dial_Call) Run(run func(ctx context.Context)) *RPCClient_Dial_Call

func (*RPCClient_Dial_Call) RunAndReturn added in v2.15.0

func (_c *RPCClient_Dial_Call) RunAndReturn(run func(context.Context) error) *RPCClient_Dial_Call

type RPCClient_DisconnectAll_Call added in v2.15.0

type RPCClient_DisconnectAll_Call struct {
	*mock.Call
}

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

func (*RPCClient_DisconnectAll_Call) Return added in v2.15.0

func (*RPCClient_DisconnectAll_Call) Run added in v2.15.0

func (*RPCClient_DisconnectAll_Call) RunAndReturn added in v2.15.0

func (_c *RPCClient_DisconnectAll_Call) RunAndReturn(run func()) *RPCClient_DisconnectAll_Call

type RPCClient_EstimateGas_Call added in v2.15.0

type RPCClient_EstimateGas_Call struct {
	*mock.Call
}

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

func (*RPCClient_EstimateGas_Call) Return added in v2.15.0

func (*RPCClient_EstimateGas_Call) Run added in v2.15.0

func (_c *RPCClient_EstimateGas_Call) Run(run func(ctx context.Context, call interface{})) *RPCClient_EstimateGas_Call

func (*RPCClient_EstimateGas_Call) RunAndReturn added in v2.15.0

func (_c *RPCClient_EstimateGas_Call) RunAndReturn(run func(context.Context, interface{}) (uint64, error)) *RPCClient_EstimateGas_Call

type RPCClient_Expecter added in v2.15.0

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

func (*RPCClient_Expecter) BalanceAt added in v2.15.0

func (_e *RPCClient_Expecter) BalanceAt(ctx interface{}, accountAddress interface{}, blockNumber interface{}) *RPCClient_BalanceAt_Call

BalanceAt is a helper method to define mock.On call

  • ctx context.Context
  • accountAddress common.Address
  • blockNumber *big.Int

func (*RPCClient_Expecter) BatchCallContext added in v2.15.0

func (_e *RPCClient_Expecter) BatchCallContext(ctx interface{}, b interface{}) *RPCClient_BatchCallContext_Call

BatchCallContext is a helper method to define mock.On call

  • ctx context.Context
  • b []rpc.BatchElem

func (*RPCClient_Expecter) BlockByHash added in v2.15.0

func (_e *RPCClient_Expecter) BlockByHash(ctx interface{}, hash interface{}) *RPCClient_BlockByHash_Call

BlockByHash is a helper method to define mock.On call

  • ctx context.Context
  • hash common.Hash

func (*RPCClient_Expecter) BlockByHashGeth added in v2.15.0

func (_e *RPCClient_Expecter) BlockByHashGeth(ctx interface{}, hash interface{}) *RPCClient_BlockByHashGeth_Call

BlockByHashGeth is a helper method to define mock.On call

  • ctx context.Context
  • hash common.Hash

func (*RPCClient_Expecter) BlockByNumber added in v2.15.0

func (_e *RPCClient_Expecter) BlockByNumber(ctx interface{}, number interface{}) *RPCClient_BlockByNumber_Call

BlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

func (*RPCClient_Expecter) BlockByNumberGeth added in v2.15.0

func (_e *RPCClient_Expecter) BlockByNumberGeth(ctx interface{}, number interface{}) *RPCClient_BlockByNumberGeth_Call

BlockByNumberGeth is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

func (*RPCClient_Expecter) CallContext added in v2.15.0

func (_e *RPCClient_Expecter) CallContext(ctx interface{}, result interface{}, method interface{}, args ...interface{}) *RPCClient_CallContext_Call

CallContext is a helper method to define mock.On call

  • ctx context.Context
  • result interface{}
  • method string
  • args ...interface{}

func (*RPCClient_Expecter) CallContract added in v2.15.0

func (_e *RPCClient_Expecter) CallContract(ctx interface{}, msg interface{}, blockNumber interface{}) *RPCClient_CallContract_Call

CallContract is a helper method to define mock.On call

  • ctx context.Context
  • msg interface{}
  • blockNumber *big.Int

func (*RPCClient_Expecter) ChainID added in v2.15.0

func (_e *RPCClient_Expecter) ChainID(ctx interface{}) *RPCClient_ChainID_Call

ChainID is a helper method to define mock.On call

  • ctx context.Context

func (*RPCClient_Expecter) ClientVersion added in v2.15.0

func (_e *RPCClient_Expecter) ClientVersion(_a0 interface{}) *RPCClient_ClientVersion_Call

ClientVersion is a helper method to define mock.On call

  • _a0 context.Context

func (*RPCClient_Expecter) Close added in v2.15.0

Close is a helper method to define mock.On call

func (*RPCClient_Expecter) CodeAt added in v2.15.0

func (_e *RPCClient_Expecter) CodeAt(ctx interface{}, account interface{}, blockNumber interface{}) *RPCClient_CodeAt_Call

CodeAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address
  • blockNumber *big.Int

func (*RPCClient_Expecter) Dial added in v2.15.0

func (_e *RPCClient_Expecter) Dial(ctx interface{}) *RPCClient_Dial_Call

Dial is a helper method to define mock.On call

  • ctx context.Context

func (*RPCClient_Expecter) DialHTTP added in v2.15.0

DialHTTP is a helper method to define mock.On call

func (*RPCClient_Expecter) DisconnectAll added in v2.15.0

func (_e *RPCClient_Expecter) DisconnectAll() *RPCClient_DisconnectAll_Call

DisconnectAll is a helper method to define mock.On call

func (*RPCClient_Expecter) EstimateGas added in v2.15.0

func (_e *RPCClient_Expecter) EstimateGas(ctx interface{}, call interface{}) *RPCClient_EstimateGas_Call

EstimateGas is a helper method to define mock.On call

  • ctx context.Context
  • call interface{}

func (*RPCClient_Expecter) FilterEvents added in v2.15.0

func (_e *RPCClient_Expecter) FilterEvents(ctx interface{}, query interface{}) *RPCClient_FilterEvents_Call

FilterEvents is a helper method to define mock.On call

  • ctx context.Context
  • query ethereum.FilterQuery

func (*RPCClient_Expecter) GetInterceptedChainInfo added in v2.15.0

func (_e *RPCClient_Expecter) GetInterceptedChainInfo() *RPCClient_GetInterceptedChainInfo_Call

GetInterceptedChainInfo is a helper method to define mock.On call

func (*RPCClient_Expecter) HeaderByHash added in v2.15.0

func (_e *RPCClient_Expecter) HeaderByHash(ctx interface{}, h interface{}) *RPCClient_HeaderByHash_Call

HeaderByHash is a helper method to define mock.On call

  • ctx context.Context
  • h common.Hash

func (*RPCClient_Expecter) HeaderByNumber added in v2.15.0

func (_e *RPCClient_Expecter) HeaderByNumber(ctx interface{}, n interface{}) *RPCClient_HeaderByNumber_Call

HeaderByNumber is a helper method to define mock.On call

  • ctx context.Context
  • n *big.Int

func (*RPCClient_Expecter) IsSyncing added in v2.15.0

func (_e *RPCClient_Expecter) IsSyncing(ctx interface{}) *RPCClient_IsSyncing_Call

IsSyncing is a helper method to define mock.On call

  • ctx context.Context

func (*RPCClient_Expecter) LINKBalance added in v2.15.0

func (_e *RPCClient_Expecter) LINKBalance(ctx interface{}, accountAddress interface{}, linkAddress interface{}) *RPCClient_LINKBalance_Call

LINKBalance is a helper method to define mock.On call

  • ctx context.Context
  • accountAddress common.Address
  • linkAddress common.Address

func (*RPCClient_Expecter) LatestBlockHeight added in v2.15.0

func (_e *RPCClient_Expecter) LatestBlockHeight(_a0 interface{}) *RPCClient_LatestBlockHeight_Call

LatestBlockHeight is a helper method to define mock.On call

  • _a0 context.Context

func (*RPCClient_Expecter) LatestFinalizedBlock added in v2.15.0

func (_e *RPCClient_Expecter) LatestFinalizedBlock(ctx interface{}) *RPCClient_LatestFinalizedBlock_Call

LatestFinalizedBlock is a helper method to define mock.On call

  • ctx context.Context

func (*RPCClient_Expecter) PendingCallContract added in v2.15.0

func (_e *RPCClient_Expecter) PendingCallContract(ctx interface{}, msg interface{}) *RPCClient_PendingCallContract_Call

PendingCallContract is a helper method to define mock.On call

  • ctx context.Context
  • msg interface{}

func (*RPCClient_Expecter) PendingCodeAt added in v2.15.0

func (_e *RPCClient_Expecter) PendingCodeAt(ctx interface{}, account interface{}) *RPCClient_PendingCodeAt_Call

PendingCodeAt is a helper method to define mock.On call

  • ctx context.Context
  • account common.Address

func (*RPCClient_Expecter) PendingSequenceAt added in v2.15.0

func (_e *RPCClient_Expecter) PendingSequenceAt(ctx interface{}, addr interface{}) *RPCClient_PendingSequenceAt_Call

PendingSequenceAt is a helper method to define mock.On call

  • ctx context.Context
  • addr common.Address

func (*RPCClient_Expecter) SendEmptyTransaction added in v2.15.0

func (_e *RPCClient_Expecter) SendEmptyTransaction(ctx interface{}, newTxAttempt interface{}, seq interface{}, gasLimit interface{}, fee interface{}, fromAddress interface{}) *RPCClient_SendEmptyTransaction_Call

SendEmptyTransaction is a helper method to define mock.On call

  • ctx context.Context
  • newTxAttempt func(types.Nonce , uint32 , *evmassets.Wei , common.Address)(interface{} , error)
  • seq types.Nonce
  • gasLimit uint32
  • fee *evmassets.Wei
  • fromAddress common.Address

func (*RPCClient_Expecter) SendTransaction added in v2.15.0

func (_e *RPCClient_Expecter) SendTransaction(ctx interface{}, tx interface{}) *RPCClient_SendTransaction_Call

SendTransaction is a helper method to define mock.On call

  • ctx context.Context
  • tx *coretypes.Transaction

func (*RPCClient_Expecter) SequenceAt added in v2.15.0

func (_e *RPCClient_Expecter) SequenceAt(ctx interface{}, accountAddress interface{}, blockNumber interface{}) *RPCClient_SequenceAt_Call

SequenceAt is a helper method to define mock.On call

  • ctx context.Context
  • accountAddress common.Address
  • blockNumber *big.Int

func (*RPCClient_Expecter) SetAliveLoopSub added in v2.15.0

func (_e *RPCClient_Expecter) SetAliveLoopSub(_a0 interface{}) *RPCClient_SetAliveLoopSub_Call

SetAliveLoopSub is a helper method to define mock.On call

  • _a0 commontypes.Subscription

func (*RPCClient_Expecter) SimulateTransaction added in v2.15.0

func (_e *RPCClient_Expecter) SimulateTransaction(ctx interface{}, tx interface{}) *RPCClient_SimulateTransaction_Call

SimulateTransaction is a helper method to define mock.On call

  • ctx context.Context
  • tx *coretypes.Transaction

func (*RPCClient_Expecter) SubscribeFilterLogs added in v2.15.0

func (_e *RPCClient_Expecter) SubscribeFilterLogs(ctx interface{}, q interface{}, ch interface{}) *RPCClient_SubscribeFilterLogs_Call

SubscribeFilterLogs is a helper method to define mock.On call

  • ctx context.Context
  • q ethereum.FilterQuery
  • ch chan<- coretypes.Log

func (*RPCClient_Expecter) SubscribeNewHead added in v2.15.0

func (_e *RPCClient_Expecter) SubscribeNewHead(ctx interface{}, channel interface{}) *RPCClient_SubscribeNewHead_Call

SubscribeNewHead is a helper method to define mock.On call

  • ctx context.Context
  • channel chan<- *types.Head

func (*RPCClient_Expecter) SubscribersCount added in v2.15.0

func (_e *RPCClient_Expecter) SubscribersCount() *RPCClient_SubscribersCount_Call

SubscribersCount is a helper method to define mock.On call

func (*RPCClient_Expecter) SuggestGasPrice added in v2.15.0

func (_e *RPCClient_Expecter) SuggestGasPrice(ctx interface{}) *RPCClient_SuggestGasPrice_Call

SuggestGasPrice is a helper method to define mock.On call

  • ctx context.Context

func (*RPCClient_Expecter) SuggestGasTipCap added in v2.15.0

func (_e *RPCClient_Expecter) SuggestGasTipCap(ctx interface{}) *RPCClient_SuggestGasTipCap_Call

SuggestGasTipCap is a helper method to define mock.On call

  • ctx context.Context

func (*RPCClient_Expecter) TokenBalance added in v2.15.0

func (_e *RPCClient_Expecter) TokenBalance(ctx interface{}, accountAddress interface{}, tokenAddress interface{}) *RPCClient_TokenBalance_Call

TokenBalance is a helper method to define mock.On call

  • ctx context.Context
  • accountAddress common.Address
  • tokenAddress common.Address

func (*RPCClient_Expecter) TransactionByHash added in v2.15.0

func (_e *RPCClient_Expecter) TransactionByHash(ctx interface{}, txHash interface{}) *RPCClient_TransactionByHash_Call

TransactionByHash is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

func (*RPCClient_Expecter) TransactionReceipt added in v2.15.0

func (_e *RPCClient_Expecter) TransactionReceipt(ctx interface{}, txHash interface{}) *RPCClient_TransactionReceipt_Call

TransactionReceipt is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

func (*RPCClient_Expecter) TransactionReceiptGeth added in v2.15.0

func (_e *RPCClient_Expecter) TransactionReceiptGeth(ctx interface{}, txHash interface{}) *RPCClient_TransactionReceiptGeth_Call

TransactionReceiptGeth is a helper method to define mock.On call

  • ctx context.Context
  • txHash common.Hash

func (*RPCClient_Expecter) UnsubscribeAllExceptAliveLoop added in v2.15.0

func (_e *RPCClient_Expecter) UnsubscribeAllExceptAliveLoop() *RPCClient_UnsubscribeAllExceptAliveLoop_Call

UnsubscribeAllExceptAliveLoop is a helper method to define mock.On call

type RPCClient_FilterEvents_Call added in v2.15.0

type RPCClient_FilterEvents_Call struct {
	*mock.Call
}

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

func (*RPCClient_FilterEvents_Call) Return added in v2.15.0

func (*RPCClient_FilterEvents_Call) Run added in v2.15.0

func (*RPCClient_FilterEvents_Call) RunAndReturn added in v2.15.0

type RPCClient_GetInterceptedChainInfo_Call added in v2.15.0

type RPCClient_GetInterceptedChainInfo_Call struct {
	*mock.Call
}

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

func (*RPCClient_GetInterceptedChainInfo_Call) Return added in v2.15.0

func (*RPCClient_GetInterceptedChainInfo_Call) Run added in v2.15.0

func (*RPCClient_GetInterceptedChainInfo_Call) RunAndReturn added in v2.15.0

type RPCClient_HeaderByHash_Call added in v2.15.0

type RPCClient_HeaderByHash_Call struct {
	*mock.Call
}

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

func (*RPCClient_HeaderByHash_Call) Return added in v2.15.0

func (*RPCClient_HeaderByHash_Call) Run added in v2.15.0

func (*RPCClient_HeaderByHash_Call) RunAndReturn added in v2.15.0

type RPCClient_HeaderByNumber_Call added in v2.15.0

type RPCClient_HeaderByNumber_Call struct {
	*mock.Call
}

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

func (*RPCClient_HeaderByNumber_Call) Return added in v2.15.0

func (*RPCClient_HeaderByNumber_Call) Run added in v2.15.0

func (*RPCClient_HeaderByNumber_Call) RunAndReturn added in v2.15.0

type RPCClient_IsSyncing_Call added in v2.15.0

type RPCClient_IsSyncing_Call struct {
	*mock.Call
}

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

func (*RPCClient_IsSyncing_Call) Return added in v2.15.0

func (*RPCClient_IsSyncing_Call) Run added in v2.15.0

func (*RPCClient_IsSyncing_Call) RunAndReturn added in v2.15.0

type RPCClient_LINKBalance_Call added in v2.15.0

type RPCClient_LINKBalance_Call struct {
	*mock.Call
}

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

func (*RPCClient_LINKBalance_Call) Return added in v2.15.0

func (*RPCClient_LINKBalance_Call) Run added in v2.15.0

func (_c *RPCClient_LINKBalance_Call) Run(run func(ctx context.Context, accountAddress common.Address, linkAddress common.Address)) *RPCClient_LINKBalance_Call

func (*RPCClient_LINKBalance_Call) RunAndReturn added in v2.15.0

type RPCClient_LatestBlockHeight_Call added in v2.15.0

type RPCClient_LatestBlockHeight_Call struct {
	*mock.Call
}

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

func (*RPCClient_LatestBlockHeight_Call) Return added in v2.15.0

func (*RPCClient_LatestBlockHeight_Call) Run added in v2.15.0

func (*RPCClient_LatestBlockHeight_Call) RunAndReturn added in v2.15.0

type RPCClient_LatestFinalizedBlock_Call added in v2.15.0

type RPCClient_LatestFinalizedBlock_Call struct {
	*mock.Call
}

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

func (*RPCClient_LatestFinalizedBlock_Call) Return added in v2.15.0

func (*RPCClient_LatestFinalizedBlock_Call) Run added in v2.15.0

func (*RPCClient_LatestFinalizedBlock_Call) RunAndReturn added in v2.15.0

type RPCClient_PendingCallContract_Call added in v2.15.0

type RPCClient_PendingCallContract_Call struct {
	*mock.Call
}

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

func (*RPCClient_PendingCallContract_Call) Return added in v2.15.0

func (*RPCClient_PendingCallContract_Call) Run added in v2.15.0

func (*RPCClient_PendingCallContract_Call) RunAndReturn added in v2.15.0

func (_c *RPCClient_PendingCallContract_Call) RunAndReturn(run func(context.Context, interface{}) ([]byte, error)) *RPCClient_PendingCallContract_Call

type RPCClient_PendingCodeAt_Call added in v2.15.0

type RPCClient_PendingCodeAt_Call struct {
	*mock.Call
}

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

func (*RPCClient_PendingCodeAt_Call) Return added in v2.15.0

func (*RPCClient_PendingCodeAt_Call) Run added in v2.15.0

func (*RPCClient_PendingCodeAt_Call) RunAndReturn added in v2.15.0

type RPCClient_PendingSequenceAt_Call added in v2.15.0

type RPCClient_PendingSequenceAt_Call struct {
	*mock.Call
}

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

func (*RPCClient_PendingSequenceAt_Call) Return added in v2.15.0

func (*RPCClient_PendingSequenceAt_Call) Run added in v2.15.0

func (*RPCClient_PendingSequenceAt_Call) RunAndReturn added in v2.15.0

type RPCClient_SendEmptyTransaction_Call added in v2.15.0

type RPCClient_SendEmptyTransaction_Call struct {
	*mock.Call
}

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

func (*RPCClient_SendEmptyTransaction_Call) Return added in v2.15.0

func (*RPCClient_SendEmptyTransaction_Call) Run added in v2.15.0

func (_c *RPCClient_SendEmptyTransaction_Call) Run(run func(ctx context.Context, newTxAttempt func(types.Nonce, uint32, *evmassets.Wei, common.Address) (interface{}, error), seq types.Nonce, gasLimit uint32, fee *evmassets.Wei, fromAddress common.Address)) *RPCClient_SendEmptyTransaction_Call

func (*RPCClient_SendEmptyTransaction_Call) RunAndReturn added in v2.15.0

type RPCClient_SendTransaction_Call added in v2.15.0

type RPCClient_SendTransaction_Call struct {
	*mock.Call
}

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

func (*RPCClient_SendTransaction_Call) Return added in v2.15.0

func (*RPCClient_SendTransaction_Call) Run added in v2.15.0

func (*RPCClient_SendTransaction_Call) RunAndReturn added in v2.15.0

type RPCClient_SequenceAt_Call added in v2.15.0

type RPCClient_SequenceAt_Call struct {
	*mock.Call
}

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

func (*RPCClient_SequenceAt_Call) Return added in v2.15.0

func (*RPCClient_SequenceAt_Call) Run added in v2.15.0

func (_c *RPCClient_SequenceAt_Call) Run(run func(ctx context.Context, accountAddress common.Address, blockNumber *big.Int)) *RPCClient_SequenceAt_Call

func (*RPCClient_SequenceAt_Call) RunAndReturn added in v2.15.0

type RPCClient_SetAliveLoopSub_Call added in v2.15.0

type RPCClient_SetAliveLoopSub_Call struct {
	*mock.Call
}

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

func (*RPCClient_SetAliveLoopSub_Call) Return added in v2.15.0

func (*RPCClient_SetAliveLoopSub_Call) Run added in v2.15.0

func (*RPCClient_SetAliveLoopSub_Call) RunAndReturn added in v2.15.0

type RPCClient_SimulateTransaction_Call added in v2.15.0

type RPCClient_SimulateTransaction_Call struct {
	*mock.Call
}

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

func (*RPCClient_SimulateTransaction_Call) Return added in v2.15.0

func (*RPCClient_SimulateTransaction_Call) Run added in v2.15.0

func (*RPCClient_SimulateTransaction_Call) RunAndReturn added in v2.15.0

type RPCClient_SubscribeFilterLogs_Call added in v2.15.0

type RPCClient_SubscribeFilterLogs_Call struct {
	*mock.Call
}

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

func (*RPCClient_SubscribeFilterLogs_Call) Return added in v2.15.0

func (*RPCClient_SubscribeFilterLogs_Call) Run added in v2.15.0

func (*RPCClient_SubscribeFilterLogs_Call) RunAndReturn added in v2.15.0

type RPCClient_SubscribeNewHead_Call added in v2.15.0

type RPCClient_SubscribeNewHead_Call struct {
	*mock.Call
}

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

func (*RPCClient_SubscribeNewHead_Call) Return added in v2.15.0

func (*RPCClient_SubscribeNewHead_Call) Run added in v2.15.0

func (*RPCClient_SubscribeNewHead_Call) RunAndReturn added in v2.15.0

type RPCClient_SubscribersCount_Call added in v2.15.0

type RPCClient_SubscribersCount_Call struct {
	*mock.Call
}

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

func (*RPCClient_SubscribersCount_Call) Return added in v2.15.0

func (*RPCClient_SubscribersCount_Call) Run added in v2.15.0

func (*RPCClient_SubscribersCount_Call) RunAndReturn added in v2.15.0

type RPCClient_SuggestGasPrice_Call added in v2.15.0

type RPCClient_SuggestGasPrice_Call struct {
	*mock.Call
}

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

func (*RPCClient_SuggestGasPrice_Call) Return added in v2.15.0

func (*RPCClient_SuggestGasPrice_Call) Run added in v2.15.0

func (*RPCClient_SuggestGasPrice_Call) RunAndReturn added in v2.15.0

type RPCClient_SuggestGasTipCap_Call added in v2.15.0

type RPCClient_SuggestGasTipCap_Call struct {
	*mock.Call
}

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

func (*RPCClient_SuggestGasTipCap_Call) Return added in v2.15.0

func (*RPCClient_SuggestGasTipCap_Call) Run added in v2.15.0

func (*RPCClient_SuggestGasTipCap_Call) RunAndReturn added in v2.15.0

type RPCClient_TokenBalance_Call added in v2.15.0

type RPCClient_TokenBalance_Call struct {
	*mock.Call
}

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

func (*RPCClient_TokenBalance_Call) Return added in v2.15.0

func (*RPCClient_TokenBalance_Call) Run added in v2.15.0

func (_c *RPCClient_TokenBalance_Call) Run(run func(ctx context.Context, accountAddress common.Address, tokenAddress common.Address)) *RPCClient_TokenBalance_Call

func (*RPCClient_TokenBalance_Call) RunAndReturn added in v2.15.0

type RPCClient_TransactionByHash_Call added in v2.15.0

type RPCClient_TransactionByHash_Call struct {
	*mock.Call
}

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

func (*RPCClient_TransactionByHash_Call) Return added in v2.15.0

func (*RPCClient_TransactionByHash_Call) Run added in v2.15.0

func (*RPCClient_TransactionByHash_Call) RunAndReturn added in v2.15.0

type RPCClient_TransactionReceiptGeth_Call added in v2.15.0

type RPCClient_TransactionReceiptGeth_Call struct {
	*mock.Call
}

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

func (*RPCClient_TransactionReceiptGeth_Call) Return added in v2.15.0

func (*RPCClient_TransactionReceiptGeth_Call) Run added in v2.15.0

func (*RPCClient_TransactionReceiptGeth_Call) RunAndReturn added in v2.15.0

type RPCClient_TransactionReceipt_Call added in v2.15.0

type RPCClient_TransactionReceipt_Call struct {
	*mock.Call
}

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

func (*RPCClient_TransactionReceipt_Call) Return added in v2.15.0

func (*RPCClient_TransactionReceipt_Call) Run added in v2.15.0

func (*RPCClient_TransactionReceipt_Call) RunAndReturn added in v2.15.0

type RPCClient_UnsubscribeAllExceptAliveLoop_Call added in v2.15.0

type RPCClient_UnsubscribeAllExceptAliveLoop_Call struct {
	*mock.Call
}

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

func (*RPCClient_UnsubscribeAllExceptAliveLoop_Call) Return added in v2.15.0

func (*RPCClient_UnsubscribeAllExceptAliveLoop_Call) Run added in v2.15.0

func (*RPCClient_UnsubscribeAllExceptAliveLoop_Call) RunAndReturn added in v2.15.0

Jump to

Keyboard shortcuts

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