Documentation
¶
Index ¶
- type Client
- func (_m *Client) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)
- func (_m *Client) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error
- func (_m *Client) BatchCallContextAll(ctx context.Context, b []rpc.BatchElem) error
- func (_m *Client) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)
- func (_m *Client) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (_m *Client) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
- func (_m *Client) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (_m *Client) CheckTxValidity(ctx context.Context, from common.Address, to common.Address, data []byte) *client.SendError
- func (_m *Client) Close()
- func (_m *Client) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
- func (_m *Client) ConfiguredChainID() *big.Int
- func (_m *Client) Dial(ctx context.Context) error
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)
- func (_m *Client) FeeHistory(ctx context.Context, blockCount uint64, lastBlock *big.Int, ...) (*ethereum.FeeHistory, error)
- func (_m *Client) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (_m *Client) HeadByHash(ctx context.Context, n common.Hash) (*evmtypes.Head, error)
- func (_m *Client) HeadByNumber(ctx context.Context, n *big.Int) (*evmtypes.Head, error)
- func (_m *Client) HeaderByHash(ctx context.Context, h common.Hash) (*types.Header, error)
- func (_m *Client) HeaderByNumber(ctx context.Context, n *big.Int) (*types.Header, error)
- func (_m *Client) IsL2() bool
- func (_m *Client) LINKBalance(ctx context.Context, address common.Address, linkAddress common.Address) (*assets.Link, error)
- func (_m *Client) LatestBlockHeight(ctx context.Context) (*big.Int, error)
- func (_m *Client) LatestFinalizedBlock(ctx context.Context) (*evmtypes.Head, error)
- func (_m *Client) NodeStates() map[string]string
- func (_m *Client) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
- func (_m *Client) PendingCallContract(ctx context.Context, msg ethereum.CallMsg) ([]byte, error)
- func (_m *Client) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)
- func (_m *Client) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)
- func (_m *Client) SendTransaction(ctx context.Context, tx *types.Transaction) error
- func (_m *Client) SendTransactionReturnCode(ctx context.Context, tx *types.Transaction, fromAddress common.Address) (multinode.SendTxReturnCode, error)
- func (_m *Client) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
- func (_m *Client) SubscribeToHeads(ctx context.Context) (<-chan *evmtypes.Head, ethereum.Subscription, error)
- func (_m *Client) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (_m *Client) SuggestGasTipCap(ctx context.Context) (*big.Int, error)
- func (_m *Client) TokenBalance(ctx context.Context, address common.Address, contractAddress common.Address) (*big.Int, error)
- func (_m *Client) TransactionByHash(ctx context.Context, txHash common.Hash) (*types.Transaction, error)
- func (_m *Client) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- type Client_BalanceAt_Call
- func (_c *Client_BalanceAt_Call) Return(_a0 *big.Int, _a1 error) *Client_BalanceAt_Call
- func (_c *Client_BalanceAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Client_BalanceAt_Call
- func (_c *Client_BalanceAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) (*big.Int, error)) *Client_BalanceAt_Call
- type Client_BatchCallContextAll_Call
- func (_c *Client_BatchCallContextAll_Call) Return(_a0 error) *Client_BatchCallContextAll_Call
- func (_c *Client_BatchCallContextAll_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *Client_BatchCallContextAll_Call
- func (_c *Client_BatchCallContextAll_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *Client_BatchCallContextAll_Call
- type Client_BatchCallContext_Call
- func (_c *Client_BatchCallContext_Call) Return(_a0 error) *Client_BatchCallContext_Call
- func (_c *Client_BatchCallContext_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *Client_BatchCallContext_Call
- func (_c *Client_BatchCallContext_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *Client_BatchCallContext_Call
- type Client_BlockByHash_Call
- func (_c *Client_BlockByHash_Call) Return(_a0 *types.Block, _a1 error) *Client_BlockByHash_Call
- func (_c *Client_BlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *Client_BlockByHash_Call
- func (_c *Client_BlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Block, error)) *Client_BlockByHash_Call
- type Client_BlockByNumber_Call
- func (_c *Client_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *Client_BlockByNumber_Call
- func (_c *Client_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *Client_BlockByNumber_Call
- func (_c *Client_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *Client_BlockByNumber_Call
- type Client_CallContext_Call
- type Client_CallContract_Call
- func (_c *Client_CallContract_Call) Return(_a0 []byte, _a1 error) *Client_CallContract_Call
- func (_c *Client_CallContract_Call) Run(run func(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int)) *Client_CallContract_Call
- func (_c *Client_CallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg, *big.Int) ([]byte, error)) *Client_CallContract_Call
- type Client_CheckTxValidity_Call
- type Client_Close_Call
- type Client_CodeAt_Call
- func (_c *Client_CodeAt_Call) Return(_a0 []byte, _a1 error) *Client_CodeAt_Call
- func (_c *Client_CodeAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Client_CodeAt_Call
- func (_c *Client_CodeAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) ([]byte, error)) *Client_CodeAt_Call
- type Client_ConfiguredChainID_Call
- type Client_Dial_Call
- type Client_EstimateGas_Call
- func (_c *Client_EstimateGas_Call) Return(_a0 uint64, _a1 error) *Client_EstimateGas_Call
- func (_c *Client_EstimateGas_Call) Run(run func(ctx context.Context, call ethereum.CallMsg)) *Client_EstimateGas_Call
- func (_c *Client_EstimateGas_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg) (uint64, error)) *Client_EstimateGas_Call
- type Client_Expecter
- func (_e *Client_Expecter) BalanceAt(ctx interface{}, account interface{}, blockNumber interface{}) *Client_BalanceAt_Call
- func (_e *Client_Expecter) BatchCallContext(ctx interface{}, b interface{}) *Client_BatchCallContext_Call
- func (_e *Client_Expecter) BatchCallContextAll(ctx interface{}, b interface{}) *Client_BatchCallContextAll_Call
- func (_e *Client_Expecter) BlockByHash(ctx interface{}, hash interface{}) *Client_BlockByHash_Call
- func (_e *Client_Expecter) BlockByNumber(ctx interface{}, number interface{}) *Client_BlockByNumber_Call
- func (_e *Client_Expecter) CallContext(ctx interface{}, result interface{}, method interface{}, args ...interface{}) *Client_CallContext_Call
- func (_e *Client_Expecter) CallContract(ctx interface{}, msg interface{}, blockNumber interface{}) *Client_CallContract_Call
- func (_e *Client_Expecter) CheckTxValidity(ctx interface{}, from interface{}, to interface{}, data interface{}) *Client_CheckTxValidity_Call
- func (_e *Client_Expecter) Close() *Client_Close_Call
- func (_e *Client_Expecter) CodeAt(ctx interface{}, account interface{}, blockNumber interface{}) *Client_CodeAt_Call
- func (_e *Client_Expecter) ConfiguredChainID() *Client_ConfiguredChainID_Call
- func (_e *Client_Expecter) Dial(ctx interface{}) *Client_Dial_Call
- func (_e *Client_Expecter) EstimateGas(ctx interface{}, call interface{}) *Client_EstimateGas_Call
- func (_e *Client_Expecter) FeeHistory(ctx interface{}, blockCount interface{}, lastBlock interface{}, ...) *Client_FeeHistory_Call
- func (_e *Client_Expecter) FilterLogs(ctx interface{}, q interface{}) *Client_FilterLogs_Call
- func (_e *Client_Expecter) HeadByHash(ctx interface{}, n interface{}) *Client_HeadByHash_Call
- func (_e *Client_Expecter) HeadByNumber(ctx interface{}, n interface{}) *Client_HeadByNumber_Call
- func (_e *Client_Expecter) HeaderByHash(ctx interface{}, h interface{}) *Client_HeaderByHash_Call
- func (_e *Client_Expecter) HeaderByNumber(ctx interface{}, n interface{}) *Client_HeaderByNumber_Call
- func (_e *Client_Expecter) IsL2() *Client_IsL2_Call
- func (_e *Client_Expecter) LINKBalance(ctx interface{}, address interface{}, linkAddress interface{}) *Client_LINKBalance_Call
- func (_e *Client_Expecter) LatestBlockHeight(ctx interface{}) *Client_LatestBlockHeight_Call
- func (_e *Client_Expecter) LatestFinalizedBlock(ctx interface{}) *Client_LatestFinalizedBlock_Call
- func (_e *Client_Expecter) NodeStates() *Client_NodeStates_Call
- func (_e *Client_Expecter) NonceAt(ctx interface{}, account interface{}, blockNumber interface{}) *Client_NonceAt_Call
- func (_e *Client_Expecter) PendingCallContract(ctx interface{}, msg interface{}) *Client_PendingCallContract_Call
- func (_e *Client_Expecter) PendingCodeAt(ctx interface{}, account interface{}) *Client_PendingCodeAt_Call
- func (_e *Client_Expecter) PendingNonceAt(ctx interface{}, account interface{}) *Client_PendingNonceAt_Call
- func (_e *Client_Expecter) SendTransaction(ctx interface{}, tx interface{}) *Client_SendTransaction_Call
- func (_e *Client_Expecter) SendTransactionReturnCode(ctx interface{}, tx interface{}, fromAddress interface{}) *Client_SendTransactionReturnCode_Call
- func (_e *Client_Expecter) SubscribeFilterLogs(ctx interface{}, q interface{}, ch interface{}) *Client_SubscribeFilterLogs_Call
- func (_e *Client_Expecter) SubscribeToHeads(ctx interface{}) *Client_SubscribeToHeads_Call
- func (_e *Client_Expecter) SuggestGasPrice(ctx interface{}) *Client_SuggestGasPrice_Call
- func (_e *Client_Expecter) SuggestGasTipCap(ctx interface{}) *Client_SuggestGasTipCap_Call
- func (_e *Client_Expecter) TokenBalance(ctx interface{}, address interface{}, contractAddress interface{}) *Client_TokenBalance_Call
- func (_e *Client_Expecter) TransactionByHash(ctx interface{}, txHash interface{}) *Client_TransactionByHash_Call
- func (_e *Client_Expecter) TransactionReceipt(ctx interface{}, txHash interface{}) *Client_TransactionReceipt_Call
- type Client_FeeHistory_Call
- func (_c *Client_FeeHistory_Call) Return(feeHistory *ethereum.FeeHistory, err error) *Client_FeeHistory_Call
- func (_c *Client_FeeHistory_Call) Run(run func(ctx context.Context, blockCount uint64, lastBlock *big.Int, ...)) *Client_FeeHistory_Call
- func (_c *Client_FeeHistory_Call) RunAndReturn(...) *Client_FeeHistory_Call
- type Client_FilterLogs_Call
- func (_c *Client_FilterLogs_Call) Return(_a0 []types.Log, _a1 error) *Client_FilterLogs_Call
- func (_c *Client_FilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery)) *Client_FilterLogs_Call
- func (_c *Client_FilterLogs_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery) ([]types.Log, error)) *Client_FilterLogs_Call
- type Client_HeadByHash_Call
- func (_c *Client_HeadByHash_Call) Return(_a0 *evmtypes.Head, _a1 error) *Client_HeadByHash_Call
- func (_c *Client_HeadByHash_Call) Run(run func(ctx context.Context, n common.Hash)) *Client_HeadByHash_Call
- func (_c *Client_HeadByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*evmtypes.Head, error)) *Client_HeadByHash_Call
- type Client_HeadByNumber_Call
- func (_c *Client_HeadByNumber_Call) Return(_a0 *evmtypes.Head, _a1 error) *Client_HeadByNumber_Call
- func (_c *Client_HeadByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *Client_HeadByNumber_Call
- func (_c *Client_HeadByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*evmtypes.Head, error)) *Client_HeadByNumber_Call
- type Client_HeaderByHash_Call
- func (_c *Client_HeaderByHash_Call) Return(_a0 *types.Header, _a1 error) *Client_HeaderByHash_Call
- func (_c *Client_HeaderByHash_Call) Run(run func(ctx context.Context, h common.Hash)) *Client_HeaderByHash_Call
- func (_c *Client_HeaderByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Header, error)) *Client_HeaderByHash_Call
- type Client_HeaderByNumber_Call
- func (_c *Client_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *Client_HeaderByNumber_Call
- func (_c *Client_HeaderByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *Client_HeaderByNumber_Call
- func (_c *Client_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *Client_HeaderByNumber_Call
- type Client_IsL2_Call
- type Client_LINKBalance_Call
- type Client_LatestBlockHeight_Call
- func (_c *Client_LatestBlockHeight_Call) Return(_a0 *big.Int, _a1 error) *Client_LatestBlockHeight_Call
- func (_c *Client_LatestBlockHeight_Call) Run(run func(ctx context.Context)) *Client_LatestBlockHeight_Call
- func (_c *Client_LatestBlockHeight_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *Client_LatestBlockHeight_Call
- type Client_LatestFinalizedBlock_Call
- func (_c *Client_LatestFinalizedBlock_Call) Return(head *evmtypes.Head, err error) *Client_LatestFinalizedBlock_Call
- func (_c *Client_LatestFinalizedBlock_Call) Run(run func(ctx context.Context)) *Client_LatestFinalizedBlock_Call
- func (_c *Client_LatestFinalizedBlock_Call) RunAndReturn(run func(context.Context) (*evmtypes.Head, error)) *Client_LatestFinalizedBlock_Call
- type Client_NodeStates_Call
- type Client_NonceAt_Call
- func (_c *Client_NonceAt_Call) Return(_a0 uint64, _a1 error) *Client_NonceAt_Call
- func (_c *Client_NonceAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Client_NonceAt_Call
- func (_c *Client_NonceAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) (uint64, error)) *Client_NonceAt_Call
- type Client_PendingCallContract_Call
- func (_c *Client_PendingCallContract_Call) Return(_a0 []byte, _a1 error) *Client_PendingCallContract_Call
- func (_c *Client_PendingCallContract_Call) Run(run func(ctx context.Context, msg ethereum.CallMsg)) *Client_PendingCallContract_Call
- func (_c *Client_PendingCallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg) ([]byte, error)) *Client_PendingCallContract_Call
- type Client_PendingCodeAt_Call
- func (_c *Client_PendingCodeAt_Call) Return(_a0 []byte, _a1 error) *Client_PendingCodeAt_Call
- func (_c *Client_PendingCodeAt_Call) Run(run func(ctx context.Context, account common.Address)) *Client_PendingCodeAt_Call
- func (_c *Client_PendingCodeAt_Call) RunAndReturn(run func(context.Context, common.Address) ([]byte, error)) *Client_PendingCodeAt_Call
- type Client_PendingNonceAt_Call
- func (_c *Client_PendingNonceAt_Call) Return(_a0 uint64, _a1 error) *Client_PendingNonceAt_Call
- func (_c *Client_PendingNonceAt_Call) Run(run func(ctx context.Context, account common.Address)) *Client_PendingNonceAt_Call
- func (_c *Client_PendingNonceAt_Call) RunAndReturn(run func(context.Context, common.Address) (uint64, error)) *Client_PendingNonceAt_Call
- type Client_SendTransactionReturnCode_Call
- func (_c *Client_SendTransactionReturnCode_Call) Return(_a0 multinode.SendTxReturnCode, _a1 error) *Client_SendTransactionReturnCode_Call
- func (_c *Client_SendTransactionReturnCode_Call) Run(...) *Client_SendTransactionReturnCode_Call
- func (_c *Client_SendTransactionReturnCode_Call) RunAndReturn(...) *Client_SendTransactionReturnCode_Call
- type Client_SendTransaction_Call
- func (_c *Client_SendTransaction_Call) Return(_a0 error) *Client_SendTransaction_Call
- func (_c *Client_SendTransaction_Call) Run(run func(ctx context.Context, tx *types.Transaction)) *Client_SendTransaction_Call
- func (_c *Client_SendTransaction_Call) RunAndReturn(run func(context.Context, *types.Transaction) error) *Client_SendTransaction_Call
- type Client_SubscribeFilterLogs_Call
- func (_c *Client_SubscribeFilterLogs_Call) Return(_a0 ethereum.Subscription, _a1 error) *Client_SubscribeFilterLogs_Call
- func (_c *Client_SubscribeFilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log)) *Client_SubscribeFilterLogs_Call
- func (_c *Client_SubscribeFilterLogs_Call) RunAndReturn(...) *Client_SubscribeFilterLogs_Call
- type Client_SubscribeToHeads_Call
- func (_c *Client_SubscribeToHeads_Call) Return(_a0 <-chan *evmtypes.Head, _a1 ethereum.Subscription, _a2 error) *Client_SubscribeToHeads_Call
- func (_c *Client_SubscribeToHeads_Call) Run(run func(ctx context.Context)) *Client_SubscribeToHeads_Call
- func (_c *Client_SubscribeToHeads_Call) RunAndReturn(...) *Client_SubscribeToHeads_Call
- type Client_SuggestGasPrice_Call
- func (_c *Client_SuggestGasPrice_Call) Return(_a0 *big.Int, _a1 error) *Client_SuggestGasPrice_Call
- func (_c *Client_SuggestGasPrice_Call) Run(run func(ctx context.Context)) *Client_SuggestGasPrice_Call
- func (_c *Client_SuggestGasPrice_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *Client_SuggestGasPrice_Call
- type Client_SuggestGasTipCap_Call
- func (_c *Client_SuggestGasTipCap_Call) Return(_a0 *big.Int, _a1 error) *Client_SuggestGasTipCap_Call
- func (_c *Client_SuggestGasTipCap_Call) Run(run func(ctx context.Context)) *Client_SuggestGasTipCap_Call
- func (_c *Client_SuggestGasTipCap_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *Client_SuggestGasTipCap_Call
- type Client_TokenBalance_Call
- func (_c *Client_TokenBalance_Call) Return(_a0 *big.Int, _a1 error) *Client_TokenBalance_Call
- func (_c *Client_TokenBalance_Call) Run(...) *Client_TokenBalance_Call
- func (_c *Client_TokenBalance_Call) RunAndReturn(run func(context.Context, common.Address, common.Address) (*big.Int, error)) *Client_TokenBalance_Call
- type Client_TransactionByHash_Call
- func (_c *Client_TransactionByHash_Call) Return(_a0 *types.Transaction, _a1 error) *Client_TransactionByHash_Call
- func (_c *Client_TransactionByHash_Call) Run(run func(ctx context.Context, txHash common.Hash)) *Client_TransactionByHash_Call
- func (_c *Client_TransactionByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Transaction, error)) *Client_TransactionByHash_Call
- type Client_TransactionReceipt_Call
- func (_c *Client_TransactionReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *Client_TransactionReceipt_Call
- func (_c *Client_TransactionReceipt_Call) Run(run func(ctx context.Context, txHash common.Hash)) *Client_TransactionReceipt_Call
- func (_c *Client_TransactionReceipt_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Receipt, error)) *Client_TransactionReceipt_Call
- type MockEth
- type Subscription
- type Subscription_Err_Call
- type Subscription_Expecter
- type Subscription_Unsubscribe_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 ¶
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 ¶
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 ¶
BatchCallContext provides a mock function with given fields: ctx, b
func (*Client) BatchCallContextAll ¶
BatchCallContextAll provides a mock function with given fields: ctx, b
func (*Client) BlockByHash ¶
BlockByHash provides a mock function with given fields: ctx, hash
func (*Client) BlockByNumber ¶
BlockByNumber provides a mock function with given fields: ctx, number
func (*Client) CallContext ¶
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 ¶
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) CheckTxValidity ¶
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) CodeAt ¶
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 ¶
ConfiguredChainID provides a mock function with no fields
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) EstimateGas ¶
EstimateGas provides a mock function with given fields: ctx, call
func (*Client) FeeHistory ¶
func (_m *Client) FeeHistory(ctx context.Context, blockCount uint64, lastBlock *big.Int, rewardPercentiles []float64) (*ethereum.FeeHistory, error)
FeeHistory provides a mock function with given fields: ctx, blockCount, lastBlock, rewardPercentiles
func (*Client) FilterLogs ¶
FilterLogs provides a mock function with given fields: ctx, q
func (*Client) HeadByHash ¶
HeadByHash provides a mock function with given fields: ctx, n
func (*Client) HeadByNumber ¶
HeadByNumber provides a mock function with given fields: ctx, n
func (*Client) HeaderByHash ¶
HeaderByHash provides a mock function with given fields: ctx, h
func (*Client) HeaderByNumber ¶
HeaderByNumber provides a mock function with given fields: ctx, n
func (*Client) LINKBalance ¶
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 ¶
LatestBlockHeight provides a mock function with given fields: ctx
func (*Client) LatestFinalizedBlock ¶
LatestFinalizedBlock provides a mock function with given fields: ctx
func (*Client) NodeStates ¶
NodeStates provides a mock function with no fields
func (*Client) NonceAt ¶
func (_m *Client) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error)
NonceAt provides a mock function with given fields: ctx, account, blockNumber
func (*Client) PendingCallContract ¶
PendingCallContract provides a mock function with given fields: ctx, msg
func (*Client) PendingCodeAt ¶
PendingCodeAt provides a mock function with given fields: ctx, account
func (*Client) PendingNonceAt ¶
PendingNonceAt provides a mock function with given fields: ctx, account
func (*Client) SendTransaction ¶
SendTransaction provides a mock function with given fields: ctx, tx
func (*Client) SendTransactionReturnCode ¶
func (_m *Client) SendTransactionReturnCode(ctx context.Context, tx *types.Transaction, fromAddress common.Address) (multinode.SendTxReturnCode, error)
SendTransactionReturnCode provides a mock function with given fields: ctx, tx, fromAddress
func (*Client) SubscribeFilterLogs ¶
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) SubscribeToHeads ¶
func (_m *Client) SubscribeToHeads(ctx context.Context) (<-chan *evmtypes.Head, ethereum.Subscription, error)
SubscribeToHeads provides a mock function with given fields: ctx
func (*Client) SuggestGasPrice ¶
SuggestGasPrice provides a mock function with given fields: ctx
func (*Client) SuggestGasTipCap ¶
SuggestGasTipCap provides a mock function with given fields: ctx
func (*Client) TokenBalance ¶
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 ¶
func (_m *Client) TransactionByHash(ctx context.Context, txHash common.Hash) (*types.Transaction, error)
TransactionByHash provides a mock function with given fields: ctx, txHash
type Client_BalanceAt_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 ¶
func (_c *Client_BalanceAt_Call) Return(_a0 *big.Int, _a1 error) *Client_BalanceAt_Call
func (*Client_BalanceAt_Call) Run ¶
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 ¶
type Client_BatchCallContextAll_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 ¶
func (_c *Client_BatchCallContextAll_Call) Return(_a0 error) *Client_BatchCallContextAll_Call
func (*Client_BatchCallContextAll_Call) Run ¶
func (_c *Client_BatchCallContextAll_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *Client_BatchCallContextAll_Call
func (*Client_BatchCallContextAll_Call) RunAndReturn ¶
func (_c *Client_BatchCallContextAll_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *Client_BatchCallContextAll_Call
type Client_BatchCallContext_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 ¶
func (_c *Client_BatchCallContext_Call) Return(_a0 error) *Client_BatchCallContext_Call
func (*Client_BatchCallContext_Call) Run ¶
func (_c *Client_BatchCallContext_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *Client_BatchCallContext_Call
func (*Client_BatchCallContext_Call) RunAndReturn ¶
func (_c *Client_BatchCallContext_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *Client_BatchCallContext_Call
type Client_BlockByHash_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 ¶
func (_c *Client_BlockByHash_Call) Return(_a0 *types.Block, _a1 error) *Client_BlockByHash_Call
func (*Client_BlockByHash_Call) Run ¶
func (_c *Client_BlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *Client_BlockByHash_Call
func (*Client_BlockByHash_Call) RunAndReturn ¶
func (_c *Client_BlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Block, error)) *Client_BlockByHash_Call
type Client_BlockByNumber_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 ¶
func (_c *Client_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *Client_BlockByNumber_Call
func (*Client_BlockByNumber_Call) Run ¶
func (_c *Client_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *Client_BlockByNumber_Call
func (*Client_BlockByNumber_Call) RunAndReturn ¶
func (_c *Client_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *Client_BlockByNumber_Call
type Client_CallContext_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 ¶
func (_c *Client_CallContext_Call) Return(_a0 error) *Client_CallContext_Call
func (*Client_CallContext_Call) Run ¶
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 ¶
func (_c *Client_CallContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *Client_CallContext_Call
type Client_CallContract_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 ¶
func (_c *Client_CallContract_Call) Return(_a0 []byte, _a1 error) *Client_CallContract_Call
func (*Client_CallContract_Call) Run ¶
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 ¶
func (_c *Client_CallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg, *big.Int) ([]byte, error)) *Client_CallContract_Call
type Client_CheckTxValidity_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 ¶
func (_c *Client_CheckTxValidity_Call) Return(_a0 *client.SendError) *Client_CheckTxValidity_Call
func (*Client_CheckTxValidity_Call) Run ¶
func (_c *Client_CheckTxValidity_Call) Run(run func(ctx context.Context, from common.Address, to common.Address, data []byte)) *Client_CheckTxValidity_Call
func (*Client_CheckTxValidity_Call) RunAndReturn ¶
type Client_Close_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 ¶
func (_c *Client_Close_Call) Return() *Client_Close_Call
func (*Client_Close_Call) Run ¶
func (_c *Client_Close_Call) Run(run func()) *Client_Close_Call
func (*Client_Close_Call) RunAndReturn ¶
func (_c *Client_Close_Call) RunAndReturn(run func()) *Client_Close_Call
type Client_CodeAt_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 ¶
func (_c *Client_CodeAt_Call) Return(_a0 []byte, _a1 error) *Client_CodeAt_Call
func (*Client_CodeAt_Call) Run ¶
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 ¶
func (_c *Client_CodeAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) ([]byte, error)) *Client_CodeAt_Call
type Client_ConfiguredChainID_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 ¶
func (_c *Client_ConfiguredChainID_Call) Return(_a0 *big.Int) *Client_ConfiguredChainID_Call
func (*Client_ConfiguredChainID_Call) Run ¶
func (_c *Client_ConfiguredChainID_Call) Run(run func()) *Client_ConfiguredChainID_Call
func (*Client_ConfiguredChainID_Call) RunAndReturn ¶
func (_c *Client_ConfiguredChainID_Call) RunAndReturn(run func() *big.Int) *Client_ConfiguredChainID_Call
type Client_Dial_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 ¶
func (_c *Client_Dial_Call) Return(_a0 error) *Client_Dial_Call
func (*Client_Dial_Call) Run ¶
func (_c *Client_Dial_Call) Run(run func(ctx context.Context)) *Client_Dial_Call
func (*Client_Dial_Call) RunAndReturn ¶
func (_c *Client_Dial_Call) RunAndReturn(run func(context.Context) error) *Client_Dial_Call
type Client_EstimateGas_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 ¶
func (_c *Client_EstimateGas_Call) Return(_a0 uint64, _a1 error) *Client_EstimateGas_Call
func (*Client_EstimateGas_Call) Run ¶
func (_c *Client_EstimateGas_Call) Run(run func(ctx context.Context, call ethereum.CallMsg)) *Client_EstimateGas_Call
func (*Client_EstimateGas_Call) RunAndReturn ¶
func (_c *Client_EstimateGas_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg) (uint64, error)) *Client_EstimateGas_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) BalanceAt ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) CheckTxValidity ¶
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 ¶
func (_e *Client_Expecter) Close() *Client_Close_Call
Close is a helper method to define mock.On call
func (*Client_Expecter) CodeAt ¶
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 ¶
func (_e *Client_Expecter) ConfiguredChainID() *Client_ConfiguredChainID_Call
ConfiguredChainID is a helper method to define mock.On call
func (*Client_Expecter) Dial ¶
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 ¶
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) FeeHistory ¶
func (_e *Client_Expecter) FeeHistory(ctx interface{}, blockCount interface{}, lastBlock interface{}, rewardPercentiles interface{}) *Client_FeeHistory_Call
FeeHistory is a helper method to define mock.On call
- ctx context.Context
- blockCount uint64
- lastBlock *big.Int
- rewardPercentiles []float64
func (*Client_Expecter) FilterLogs ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (_e *Client_Expecter) IsL2() *Client_IsL2_Call
IsL2 is a helper method to define mock.On call
func (*Client_Expecter) LINKBalance ¶
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 ¶
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 ¶
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 ¶
func (_e *Client_Expecter) NodeStates() *Client_NodeStates_Call
NodeStates is a helper method to define mock.On call
func (*Client_Expecter) NonceAt ¶
func (_e *Client_Expecter) NonceAt(ctx interface{}, account interface{}, blockNumber interface{}) *Client_NonceAt_Call
NonceAt is a helper method to define mock.On call
- ctx context.Context
- account common.Address
- blockNumber *big.Int
func (*Client_Expecter) PendingCallContract ¶
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 ¶
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 ¶
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 ¶
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 ¶
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) SubscribeFilterLogs ¶
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) SubscribeToHeads ¶
func (_e *Client_Expecter) SubscribeToHeads(ctx interface{}) *Client_SubscribeToHeads_Call
SubscribeToHeads is a helper method to define mock.On call
- ctx context.Context
func (*Client_Expecter) SuggestGasPrice ¶
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 ¶
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 ¶
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 ¶
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 ¶
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_FeeHistory_Call ¶
Client_FeeHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FeeHistory'
func (*Client_FeeHistory_Call) Return ¶
func (_c *Client_FeeHistory_Call) Return(feeHistory *ethereum.FeeHistory, err error) *Client_FeeHistory_Call
func (*Client_FeeHistory_Call) Run ¶
func (_c *Client_FeeHistory_Call) Run(run func(ctx context.Context, blockCount uint64, lastBlock *big.Int, rewardPercentiles []float64)) *Client_FeeHistory_Call
func (*Client_FeeHistory_Call) RunAndReturn ¶
func (_c *Client_FeeHistory_Call) RunAndReturn(run func(context.Context, uint64, *big.Int, []float64) (*ethereum.FeeHistory, error)) *Client_FeeHistory_Call
type Client_FilterLogs_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 ¶
func (_c *Client_FilterLogs_Call) Return(_a0 []types.Log, _a1 error) *Client_FilterLogs_Call
func (*Client_FilterLogs_Call) Run ¶
func (_c *Client_FilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery)) *Client_FilterLogs_Call
func (*Client_FilterLogs_Call) RunAndReturn ¶
func (_c *Client_FilterLogs_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery) ([]types.Log, error)) *Client_FilterLogs_Call
type Client_HeadByHash_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 ¶
func (_c *Client_HeadByHash_Call) Return(_a0 *evmtypes.Head, _a1 error) *Client_HeadByHash_Call
func (*Client_HeadByHash_Call) Run ¶
func (_c *Client_HeadByHash_Call) Run(run func(ctx context.Context, n common.Hash)) *Client_HeadByHash_Call
func (*Client_HeadByHash_Call) RunAndReturn ¶
func (_c *Client_HeadByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*evmtypes.Head, error)) *Client_HeadByHash_Call
type Client_HeadByNumber_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 ¶
func (_c *Client_HeadByNumber_Call) Return(_a0 *evmtypes.Head, _a1 error) *Client_HeadByNumber_Call
func (*Client_HeadByNumber_Call) Run ¶
func (_c *Client_HeadByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *Client_HeadByNumber_Call
func (*Client_HeadByNumber_Call) RunAndReturn ¶
func (_c *Client_HeadByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*evmtypes.Head, error)) *Client_HeadByNumber_Call
type Client_HeaderByHash_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 ¶
func (_c *Client_HeaderByHash_Call) Return(_a0 *types.Header, _a1 error) *Client_HeaderByHash_Call
func (*Client_HeaderByHash_Call) Run ¶
func (_c *Client_HeaderByHash_Call) Run(run func(ctx context.Context, h common.Hash)) *Client_HeaderByHash_Call
func (*Client_HeaderByHash_Call) RunAndReturn ¶
func (_c *Client_HeaderByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Header, error)) *Client_HeaderByHash_Call
type Client_HeaderByNumber_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 ¶
func (_c *Client_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *Client_HeaderByNumber_Call
func (*Client_HeaderByNumber_Call) Run ¶
func (_c *Client_HeaderByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *Client_HeaderByNumber_Call
func (*Client_HeaderByNumber_Call) RunAndReturn ¶
func (_c *Client_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *Client_HeaderByNumber_Call
type Client_IsL2_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 ¶
func (_c *Client_IsL2_Call) Return(_a0 bool) *Client_IsL2_Call
func (*Client_IsL2_Call) Run ¶
func (_c *Client_IsL2_Call) Run(run func()) *Client_IsL2_Call
func (*Client_IsL2_Call) RunAndReturn ¶
func (_c *Client_IsL2_Call) RunAndReturn(run func() bool) *Client_IsL2_Call
type Client_LINKBalance_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 ¶
func (_c *Client_LINKBalance_Call) Return(_a0 *assets.Link, _a1 error) *Client_LINKBalance_Call
func (*Client_LINKBalance_Call) Run ¶
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 ¶
type Client_LatestBlockHeight_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 ¶
func (_c *Client_LatestBlockHeight_Call) Return(_a0 *big.Int, _a1 error) *Client_LatestBlockHeight_Call
func (*Client_LatestBlockHeight_Call) Run ¶
func (_c *Client_LatestBlockHeight_Call) Run(run func(ctx context.Context)) *Client_LatestBlockHeight_Call
func (*Client_LatestBlockHeight_Call) RunAndReturn ¶
func (_c *Client_LatestBlockHeight_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *Client_LatestBlockHeight_Call
type Client_LatestFinalizedBlock_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 ¶
func (_c *Client_LatestFinalizedBlock_Call) Return(head *evmtypes.Head, err error) *Client_LatestFinalizedBlock_Call
func (*Client_LatestFinalizedBlock_Call) Run ¶
func (_c *Client_LatestFinalizedBlock_Call) Run(run func(ctx context.Context)) *Client_LatestFinalizedBlock_Call
func (*Client_LatestFinalizedBlock_Call) RunAndReturn ¶
func (_c *Client_LatestFinalizedBlock_Call) RunAndReturn(run func(context.Context) (*evmtypes.Head, error)) *Client_LatestFinalizedBlock_Call
type Client_NodeStates_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 ¶
func (_c *Client_NodeStates_Call) Return(_a0 map[string]string) *Client_NodeStates_Call
func (*Client_NodeStates_Call) Run ¶
func (_c *Client_NodeStates_Call) Run(run func()) *Client_NodeStates_Call
func (*Client_NodeStates_Call) RunAndReturn ¶
func (_c *Client_NodeStates_Call) RunAndReturn(run func() map[string]string) *Client_NodeStates_Call
type Client_NonceAt_Call ¶
Client_NonceAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NonceAt'
func (*Client_NonceAt_Call) Return ¶
func (_c *Client_NonceAt_Call) Return(_a0 uint64, _a1 error) *Client_NonceAt_Call
func (*Client_NonceAt_Call) Run ¶
func (_c *Client_NonceAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Client_NonceAt_Call
func (*Client_NonceAt_Call) RunAndReturn ¶
func (_c *Client_NonceAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) (uint64, error)) *Client_NonceAt_Call
type Client_PendingCallContract_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 ¶
func (_c *Client_PendingCallContract_Call) Return(_a0 []byte, _a1 error) *Client_PendingCallContract_Call
func (*Client_PendingCallContract_Call) Run ¶
func (_c *Client_PendingCallContract_Call) Run(run func(ctx context.Context, msg ethereum.CallMsg)) *Client_PendingCallContract_Call
func (*Client_PendingCallContract_Call) RunAndReturn ¶
func (_c *Client_PendingCallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg) ([]byte, error)) *Client_PendingCallContract_Call
type Client_PendingCodeAt_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 ¶
func (_c *Client_PendingCodeAt_Call) Return(_a0 []byte, _a1 error) *Client_PendingCodeAt_Call
func (*Client_PendingCodeAt_Call) Run ¶
func (_c *Client_PendingCodeAt_Call) Run(run func(ctx context.Context, account common.Address)) *Client_PendingCodeAt_Call
func (*Client_PendingCodeAt_Call) RunAndReturn ¶
func (_c *Client_PendingCodeAt_Call) RunAndReturn(run func(context.Context, common.Address) ([]byte, error)) *Client_PendingCodeAt_Call
type Client_PendingNonceAt_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 ¶
func (_c *Client_PendingNonceAt_Call) Return(_a0 uint64, _a1 error) *Client_PendingNonceAt_Call
func (*Client_PendingNonceAt_Call) Run ¶
func (_c *Client_PendingNonceAt_Call) Run(run func(ctx context.Context, account common.Address)) *Client_PendingNonceAt_Call
func (*Client_PendingNonceAt_Call) RunAndReturn ¶
func (_c *Client_PendingNonceAt_Call) RunAndReturn(run func(context.Context, common.Address) (uint64, error)) *Client_PendingNonceAt_Call
type Client_SendTransactionReturnCode_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 ¶
func (_c *Client_SendTransactionReturnCode_Call) Return(_a0 multinode.SendTxReturnCode, _a1 error) *Client_SendTransactionReturnCode_Call
func (*Client_SendTransactionReturnCode_Call) Run ¶
func (_c *Client_SendTransactionReturnCode_Call) Run(run func(ctx context.Context, tx *types.Transaction, fromAddress common.Address)) *Client_SendTransactionReturnCode_Call
func (*Client_SendTransactionReturnCode_Call) RunAndReturn ¶
func (_c *Client_SendTransactionReturnCode_Call) RunAndReturn(run func(context.Context, *types.Transaction, common.Address) (multinode.SendTxReturnCode, error)) *Client_SendTransactionReturnCode_Call
type Client_SendTransaction_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 ¶
func (_c *Client_SendTransaction_Call) Return(_a0 error) *Client_SendTransaction_Call
func (*Client_SendTransaction_Call) Run ¶
func (_c *Client_SendTransaction_Call) Run(run func(ctx context.Context, tx *types.Transaction)) *Client_SendTransaction_Call
func (*Client_SendTransaction_Call) RunAndReturn ¶
func (_c *Client_SendTransaction_Call) RunAndReturn(run func(context.Context, *types.Transaction) error) *Client_SendTransaction_Call
type Client_SubscribeFilterLogs_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 ¶
func (_c *Client_SubscribeFilterLogs_Call) Return(_a0 ethereum.Subscription, _a1 error) *Client_SubscribeFilterLogs_Call
func (*Client_SubscribeFilterLogs_Call) Run ¶
func (_c *Client_SubscribeFilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log)) *Client_SubscribeFilterLogs_Call
func (*Client_SubscribeFilterLogs_Call) RunAndReturn ¶
func (_c *Client_SubscribeFilterLogs_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery, chan<- types.Log) (ethereum.Subscription, error)) *Client_SubscribeFilterLogs_Call
type Client_SubscribeToHeads_Call ¶
Client_SubscribeToHeads_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeToHeads'
func (*Client_SubscribeToHeads_Call) Return ¶
func (_c *Client_SubscribeToHeads_Call) Return(_a0 <-chan *evmtypes.Head, _a1 ethereum.Subscription, _a2 error) *Client_SubscribeToHeads_Call
func (*Client_SubscribeToHeads_Call) Run ¶
func (_c *Client_SubscribeToHeads_Call) Run(run func(ctx context.Context)) *Client_SubscribeToHeads_Call
func (*Client_SubscribeToHeads_Call) RunAndReturn ¶
func (_c *Client_SubscribeToHeads_Call) RunAndReturn(run func(context.Context) (<-chan *evmtypes.Head, ethereum.Subscription, error)) *Client_SubscribeToHeads_Call
type Client_SuggestGasPrice_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 ¶
func (_c *Client_SuggestGasPrice_Call) Return(_a0 *big.Int, _a1 error) *Client_SuggestGasPrice_Call
func (*Client_SuggestGasPrice_Call) Run ¶
func (_c *Client_SuggestGasPrice_Call) Run(run func(ctx context.Context)) *Client_SuggestGasPrice_Call
func (*Client_SuggestGasPrice_Call) RunAndReturn ¶
func (_c *Client_SuggestGasPrice_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *Client_SuggestGasPrice_Call
type Client_SuggestGasTipCap_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 ¶
func (_c *Client_SuggestGasTipCap_Call) Return(_a0 *big.Int, _a1 error) *Client_SuggestGasTipCap_Call
func (*Client_SuggestGasTipCap_Call) Run ¶
func (_c *Client_SuggestGasTipCap_Call) Run(run func(ctx context.Context)) *Client_SuggestGasTipCap_Call
func (*Client_SuggestGasTipCap_Call) RunAndReturn ¶
func (_c *Client_SuggestGasTipCap_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *Client_SuggestGasTipCap_Call
type Client_TokenBalance_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 ¶
func (_c *Client_TokenBalance_Call) Return(_a0 *big.Int, _a1 error) *Client_TokenBalance_Call
func (*Client_TokenBalance_Call) Run ¶
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 ¶
type Client_TransactionByHash_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 ¶
func (_c *Client_TransactionByHash_Call) Return(_a0 *types.Transaction, _a1 error) *Client_TransactionByHash_Call
func (*Client_TransactionByHash_Call) Run ¶
func (_c *Client_TransactionByHash_Call) Run(run func(ctx context.Context, txHash common.Hash)) *Client_TransactionByHash_Call
func (*Client_TransactionByHash_Call) RunAndReturn ¶
func (_c *Client_TransactionByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Transaction, error)) *Client_TransactionByHash_Call
type Client_TransactionReceipt_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 ¶
func (_c *Client_TransactionReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *Client_TransactionReceipt_Call
func (*Client_TransactionReceipt_Call) Run ¶
func (_c *Client_TransactionReceipt_Call) Run(run func(ctx context.Context, txHash common.Hash)) *Client_TransactionReceipt_Call
func (*Client_TransactionReceipt_Call) RunAndReturn ¶
func (_c *Client_TransactionReceipt_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Receipt, error)) *Client_TransactionReceipt_Call
type MockEth ¶
type MockEth struct { EthClient *Client CheckFilterLogs func(int64, int64) // contains filtered or unexported fields }
func (*MockEth) SubscribeCallCount ¶
func (*MockEth) UnsubscribeCallCount ¶
type Subscription ¶
Subscription is an autogenerated mock type for the Subscription type
func NewSubscription ¶
func NewSubscription(t interface { mock.TestingT Cleanup(func()) }) *Subscription
NewSubscription creates a new instance of Subscription. 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 (*Subscription) EXPECT ¶
func (_m *Subscription) EXPECT() *Subscription_Expecter
func (*Subscription) Err ¶
func (_m *Subscription) Err() <-chan error
Err provides a mock function with no fields
func (*Subscription) Unsubscribe ¶
func (_m *Subscription) Unsubscribe()
Unsubscribe provides a mock function with no fields
type Subscription_Err_Call ¶
Subscription_Err_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Err'
func (*Subscription_Err_Call) Return ¶
func (_c *Subscription_Err_Call) Return(_a0 <-chan error) *Subscription_Err_Call
func (*Subscription_Err_Call) Run ¶
func (_c *Subscription_Err_Call) Run(run func()) *Subscription_Err_Call
func (*Subscription_Err_Call) RunAndReturn ¶
func (_c *Subscription_Err_Call) RunAndReturn(run func() <-chan error) *Subscription_Err_Call
type Subscription_Expecter ¶
type Subscription_Expecter struct {
// contains filtered or unexported fields
}
func (*Subscription_Expecter) Err ¶
func (_e *Subscription_Expecter) Err() *Subscription_Err_Call
Err is a helper method to define mock.On call
func (*Subscription_Expecter) Unsubscribe ¶
func (_e *Subscription_Expecter) Unsubscribe() *Subscription_Unsubscribe_Call
Unsubscribe is a helper method to define mock.On call
type Subscription_Unsubscribe_Call ¶
Subscription_Unsubscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unsubscribe'
func (*Subscription_Unsubscribe_Call) Return ¶
func (_c *Subscription_Unsubscribe_Call) Return() *Subscription_Unsubscribe_Call
func (*Subscription_Unsubscribe_Call) Run ¶
func (_c *Subscription_Unsubscribe_Call) Run(run func()) *Subscription_Unsubscribe_Call
func (*Subscription_Unsubscribe_Call) RunAndReturn ¶
func (_c *Subscription_Unsubscribe_Call) RunAndReturn(run func()) *Subscription_Unsubscribe_Call