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) ChainID() (*big.Int, 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) 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) 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) (commonclient.SendTxReturnCode, error)
- func (_m *Client) SequenceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (evmtypes.Nonce, error)
- func (_m *Client) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
- func (_m *Client) SubscribeNewHead(ctx context.Context, ch 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_ChainID_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) ChainID() *Client_ChainID_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) 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) 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) SequenceAt(ctx interface{}, account interface{}, blockNumber interface{}) *Client_SequenceAt_Call
- func (_e *Client_Expecter) SubscribeFilterLogs(ctx interface{}, q interface{}, ch interface{}) *Client_SubscribeFilterLogs_Call
- func (_e *Client_Expecter) SubscribeNewHead(ctx interface{}, ch interface{}) *Client_SubscribeNewHead_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_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_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 commonclient.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_SequenceAt_Call
- func (_c *Client_SequenceAt_Call) Return(_a0 evmtypes.Nonce, _a1 error) *Client_SequenceAt_Call
- func (_c *Client_SequenceAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *Client_SequenceAt_Call
- func (_c *Client_SequenceAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) (evmtypes.Nonce, error)) *Client_SequenceAt_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_SubscribeNewHead_Call
- func (_c *Client_SubscribeNewHead_Call) Return(_a0 ethereum.Subscription, _a1 error) *Client_SubscribeNewHead_Call
- func (_c *Client_SubscribeNewHead_Call) Run(run func(ctx context.Context, ch chan<- *evmtypes.Head)) *Client_SubscribeNewHead_Call
- func (_c *Client_SubscribeNewHead_Call) RunAndReturn(...) *Client_SubscribeNewHead_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 RPCClient
- func (_m *RPCClient) BalanceAt(ctx context.Context, accountAddress common.Address, blockNumber *big.Int) (*big.Int, error)
- func (_m *RPCClient) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error
- func (_m *RPCClient) BlockByHash(ctx context.Context, hash common.Hash) (*types.Head, error)
- func (_m *RPCClient) BlockByHashGeth(ctx context.Context, hash common.Hash) (*coretypes.Block, error)
- func (_m *RPCClient) BlockByNumber(ctx context.Context, number *big.Int) (*types.Head, error)
- func (_m *RPCClient) BlockByNumberGeth(ctx context.Context, number *big.Int) (*coretypes.Block, error)
- func (_m *RPCClient) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
- func (_m *RPCClient) CallContract(ctx context.Context, msg interface{}, blockNumber *big.Int) ([]byte, error)
- func (_m *RPCClient) ChainID(ctx context.Context) (*big.Int, error)
- func (_m *RPCClient) ClientVersion(_a0 context.Context) (string, error)
- func (_m *RPCClient) Close()
- func (_m *RPCClient) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error)
- func (_m *RPCClient) Dial(ctx context.Context) error
- func (_m *RPCClient) DialHTTP() error
- func (_m *RPCClient) DisconnectAll()
- func (_m *RPCClient) EXPECT() *RPCClient_Expecter
- func (_m *RPCClient) EstimateGas(ctx context.Context, call interface{}) (uint64, error)
- func (_m *RPCClient) FilterEvents(ctx context.Context, query ethereum.FilterQuery) ([]coretypes.Log, error)
- func (_m *RPCClient) GetInterceptedChainInfo() (commonclient.ChainInfo, commonclient.ChainInfo)
- func (_m *RPCClient) HeaderByHash(ctx context.Context, h common.Hash) (*coretypes.Header, error)
- func (_m *RPCClient) HeaderByNumber(ctx context.Context, n *big.Int) (*coretypes.Header, error)
- func (_m *RPCClient) IsSyncing(ctx context.Context) (bool, error)
- func (_m *RPCClient) LINKBalance(ctx context.Context, accountAddress common.Address, linkAddress common.Address) (*assets.Link, error)
- func (_m *RPCClient) LatestBlockHeight(_a0 context.Context) (*big.Int, error)
- func (_m *RPCClient) LatestFinalizedBlock(ctx context.Context) (*types.Head, error)
- func (_m *RPCClient) PendingCallContract(ctx context.Context, msg interface{}) ([]byte, error)
- func (_m *RPCClient) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)
- func (_m *RPCClient) PendingSequenceAt(ctx context.Context, addr common.Address) (types.Nonce, error)
- func (_m *RPCClient) SendEmptyTransaction(ctx context.Context, ...) (string, error)
- func (_m *RPCClient) SendTransaction(ctx context.Context, tx *coretypes.Transaction) error
- func (_m *RPCClient) SequenceAt(ctx context.Context, accountAddress common.Address, blockNumber *big.Int) (types.Nonce, error)
- func (_m *RPCClient) SetAliveLoopSub(_a0 commontypes.Subscription)
- func (_m *RPCClient) SimulateTransaction(ctx context.Context, tx *coretypes.Transaction) error
- func (_m *RPCClient) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- coretypes.Log) (ethereum.Subscription, error)
- func (_m *RPCClient) SubscribeNewHead(ctx context.Context, channel chan<- *types.Head) (commontypes.Subscription, error)
- func (_m *RPCClient) SubscribersCount() int32
- func (_m *RPCClient) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (_m *RPCClient) SuggestGasTipCap(ctx context.Context) (*big.Int, error)
- func (_m *RPCClient) TokenBalance(ctx context.Context, accountAddress common.Address, ...) (*big.Int, error)
- func (_m *RPCClient) TransactionByHash(ctx context.Context, txHash common.Hash) (*coretypes.Transaction, error)
- func (_m *RPCClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- func (_m *RPCClient) TransactionReceiptGeth(ctx context.Context, txHash common.Hash) (*coretypes.Receipt, error)
- func (_m *RPCClient) UnsubscribeAllExceptAliveLoop()
- type RPCClient_BalanceAt_Call
- func (_c *RPCClient_BalanceAt_Call) Return(_a0 *big.Int, _a1 error) *RPCClient_BalanceAt_Call
- func (_c *RPCClient_BalanceAt_Call) Run(...) *RPCClient_BalanceAt_Call
- func (_c *RPCClient_BalanceAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) (*big.Int, error)) *RPCClient_BalanceAt_Call
- type RPCClient_BatchCallContext_Call
- func (_c *RPCClient_BatchCallContext_Call) Return(_a0 error) *RPCClient_BatchCallContext_Call
- func (_c *RPCClient_BatchCallContext_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *RPCClient_BatchCallContext_Call
- func (_c *RPCClient_BatchCallContext_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *RPCClient_BatchCallContext_Call
- type RPCClient_BlockByHashGeth_Call
- func (_c *RPCClient_BlockByHashGeth_Call) Return(b *coretypes.Block, err error) *RPCClient_BlockByHashGeth_Call
- func (_c *RPCClient_BlockByHashGeth_Call) Run(run func(ctx context.Context, hash common.Hash)) *RPCClient_BlockByHashGeth_Call
- func (_c *RPCClient_BlockByHashGeth_Call) RunAndReturn(run func(context.Context, common.Hash) (*coretypes.Block, error)) *RPCClient_BlockByHashGeth_Call
- type RPCClient_BlockByHash_Call
- func (_c *RPCClient_BlockByHash_Call) Return(_a0 *types.Head, _a1 error) *RPCClient_BlockByHash_Call
- func (_c *RPCClient_BlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *RPCClient_BlockByHash_Call
- func (_c *RPCClient_BlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Head, error)) *RPCClient_BlockByHash_Call
- type RPCClient_BlockByNumberGeth_Call
- func (_c *RPCClient_BlockByNumberGeth_Call) Return(b *coretypes.Block, err error) *RPCClient_BlockByNumberGeth_Call
- func (_c *RPCClient_BlockByNumberGeth_Call) Run(run func(ctx context.Context, number *big.Int)) *RPCClient_BlockByNumberGeth_Call
- func (_c *RPCClient_BlockByNumberGeth_Call) RunAndReturn(run func(context.Context, *big.Int) (*coretypes.Block, error)) *RPCClient_BlockByNumberGeth_Call
- type RPCClient_BlockByNumber_Call
- func (_c *RPCClient_BlockByNumber_Call) Return(_a0 *types.Head, _a1 error) *RPCClient_BlockByNumber_Call
- func (_c *RPCClient_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *RPCClient_BlockByNumber_Call
- func (_c *RPCClient_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Head, error)) *RPCClient_BlockByNumber_Call
- type RPCClient_CallContext_Call
- func (_c *RPCClient_CallContext_Call) Return(_a0 error) *RPCClient_CallContext_Call
- func (_c *RPCClient_CallContext_Call) Run(...) *RPCClient_CallContext_Call
- func (_c *RPCClient_CallContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *RPCClient_CallContext_Call
- type RPCClient_CallContract_Call
- func (_c *RPCClient_CallContract_Call) Return(rpcErr []byte, extractErr error) *RPCClient_CallContract_Call
- func (_c *RPCClient_CallContract_Call) Run(run func(ctx context.Context, msg interface{}, blockNumber *big.Int)) *RPCClient_CallContract_Call
- func (_c *RPCClient_CallContract_Call) RunAndReturn(run func(context.Context, interface{}, *big.Int) ([]byte, error)) *RPCClient_CallContract_Call
- type RPCClient_ChainID_Call
- type RPCClient_ClientVersion_Call
- func (_c *RPCClient_ClientVersion_Call) Return(_a0 string, _a1 error) *RPCClient_ClientVersion_Call
- func (_c *RPCClient_ClientVersion_Call) Run(run func(_a0 context.Context)) *RPCClient_ClientVersion_Call
- func (_c *RPCClient_ClientVersion_Call) RunAndReturn(run func(context.Context) (string, error)) *RPCClient_ClientVersion_Call
- type RPCClient_Close_Call
- type RPCClient_CodeAt_Call
- func (_c *RPCClient_CodeAt_Call) Return(_a0 []byte, _a1 error) *RPCClient_CodeAt_Call
- func (_c *RPCClient_CodeAt_Call) Run(run func(ctx context.Context, account common.Address, blockNumber *big.Int)) *RPCClient_CodeAt_Call
- func (_c *RPCClient_CodeAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) ([]byte, error)) *RPCClient_CodeAt_Call
- type RPCClient_DialHTTP_Call
- type RPCClient_Dial_Call
- type RPCClient_DisconnectAll_Call
- type RPCClient_EstimateGas_Call
- func (_c *RPCClient_EstimateGas_Call) Return(gas uint64, err error) *RPCClient_EstimateGas_Call
- func (_c *RPCClient_EstimateGas_Call) Run(run func(ctx context.Context, call interface{})) *RPCClient_EstimateGas_Call
- func (_c *RPCClient_EstimateGas_Call) RunAndReturn(run func(context.Context, interface{}) (uint64, error)) *RPCClient_EstimateGas_Call
- type RPCClient_Expecter
- func (_e *RPCClient_Expecter) BalanceAt(ctx interface{}, accountAddress interface{}, blockNumber interface{}) *RPCClient_BalanceAt_Call
- func (_e *RPCClient_Expecter) BatchCallContext(ctx interface{}, b interface{}) *RPCClient_BatchCallContext_Call
- func (_e *RPCClient_Expecter) BlockByHash(ctx interface{}, hash interface{}) *RPCClient_BlockByHash_Call
- func (_e *RPCClient_Expecter) BlockByHashGeth(ctx interface{}, hash interface{}) *RPCClient_BlockByHashGeth_Call
- func (_e *RPCClient_Expecter) BlockByNumber(ctx interface{}, number interface{}) *RPCClient_BlockByNumber_Call
- func (_e *RPCClient_Expecter) BlockByNumberGeth(ctx interface{}, number interface{}) *RPCClient_BlockByNumberGeth_Call
- func (_e *RPCClient_Expecter) CallContext(ctx interface{}, result interface{}, method interface{}, args ...interface{}) *RPCClient_CallContext_Call
- func (_e *RPCClient_Expecter) CallContract(ctx interface{}, msg interface{}, blockNumber interface{}) *RPCClient_CallContract_Call
- func (_e *RPCClient_Expecter) ChainID(ctx interface{}) *RPCClient_ChainID_Call
- func (_e *RPCClient_Expecter) ClientVersion(_a0 interface{}) *RPCClient_ClientVersion_Call
- func (_e *RPCClient_Expecter) Close() *RPCClient_Close_Call
- func (_e *RPCClient_Expecter) CodeAt(ctx interface{}, account interface{}, blockNumber interface{}) *RPCClient_CodeAt_Call
- func (_e *RPCClient_Expecter) Dial(ctx interface{}) *RPCClient_Dial_Call
- func (_e *RPCClient_Expecter) DialHTTP() *RPCClient_DialHTTP_Call
- func (_e *RPCClient_Expecter) DisconnectAll() *RPCClient_DisconnectAll_Call
- func (_e *RPCClient_Expecter) EstimateGas(ctx interface{}, call interface{}) *RPCClient_EstimateGas_Call
- func (_e *RPCClient_Expecter) FilterEvents(ctx interface{}, query interface{}) *RPCClient_FilterEvents_Call
- func (_e *RPCClient_Expecter) GetInterceptedChainInfo() *RPCClient_GetInterceptedChainInfo_Call
- func (_e *RPCClient_Expecter) HeaderByHash(ctx interface{}, h interface{}) *RPCClient_HeaderByHash_Call
- func (_e *RPCClient_Expecter) HeaderByNumber(ctx interface{}, n interface{}) *RPCClient_HeaderByNumber_Call
- func (_e *RPCClient_Expecter) IsSyncing(ctx interface{}) *RPCClient_IsSyncing_Call
- func (_e *RPCClient_Expecter) LINKBalance(ctx interface{}, accountAddress interface{}, linkAddress interface{}) *RPCClient_LINKBalance_Call
- func (_e *RPCClient_Expecter) LatestBlockHeight(_a0 interface{}) *RPCClient_LatestBlockHeight_Call
- func (_e *RPCClient_Expecter) LatestFinalizedBlock(ctx interface{}) *RPCClient_LatestFinalizedBlock_Call
- func (_e *RPCClient_Expecter) PendingCallContract(ctx interface{}, msg interface{}) *RPCClient_PendingCallContract_Call
- func (_e *RPCClient_Expecter) PendingCodeAt(ctx interface{}, account interface{}) *RPCClient_PendingCodeAt_Call
- func (_e *RPCClient_Expecter) PendingSequenceAt(ctx interface{}, addr interface{}) *RPCClient_PendingSequenceAt_Call
- func (_e *RPCClient_Expecter) SendEmptyTransaction(ctx interface{}, newTxAttempt interface{}, seq interface{}, ...) *RPCClient_SendEmptyTransaction_Call
- func (_e *RPCClient_Expecter) SendTransaction(ctx interface{}, tx interface{}) *RPCClient_SendTransaction_Call
- func (_e *RPCClient_Expecter) SequenceAt(ctx interface{}, accountAddress interface{}, blockNumber interface{}) *RPCClient_SequenceAt_Call
- func (_e *RPCClient_Expecter) SetAliveLoopSub(_a0 interface{}) *RPCClient_SetAliveLoopSub_Call
- func (_e *RPCClient_Expecter) SimulateTransaction(ctx interface{}, tx interface{}) *RPCClient_SimulateTransaction_Call
- func (_e *RPCClient_Expecter) SubscribeFilterLogs(ctx interface{}, q interface{}, ch interface{}) *RPCClient_SubscribeFilterLogs_Call
- func (_e *RPCClient_Expecter) SubscribeNewHead(ctx interface{}, channel interface{}) *RPCClient_SubscribeNewHead_Call
- func (_e *RPCClient_Expecter) SubscribersCount() *RPCClient_SubscribersCount_Call
- func (_e *RPCClient_Expecter) SuggestGasPrice(ctx interface{}) *RPCClient_SuggestGasPrice_Call
- func (_e *RPCClient_Expecter) SuggestGasTipCap(ctx interface{}) *RPCClient_SuggestGasTipCap_Call
- func (_e *RPCClient_Expecter) TokenBalance(ctx interface{}, accountAddress interface{}, tokenAddress interface{}) *RPCClient_TokenBalance_Call
- func (_e *RPCClient_Expecter) TransactionByHash(ctx interface{}, txHash interface{}) *RPCClient_TransactionByHash_Call
- func (_e *RPCClient_Expecter) TransactionReceipt(ctx interface{}, txHash interface{}) *RPCClient_TransactionReceipt_Call
- func (_e *RPCClient_Expecter) TransactionReceiptGeth(ctx interface{}, txHash interface{}) *RPCClient_TransactionReceiptGeth_Call
- func (_e *RPCClient_Expecter) UnsubscribeAllExceptAliveLoop() *RPCClient_UnsubscribeAllExceptAliveLoop_Call
- type RPCClient_FilterEvents_Call
- func (_c *RPCClient_FilterEvents_Call) Return(_a0 []coretypes.Log, _a1 error) *RPCClient_FilterEvents_Call
- func (_c *RPCClient_FilterEvents_Call) Run(run func(ctx context.Context, query ethereum.FilterQuery)) *RPCClient_FilterEvents_Call
- func (_c *RPCClient_FilterEvents_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery) ([]coretypes.Log, error)) *RPCClient_FilterEvents_Call
- type RPCClient_GetInterceptedChainInfo_Call
- func (_c *RPCClient_GetInterceptedChainInfo_Call) Return(latest commonclient.ChainInfo, highestUserObservations commonclient.ChainInfo) *RPCClient_GetInterceptedChainInfo_Call
- func (_c *RPCClient_GetInterceptedChainInfo_Call) Run(run func()) *RPCClient_GetInterceptedChainInfo_Call
- func (_c *RPCClient_GetInterceptedChainInfo_Call) RunAndReturn(run func() (commonclient.ChainInfo, commonclient.ChainInfo)) *RPCClient_GetInterceptedChainInfo_Call
- type RPCClient_HeaderByHash_Call
- func (_c *RPCClient_HeaderByHash_Call) Return(head *coretypes.Header, err error) *RPCClient_HeaderByHash_Call
- func (_c *RPCClient_HeaderByHash_Call) Run(run func(ctx context.Context, h common.Hash)) *RPCClient_HeaderByHash_Call
- func (_c *RPCClient_HeaderByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*coretypes.Header, error)) *RPCClient_HeaderByHash_Call
- type RPCClient_HeaderByNumber_Call
- func (_c *RPCClient_HeaderByNumber_Call) Return(head *coretypes.Header, err error) *RPCClient_HeaderByNumber_Call
- func (_c *RPCClient_HeaderByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *RPCClient_HeaderByNumber_Call
- func (_c *RPCClient_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*coretypes.Header, error)) *RPCClient_HeaderByNumber_Call
- type RPCClient_IsSyncing_Call
- func (_c *RPCClient_IsSyncing_Call) Return(_a0 bool, _a1 error) *RPCClient_IsSyncing_Call
- func (_c *RPCClient_IsSyncing_Call) Run(run func(ctx context.Context)) *RPCClient_IsSyncing_Call
- func (_c *RPCClient_IsSyncing_Call) RunAndReturn(run func(context.Context) (bool, error)) *RPCClient_IsSyncing_Call
- type RPCClient_LINKBalance_Call
- type RPCClient_LatestBlockHeight_Call
- func (_c *RPCClient_LatestBlockHeight_Call) Return(_a0 *big.Int, _a1 error) *RPCClient_LatestBlockHeight_Call
- func (_c *RPCClient_LatestBlockHeight_Call) Run(run func(_a0 context.Context)) *RPCClient_LatestBlockHeight_Call
- func (_c *RPCClient_LatestBlockHeight_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *RPCClient_LatestBlockHeight_Call
- type RPCClient_LatestFinalizedBlock_Call
- func (_c *RPCClient_LatestFinalizedBlock_Call) Return(_a0 *types.Head, _a1 error) *RPCClient_LatestFinalizedBlock_Call
- func (_c *RPCClient_LatestFinalizedBlock_Call) Run(run func(ctx context.Context)) *RPCClient_LatestFinalizedBlock_Call
- func (_c *RPCClient_LatestFinalizedBlock_Call) RunAndReturn(run func(context.Context) (*types.Head, error)) *RPCClient_LatestFinalizedBlock_Call
- type RPCClient_PendingCallContract_Call
- func (_c *RPCClient_PendingCallContract_Call) Return(rpcErr []byte, extractErr error) *RPCClient_PendingCallContract_Call
- func (_c *RPCClient_PendingCallContract_Call) Run(run func(ctx context.Context, msg interface{})) *RPCClient_PendingCallContract_Call
- func (_c *RPCClient_PendingCallContract_Call) RunAndReturn(run func(context.Context, interface{}) ([]byte, error)) *RPCClient_PendingCallContract_Call
- type RPCClient_PendingCodeAt_Call
- func (_c *RPCClient_PendingCodeAt_Call) Return(b []byte, err error) *RPCClient_PendingCodeAt_Call
- func (_c *RPCClient_PendingCodeAt_Call) Run(run func(ctx context.Context, account common.Address)) *RPCClient_PendingCodeAt_Call
- func (_c *RPCClient_PendingCodeAt_Call) RunAndReturn(run func(context.Context, common.Address) ([]byte, error)) *RPCClient_PendingCodeAt_Call
- type RPCClient_PendingSequenceAt_Call
- func (_c *RPCClient_PendingSequenceAt_Call) Return(_a0 types.Nonce, _a1 error) *RPCClient_PendingSequenceAt_Call
- func (_c *RPCClient_PendingSequenceAt_Call) Run(run func(ctx context.Context, addr common.Address)) *RPCClient_PendingSequenceAt_Call
- func (_c *RPCClient_PendingSequenceAt_Call) RunAndReturn(run func(context.Context, common.Address) (types.Nonce, error)) *RPCClient_PendingSequenceAt_Call
- type RPCClient_SendEmptyTransaction_Call
- func (_c *RPCClient_SendEmptyTransaction_Call) Return(txhash string, err error) *RPCClient_SendEmptyTransaction_Call
- func (_c *RPCClient_SendEmptyTransaction_Call) Run(run func(ctx context.Context, ...)) *RPCClient_SendEmptyTransaction_Call
- func (_c *RPCClient_SendEmptyTransaction_Call) RunAndReturn(run func(context.Context, ...) (string, error)) *RPCClient_SendEmptyTransaction_Call
- type RPCClient_SendTransaction_Call
- func (_c *RPCClient_SendTransaction_Call) Return(_a0 error) *RPCClient_SendTransaction_Call
- func (_c *RPCClient_SendTransaction_Call) Run(run func(ctx context.Context, tx *coretypes.Transaction)) *RPCClient_SendTransaction_Call
- func (_c *RPCClient_SendTransaction_Call) RunAndReturn(run func(context.Context, *coretypes.Transaction) error) *RPCClient_SendTransaction_Call
- type RPCClient_SequenceAt_Call
- func (_c *RPCClient_SequenceAt_Call) Return(_a0 types.Nonce, _a1 error) *RPCClient_SequenceAt_Call
- func (_c *RPCClient_SequenceAt_Call) Run(...) *RPCClient_SequenceAt_Call
- func (_c *RPCClient_SequenceAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) (types.Nonce, error)) *RPCClient_SequenceAt_Call
- type RPCClient_SetAliveLoopSub_Call
- func (_c *RPCClient_SetAliveLoopSub_Call) Return() *RPCClient_SetAliveLoopSub_Call
- func (_c *RPCClient_SetAliveLoopSub_Call) Run(run func(_a0 commontypes.Subscription)) *RPCClient_SetAliveLoopSub_Call
- func (_c *RPCClient_SetAliveLoopSub_Call) RunAndReturn(run func(commontypes.Subscription)) *RPCClient_SetAliveLoopSub_Call
- type RPCClient_SimulateTransaction_Call
- func (_c *RPCClient_SimulateTransaction_Call) Return(_a0 error) *RPCClient_SimulateTransaction_Call
- func (_c *RPCClient_SimulateTransaction_Call) Run(run func(ctx context.Context, tx *coretypes.Transaction)) *RPCClient_SimulateTransaction_Call
- func (_c *RPCClient_SimulateTransaction_Call) RunAndReturn(run func(context.Context, *coretypes.Transaction) error) *RPCClient_SimulateTransaction_Call
- type RPCClient_SubscribeFilterLogs_Call
- func (_c *RPCClient_SubscribeFilterLogs_Call) Return(s ethereum.Subscription, err error) *RPCClient_SubscribeFilterLogs_Call
- func (_c *RPCClient_SubscribeFilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery, ch chan<- coretypes.Log)) *RPCClient_SubscribeFilterLogs_Call
- func (_c *RPCClient_SubscribeFilterLogs_Call) RunAndReturn(...) *RPCClient_SubscribeFilterLogs_Call
- type RPCClient_SubscribeNewHead_Call
- func (_c *RPCClient_SubscribeNewHead_Call) Return(_a0 commontypes.Subscription, _a1 error) *RPCClient_SubscribeNewHead_Call
- func (_c *RPCClient_SubscribeNewHead_Call) Run(run func(ctx context.Context, channel chan<- *types.Head)) *RPCClient_SubscribeNewHead_Call
- func (_c *RPCClient_SubscribeNewHead_Call) RunAndReturn(...) *RPCClient_SubscribeNewHead_Call
- type RPCClient_SubscribersCount_Call
- type RPCClient_SuggestGasPrice_Call
- func (_c *RPCClient_SuggestGasPrice_Call) Return(p *big.Int, err error) *RPCClient_SuggestGasPrice_Call
- func (_c *RPCClient_SuggestGasPrice_Call) Run(run func(ctx context.Context)) *RPCClient_SuggestGasPrice_Call
- func (_c *RPCClient_SuggestGasPrice_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *RPCClient_SuggestGasPrice_Call
- type RPCClient_SuggestGasTipCap_Call
- func (_c *RPCClient_SuggestGasTipCap_Call) Return(t *big.Int, err error) *RPCClient_SuggestGasTipCap_Call
- func (_c *RPCClient_SuggestGasTipCap_Call) Run(run func(ctx context.Context)) *RPCClient_SuggestGasTipCap_Call
- func (_c *RPCClient_SuggestGasTipCap_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *RPCClient_SuggestGasTipCap_Call
- type RPCClient_TokenBalance_Call
- func (_c *RPCClient_TokenBalance_Call) Return(_a0 *big.Int, _a1 error) *RPCClient_TokenBalance_Call
- func (_c *RPCClient_TokenBalance_Call) Run(run func(ctx context.Context, accountAddress common.Address, ...)) *RPCClient_TokenBalance_Call
- func (_c *RPCClient_TokenBalance_Call) RunAndReturn(run func(context.Context, common.Address, common.Address) (*big.Int, error)) *RPCClient_TokenBalance_Call
- type RPCClient_TransactionByHash_Call
- func (_c *RPCClient_TransactionByHash_Call) Return(_a0 *coretypes.Transaction, _a1 error) *RPCClient_TransactionByHash_Call
- func (_c *RPCClient_TransactionByHash_Call) Run(run func(ctx context.Context, txHash common.Hash)) *RPCClient_TransactionByHash_Call
- func (_c *RPCClient_TransactionByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*coretypes.Transaction, error)) *RPCClient_TransactionByHash_Call
- type RPCClient_TransactionReceiptGeth_Call
- func (_c *RPCClient_TransactionReceiptGeth_Call) Return(r *coretypes.Receipt, err error) *RPCClient_TransactionReceiptGeth_Call
- func (_c *RPCClient_TransactionReceiptGeth_Call) Run(run func(ctx context.Context, txHash common.Hash)) *RPCClient_TransactionReceiptGeth_Call
- func (_c *RPCClient_TransactionReceiptGeth_Call) RunAndReturn(run func(context.Context, common.Hash) (*coretypes.Receipt, error)) *RPCClient_TransactionReceiptGeth_Call
- type RPCClient_TransactionReceipt_Call
- func (_c *RPCClient_TransactionReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *RPCClient_TransactionReceipt_Call
- func (_c *RPCClient_TransactionReceipt_Call) Run(run func(ctx context.Context, txHash common.Hash)) *RPCClient_TransactionReceipt_Call
- func (_c *RPCClient_TransactionReceipt_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Receipt, error)) *RPCClient_TransactionReceipt_Call
- type RPCClient_UnsubscribeAllExceptAliveLoop_Call
- func (_c *RPCClient_UnsubscribeAllExceptAliveLoop_Call) Return() *RPCClient_UnsubscribeAllExceptAliveLoop_Call
- func (_c *RPCClient_UnsubscribeAllExceptAliveLoop_Call) Run(run func()) *RPCClient_UnsubscribeAllExceptAliveLoop_Call
- func (_c *RPCClient_UnsubscribeAllExceptAliveLoop_Call) RunAndReturn(run func()) *RPCClient_UnsubscribeAllExceptAliveLoop_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v2.1.0
Client is an autogenerated mock type for the Client type
func NewClient ¶ added in v2.1.0
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) 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
BatchCallContext provides a mock function with given fields: ctx, b
func (*Client) BatchCallContextAll ¶ added in v2.1.0
BatchCallContextAll provides a mock function with given fields: ctx, b
func (*Client) BlockByHash ¶ added in v2.1.0
BlockByHash provides a mock function with given fields: ctx, hash
func (*Client) BlockByNumber ¶ added in v2.1.0
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) 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
ConfiguredChainID provides a mock function with given fields:
func (*Client) EXPECT ¶ added in v2.15.0
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) EstimateGas ¶ added in v2.1.0
EstimateGas provides a mock function with given fields: ctx, call
func (*Client) FilterLogs ¶ added in v2.1.0
FilterLogs provides a mock function with given fields: ctx, q
func (*Client) HeadByHash ¶ added in v2.1.0
HeadByHash provides a mock function with given fields: ctx, n
func (*Client) HeadByNumber ¶ added in v2.1.0
HeadByNumber provides a mock function with given fields: ctx, n
func (*Client) HeaderByHash ¶ added in v2.1.0
HeaderByHash provides a mock function with given fields: ctx, h
func (*Client) HeaderByNumber ¶ added in v2.1.0
HeaderByNumber provides a mock function with given fields: ctx, n
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
LatestBlockHeight provides a mock function with given fields: ctx
func (*Client) LatestFinalizedBlock ¶ added in v2.11.0
LatestFinalizedBlock provides a mock function with given fields: ctx
func (*Client) NodeStates ¶ added in v2.1.0
NodeStates provides a mock function with given fields:
func (*Client) PendingCallContract ¶ added in v2.10.0
PendingCallContract provides a mock function with given fields: ctx, msg
func (*Client) PendingCodeAt ¶ added in v2.1.0
PendingCodeAt provides a mock function with given fields: ctx, account
func (*Client) PendingNonceAt ¶ added in v2.1.0
PendingNonceAt provides a mock function with given fields: ctx, account
func (*Client) SendTransaction ¶ added in v2.1.0
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
SuggestGasPrice provides a mock function with given fields: ctx
func (*Client) SuggestGasTipCap ¶ added in v2.1.0
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
type Client_BalanceAt_Call ¶ added in v2.15.0
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
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 (_c *Client_BatchCallContextAll_Call) Return(_a0 error) *Client_BatchCallContextAll_Call
func (*Client_BatchCallContextAll_Call) Run ¶ added in v2.15.0
func (_c *Client_BatchCallContextAll_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *Client_BatchCallContextAll_Call
func (*Client_BatchCallContextAll_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_BatchCallContextAll_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *Client_BatchCallContextAll_Call
type Client_BatchCallContext_Call ¶ added in v2.15.0
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 (_c *Client_BatchCallContext_Call) Return(_a0 error) *Client_BatchCallContext_Call
func (*Client_BatchCallContext_Call) Run ¶ added in v2.15.0
func (_c *Client_BatchCallContext_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *Client_BatchCallContext_Call
func (*Client_BatchCallContext_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_BatchCallContext_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *Client_BatchCallContext_Call
type Client_BlockByHash_Call ¶ added in v2.15.0
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 (_c *Client_BlockByHash_Call) Return(_a0 *types.Block, _a1 error) *Client_BlockByHash_Call
func (*Client_BlockByHash_Call) Run ¶ added in v2.15.0
func (_c *Client_BlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *Client_BlockByHash_Call
func (*Client_BlockByHash_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_BlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Block, error)) *Client_BlockByHash_Call
type Client_BlockByNumber_Call ¶ added in v2.15.0
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 (_c *Client_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *Client_BlockByNumber_Call
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
func (_c *Client_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *Client_BlockByNumber_Call
type Client_CallContext_Call ¶ added in v2.15.0
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 (_c *Client_CallContext_Call) Return(_a0 error) *Client_CallContext_Call
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
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 (_c *Client_CallContract_Call) Return(_a0 []byte, _a1 error) *Client_CallContract_Call
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
func (_c *Client_CallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg, *big.Int) ([]byte, error)) *Client_CallContract_Call
type Client_ChainID_Call ¶ added in v2.15.0
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
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 (_c *Client_CheckTxValidity_Call) Return(_a0 *client.SendError) *Client_CheckTxValidity_Call
func (*Client_CheckTxValidity_Call) Run ¶ added in v2.15.0
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 ¶ added in v2.15.0
type Client_Close_Call ¶ added in v2.15.0
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
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
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 (_c *Client_ConfiguredChainID_Call) Return(_a0 *big.Int) *Client_ConfiguredChainID_Call
func (*Client_ConfiguredChainID_Call) Run ¶ added in v2.15.0
func (_c *Client_ConfiguredChainID_Call) Run(run func()) *Client_ConfiguredChainID_Call
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
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
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 (_c *Client_EstimateGas_Call) Return(_a0 uint64, _a1 error) *Client_EstimateGas_Call
func (*Client_EstimateGas_Call) Run ¶ added in v2.15.0
func (_c *Client_EstimateGas_Call) Run(run func(ctx context.Context, call ethereum.CallMsg)) *Client_EstimateGas_Call
func (*Client_EstimateGas_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_EstimateGas_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg) (uint64, error)) *Client_EstimateGas_Call
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
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 (_c *Client_FilterLogs_Call) Return(_a0 []types.Log, _a1 error) *Client_FilterLogs_Call
func (*Client_FilterLogs_Call) Run ¶ added in v2.15.0
func (_c *Client_FilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery)) *Client_FilterLogs_Call
func (*Client_FilterLogs_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_FilterLogs_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery) ([]types.Log, error)) *Client_FilterLogs_Call
type Client_HeadByHash_Call ¶ added in v2.15.0
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 (_c *Client_HeadByHash_Call) Return(_a0 *evmtypes.Head, _a1 error) *Client_HeadByHash_Call
func (*Client_HeadByHash_Call) Run ¶ added in v2.15.0
func (_c *Client_HeadByHash_Call) Run(run func(ctx context.Context, n common.Hash)) *Client_HeadByHash_Call
func (*Client_HeadByHash_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_HeadByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*evmtypes.Head, error)) *Client_HeadByHash_Call
type Client_HeadByNumber_Call ¶ added in v2.15.0
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 (_c *Client_HeadByNumber_Call) Return(_a0 *evmtypes.Head, _a1 error) *Client_HeadByNumber_Call
func (*Client_HeadByNumber_Call) Run ¶ added in v2.15.0
func (_c *Client_HeadByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *Client_HeadByNumber_Call
func (*Client_HeadByNumber_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_HeadByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*evmtypes.Head, error)) *Client_HeadByNumber_Call
type Client_HeaderByHash_Call ¶ added in v2.15.0
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 (_c *Client_HeaderByHash_Call) Return(_a0 *types.Header, _a1 error) *Client_HeaderByHash_Call
func (*Client_HeaderByHash_Call) Run ¶ added in v2.15.0
func (_c *Client_HeaderByHash_Call) Run(run func(ctx context.Context, h common.Hash)) *Client_HeaderByHash_Call
func (*Client_HeaderByHash_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_HeaderByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Header, error)) *Client_HeaderByHash_Call
type Client_HeaderByNumber_Call ¶ added in v2.15.0
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 (_c *Client_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *Client_HeaderByNumber_Call
func (*Client_HeaderByNumber_Call) Run ¶ added in v2.15.0
func (_c *Client_HeaderByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *Client_HeaderByNumber_Call
func (*Client_HeaderByNumber_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *Client_HeaderByNumber_Call
type Client_IsL2_Call ¶ added in v2.15.0
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
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 (_c *Client_LINKBalance_Call) Return(_a0 *assets.Link, _a1 error) *Client_LINKBalance_Call
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
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 (_c *Client_LatestBlockHeight_Call) Return(_a0 *big.Int, _a1 error) *Client_LatestBlockHeight_Call
func (*Client_LatestBlockHeight_Call) Run ¶ added in v2.15.0
func (_c *Client_LatestBlockHeight_Call) Run(run func(ctx context.Context)) *Client_LatestBlockHeight_Call
func (*Client_LatestBlockHeight_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_LatestBlockHeight_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *Client_LatestBlockHeight_Call
type Client_LatestFinalizedBlock_Call ¶ added in v2.15.0
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 (_c *Client_LatestFinalizedBlock_Call) Return(head *evmtypes.Head, err error) *Client_LatestFinalizedBlock_Call
func (*Client_LatestFinalizedBlock_Call) Run ¶ added in v2.15.0
func (_c *Client_LatestFinalizedBlock_Call) Run(run func(ctx context.Context)) *Client_LatestFinalizedBlock_Call
func (*Client_LatestFinalizedBlock_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_LatestFinalizedBlock_Call) RunAndReturn(run func(context.Context) (*evmtypes.Head, error)) *Client_LatestFinalizedBlock_Call
type Client_NodeStates_Call ¶ added in v2.15.0
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 (_c *Client_NodeStates_Call) Return(_a0 map[string]string) *Client_NodeStates_Call
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
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 (_c *Client_PendingCallContract_Call) Return(_a0 []byte, _a1 error) *Client_PendingCallContract_Call
func (*Client_PendingCallContract_Call) Run ¶ added in v2.15.0
func (_c *Client_PendingCallContract_Call) Run(run func(ctx context.Context, msg ethereum.CallMsg)) *Client_PendingCallContract_Call
func (*Client_PendingCallContract_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_PendingCallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg) ([]byte, error)) *Client_PendingCallContract_Call
type Client_PendingCodeAt_Call ¶ added in v2.15.0
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 (_c *Client_PendingCodeAt_Call) Return(_a0 []byte, _a1 error) *Client_PendingCodeAt_Call
func (*Client_PendingCodeAt_Call) Run ¶ added in v2.15.0
func (_c *Client_PendingCodeAt_Call) Run(run func(ctx context.Context, account common.Address)) *Client_PendingCodeAt_Call
func (*Client_PendingCodeAt_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_PendingCodeAt_Call) RunAndReturn(run func(context.Context, common.Address) ([]byte, error)) *Client_PendingCodeAt_Call
type Client_PendingNonceAt_Call ¶ added in v2.15.0
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 (_c *Client_PendingNonceAt_Call) Return(_a0 uint64, _a1 error) *Client_PendingNonceAt_Call
func (*Client_PendingNonceAt_Call) Run ¶ added in v2.15.0
func (_c *Client_PendingNonceAt_Call) Run(run func(ctx context.Context, account common.Address)) *Client_PendingNonceAt_Call
func (*Client_PendingNonceAt_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_PendingNonceAt_Call) RunAndReturn(run func(context.Context, common.Address) (uint64, error)) *Client_PendingNonceAt_Call
type Client_SendTransactionReturnCode_Call ¶ added in v2.15.0
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 (_c *Client_SendTransactionReturnCode_Call) Return(_a0 commonclient.SendTxReturnCode, _a1 error) *Client_SendTransactionReturnCode_Call
func (*Client_SendTransactionReturnCode_Call) Run ¶ added in v2.15.0
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 ¶ added in v2.15.0
func (_c *Client_SendTransactionReturnCode_Call) RunAndReturn(run func(context.Context, *types.Transaction, common.Address) (commonclient.SendTxReturnCode, error)) *Client_SendTransactionReturnCode_Call
type Client_SendTransaction_Call ¶ added in v2.15.0
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 (_c *Client_SendTransaction_Call) Return(_a0 error) *Client_SendTransaction_Call
func (*Client_SendTransaction_Call) Run ¶ added in v2.15.0
func (_c *Client_SendTransaction_Call) Run(run func(ctx context.Context, tx *types.Transaction)) *Client_SendTransaction_Call
func (*Client_SendTransaction_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_SendTransaction_Call) RunAndReturn(run func(context.Context, *types.Transaction) error) *Client_SendTransaction_Call
type Client_SequenceAt_Call ¶ added in v2.15.0
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 (_c *Client_SequenceAt_Call) Return(_a0 evmtypes.Nonce, _a1 error) *Client_SequenceAt_Call
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
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 (_c *Client_SubscribeFilterLogs_Call) Return(_a0 ethereum.Subscription, _a1 error) *Client_SubscribeFilterLogs_Call
func (*Client_SubscribeFilterLogs_Call) Run ¶ added in v2.15.0
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 ¶ added in v2.15.0
func (_c *Client_SubscribeFilterLogs_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery, chan<- types.Log) (ethereum.Subscription, error)) *Client_SubscribeFilterLogs_Call
type Client_SubscribeNewHead_Call ¶ added in v2.15.0
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 (_c *Client_SubscribeNewHead_Call) Return(_a0 ethereum.Subscription, _a1 error) *Client_SubscribeNewHead_Call
func (*Client_SubscribeNewHead_Call) Run ¶ added in v2.15.0
func (_c *Client_SubscribeNewHead_Call) Run(run func(ctx context.Context, ch chan<- *evmtypes.Head)) *Client_SubscribeNewHead_Call
func (*Client_SubscribeNewHead_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_SubscribeNewHead_Call) RunAndReturn(run func(context.Context, chan<- *evmtypes.Head) (ethereum.Subscription, error)) *Client_SubscribeNewHead_Call
type Client_SuggestGasPrice_Call ¶ added in v2.15.0
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 (_c *Client_SuggestGasPrice_Call) Return(_a0 *big.Int, _a1 error) *Client_SuggestGasPrice_Call
func (*Client_SuggestGasPrice_Call) Run ¶ added in v2.15.0
func (_c *Client_SuggestGasPrice_Call) Run(run func(ctx context.Context)) *Client_SuggestGasPrice_Call
func (*Client_SuggestGasPrice_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_SuggestGasPrice_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *Client_SuggestGasPrice_Call
type Client_SuggestGasTipCap_Call ¶ added in v2.15.0
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 (_c *Client_SuggestGasTipCap_Call) Return(_a0 *big.Int, _a1 error) *Client_SuggestGasTipCap_Call
func (*Client_SuggestGasTipCap_Call) Run ¶ added in v2.15.0
func (_c *Client_SuggestGasTipCap_Call) Run(run func(ctx context.Context)) *Client_SuggestGasTipCap_Call
func (*Client_SuggestGasTipCap_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_SuggestGasTipCap_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *Client_SuggestGasTipCap_Call
type Client_TokenBalance_Call ¶ added in v2.15.0
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 (_c *Client_TokenBalance_Call) Return(_a0 *big.Int, _a1 error) *Client_TokenBalance_Call
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
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 (_c *Client_TransactionByHash_Call) Return(_a0 *types.Transaction, _a1 error) *Client_TransactionByHash_Call
func (*Client_TransactionByHash_Call) Run ¶ added in v2.15.0
func (_c *Client_TransactionByHash_Call) Run(run func(ctx context.Context, txHash common.Hash)) *Client_TransactionByHash_Call
func (*Client_TransactionByHash_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_TransactionByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Transaction, error)) *Client_TransactionByHash_Call
type Client_TransactionReceipt_Call ¶ added in v2.15.0
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 (_c *Client_TransactionReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *Client_TransactionReceipt_Call
func (*Client_TransactionReceipt_Call) Run ¶ added in v2.15.0
func (_c *Client_TransactionReceipt_Call) Run(run func(ctx context.Context, txHash common.Hash)) *Client_TransactionReceipt_Call
func (*Client_TransactionReceipt_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Client_TransactionReceipt_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Receipt, error)) *Client_TransactionReceipt_Call
type RPCClient ¶ added in v2.10.0
RPCClient is an autogenerated mock type for the RPCClient type
func NewRPCClient ¶ added in v2.10.0
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
BatchCallContext provides a mock function with given fields: ctx, b
func (*RPCClient) BlockByHash ¶ added in v2.10.0
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
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
ChainID provides a mock function with given fields: ctx
func (*RPCClient) ClientVersion ¶ added in v2.10.0
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) 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
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
HeaderByHash provides a mock function with given fields: ctx, h
func (*RPCClient) HeaderByNumber ¶ added in v2.10.0
HeaderByNumber provides a mock function with given fields: ctx, n
func (*RPCClient) IsSyncing ¶ added in v2.10.0
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
LatestBlockHeight provides a mock function with given fields: _a0
func (*RPCClient) LatestFinalizedBlock ¶ added in v2.11.0
LatestFinalizedBlock provides a mock function with given fields: ctx
func (*RPCClient) PendingCallContract ¶ added in v2.10.0
PendingCallContract provides a mock function with given fields: ctx, msg
func (*RPCClient) PendingCodeAt ¶ added in v2.10.0
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
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
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
SubscribersCount provides a mock function with given fields:
func (*RPCClient) SuggestGasPrice ¶ added in v2.10.0
SuggestGasPrice provides a mock function with given fields: ctx
func (*RPCClient) SuggestGasTipCap ¶ added in v2.10.0
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
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 (_c *RPCClient_BalanceAt_Call) Return(_a0 *big.Int, _a1 error) *RPCClient_BalanceAt_Call
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
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 (_c *RPCClient_BatchCallContext_Call) Return(_a0 error) *RPCClient_BatchCallContext_Call
func (*RPCClient_BatchCallContext_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_BatchCallContext_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *RPCClient_BatchCallContext_Call
func (*RPCClient_BatchCallContext_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_BatchCallContext_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *RPCClient_BatchCallContext_Call
type RPCClient_BlockByHashGeth_Call ¶ added in v2.15.0
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 (_c *RPCClient_BlockByHashGeth_Call) Return(b *coretypes.Block, err error) *RPCClient_BlockByHashGeth_Call
func (*RPCClient_BlockByHashGeth_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_BlockByHashGeth_Call) Run(run func(ctx context.Context, hash common.Hash)) *RPCClient_BlockByHashGeth_Call
func (*RPCClient_BlockByHashGeth_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_BlockByHashGeth_Call) RunAndReturn(run func(context.Context, common.Hash) (*coretypes.Block, error)) *RPCClient_BlockByHashGeth_Call
type RPCClient_BlockByHash_Call ¶ added in v2.15.0
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 (_c *RPCClient_BlockByHash_Call) Return(_a0 *types.Head, _a1 error) *RPCClient_BlockByHash_Call
func (*RPCClient_BlockByHash_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_BlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *RPCClient_BlockByHash_Call
func (*RPCClient_BlockByHash_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_BlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Head, error)) *RPCClient_BlockByHash_Call
type RPCClient_BlockByNumberGeth_Call ¶ added in v2.15.0
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 (_c *RPCClient_BlockByNumberGeth_Call) Return(b *coretypes.Block, err error) *RPCClient_BlockByNumberGeth_Call
func (*RPCClient_BlockByNumberGeth_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_BlockByNumberGeth_Call) Run(run func(ctx context.Context, number *big.Int)) *RPCClient_BlockByNumberGeth_Call
func (*RPCClient_BlockByNumberGeth_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_BlockByNumberGeth_Call) RunAndReturn(run func(context.Context, *big.Int) (*coretypes.Block, error)) *RPCClient_BlockByNumberGeth_Call
type RPCClient_BlockByNumber_Call ¶ added in v2.15.0
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 (_c *RPCClient_BlockByNumber_Call) Return(_a0 *types.Head, _a1 error) *RPCClient_BlockByNumber_Call
func (*RPCClient_BlockByNumber_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *RPCClient_BlockByNumber_Call
func (*RPCClient_BlockByNumber_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Head, error)) *RPCClient_BlockByNumber_Call
type RPCClient_CallContext_Call ¶ added in v2.15.0
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 (_c *RPCClient_CallContext_Call) Return(_a0 error) *RPCClient_CallContext_Call
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
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
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 (_c *RPCClient_ChainID_Call) Return(_a0 *big.Int, _a1 error) *RPCClient_ChainID_Call
func (*RPCClient_ChainID_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_ChainID_Call) Run(run func(ctx context.Context)) *RPCClient_ChainID_Call
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
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 (_c *RPCClient_ClientVersion_Call) Return(_a0 string, _a1 error) *RPCClient_ClientVersion_Call
func (*RPCClient_ClientVersion_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_ClientVersion_Call) Run(run func(_a0 context.Context)) *RPCClient_ClientVersion_Call
func (*RPCClient_ClientVersion_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_ClientVersion_Call) RunAndReturn(run func(context.Context) (string, error)) *RPCClient_ClientVersion_Call
type RPCClient_Close_Call ¶ added in v2.15.0
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 (_c *RPCClient_Close_Call) Return() *RPCClient_Close_Call
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
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
func (_c *RPCClient_CodeAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) ([]byte, error)) *RPCClient_CodeAt_Call
type RPCClient_DialHTTP_Call ¶ added in v2.15.0
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 (_c *RPCClient_DialHTTP_Call) Return(_a0 error) *RPCClient_DialHTTP_Call
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
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 (_c *RPCClient_Dial_Call) Return(_a0 error) *RPCClient_Dial_Call
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
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 (_c *RPCClient_DisconnectAll_Call) Return() *RPCClient_DisconnectAll_Call
func (*RPCClient_DisconnectAll_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_DisconnectAll_Call) Run(run func()) *RPCClient_DisconnectAll_Call
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
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 (_c *RPCClient_EstimateGas_Call) Return(gas uint64, err error) *RPCClient_EstimateGas_Call
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
func (_e *RPCClient_Expecter) Close() *RPCClient_Close_Call
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
func (_e *RPCClient_Expecter) DialHTTP() *RPCClient_DialHTTP_Call
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
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 (_c *RPCClient_FilterEvents_Call) Return(_a0 []coretypes.Log, _a1 error) *RPCClient_FilterEvents_Call
func (*RPCClient_FilterEvents_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_FilterEvents_Call) Run(run func(ctx context.Context, query ethereum.FilterQuery)) *RPCClient_FilterEvents_Call
func (*RPCClient_FilterEvents_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_FilterEvents_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery) ([]coretypes.Log, error)) *RPCClient_FilterEvents_Call
type RPCClient_GetInterceptedChainInfo_Call ¶ added in v2.15.0
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 (_c *RPCClient_GetInterceptedChainInfo_Call) Return(latest commonclient.ChainInfo, highestUserObservations commonclient.ChainInfo) *RPCClient_GetInterceptedChainInfo_Call
func (*RPCClient_GetInterceptedChainInfo_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_GetInterceptedChainInfo_Call) Run(run func()) *RPCClient_GetInterceptedChainInfo_Call
func (*RPCClient_GetInterceptedChainInfo_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_GetInterceptedChainInfo_Call) RunAndReturn(run func() (commonclient.ChainInfo, commonclient.ChainInfo)) *RPCClient_GetInterceptedChainInfo_Call
type RPCClient_HeaderByHash_Call ¶ added in v2.15.0
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 (_c *RPCClient_HeaderByHash_Call) Return(head *coretypes.Header, err error) *RPCClient_HeaderByHash_Call
func (*RPCClient_HeaderByHash_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_HeaderByHash_Call) Run(run func(ctx context.Context, h common.Hash)) *RPCClient_HeaderByHash_Call
func (*RPCClient_HeaderByHash_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_HeaderByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*coretypes.Header, error)) *RPCClient_HeaderByHash_Call
type RPCClient_HeaderByNumber_Call ¶ added in v2.15.0
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 (_c *RPCClient_HeaderByNumber_Call) Return(head *coretypes.Header, err error) *RPCClient_HeaderByNumber_Call
func (*RPCClient_HeaderByNumber_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_HeaderByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *RPCClient_HeaderByNumber_Call
func (*RPCClient_HeaderByNumber_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*coretypes.Header, error)) *RPCClient_HeaderByNumber_Call
type RPCClient_IsSyncing_Call ¶ added in v2.15.0
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 (_c *RPCClient_IsSyncing_Call) Return(_a0 bool, _a1 error) *RPCClient_IsSyncing_Call
func (*RPCClient_IsSyncing_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_IsSyncing_Call) Run(run func(ctx context.Context)) *RPCClient_IsSyncing_Call
func (*RPCClient_IsSyncing_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_IsSyncing_Call) RunAndReturn(run func(context.Context) (bool, error)) *RPCClient_IsSyncing_Call
type RPCClient_LINKBalance_Call ¶ added in v2.15.0
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 (_c *RPCClient_LINKBalance_Call) Return(_a0 *assets.Link, _a1 error) *RPCClient_LINKBalance_Call
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
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 (_c *RPCClient_LatestBlockHeight_Call) Return(_a0 *big.Int, _a1 error) *RPCClient_LatestBlockHeight_Call
func (*RPCClient_LatestBlockHeight_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_LatestBlockHeight_Call) Run(run func(_a0 context.Context)) *RPCClient_LatestBlockHeight_Call
func (*RPCClient_LatestBlockHeight_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_LatestBlockHeight_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *RPCClient_LatestBlockHeight_Call
type RPCClient_LatestFinalizedBlock_Call ¶ added in v2.15.0
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 (_c *RPCClient_LatestFinalizedBlock_Call) Return(_a0 *types.Head, _a1 error) *RPCClient_LatestFinalizedBlock_Call
func (*RPCClient_LatestFinalizedBlock_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_LatestFinalizedBlock_Call) Run(run func(ctx context.Context)) *RPCClient_LatestFinalizedBlock_Call
func (*RPCClient_LatestFinalizedBlock_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_LatestFinalizedBlock_Call) RunAndReturn(run func(context.Context) (*types.Head, error)) *RPCClient_LatestFinalizedBlock_Call
type RPCClient_PendingCallContract_Call ¶ added in v2.15.0
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 (_c *RPCClient_PendingCallContract_Call) Return(rpcErr []byte, extractErr error) *RPCClient_PendingCallContract_Call
func (*RPCClient_PendingCallContract_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_PendingCallContract_Call) Run(run func(ctx context.Context, msg interface{})) *RPCClient_PendingCallContract_Call
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
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 (_c *RPCClient_PendingCodeAt_Call) Return(b []byte, err error) *RPCClient_PendingCodeAt_Call
func (*RPCClient_PendingCodeAt_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_PendingCodeAt_Call) Run(run func(ctx context.Context, account common.Address)) *RPCClient_PendingCodeAt_Call
func (*RPCClient_PendingCodeAt_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_PendingCodeAt_Call) RunAndReturn(run func(context.Context, common.Address) ([]byte, error)) *RPCClient_PendingCodeAt_Call
type RPCClient_PendingSequenceAt_Call ¶ added in v2.15.0
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 (_c *RPCClient_PendingSequenceAt_Call) Return(_a0 types.Nonce, _a1 error) *RPCClient_PendingSequenceAt_Call
func (*RPCClient_PendingSequenceAt_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_PendingSequenceAt_Call) Run(run func(ctx context.Context, addr common.Address)) *RPCClient_PendingSequenceAt_Call
func (*RPCClient_PendingSequenceAt_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_PendingSequenceAt_Call) RunAndReturn(run func(context.Context, common.Address) (types.Nonce, error)) *RPCClient_PendingSequenceAt_Call
type RPCClient_SendEmptyTransaction_Call ¶ added in v2.15.0
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 (_c *RPCClient_SendEmptyTransaction_Call) Return(txhash string, err error) *RPCClient_SendEmptyTransaction_Call
func (*RPCClient_SendEmptyTransaction_Call) RunAndReturn ¶ added in v2.15.0
type RPCClient_SendTransaction_Call ¶ added in v2.15.0
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 (_c *RPCClient_SendTransaction_Call) Return(_a0 error) *RPCClient_SendTransaction_Call
func (*RPCClient_SendTransaction_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_SendTransaction_Call) Run(run func(ctx context.Context, tx *coretypes.Transaction)) *RPCClient_SendTransaction_Call
func (*RPCClient_SendTransaction_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_SendTransaction_Call) RunAndReturn(run func(context.Context, *coretypes.Transaction) error) *RPCClient_SendTransaction_Call
type RPCClient_SequenceAt_Call ¶ added in v2.15.0
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 (_c *RPCClient_SequenceAt_Call) Return(_a0 types.Nonce, _a1 error) *RPCClient_SequenceAt_Call
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
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 (_c *RPCClient_SetAliveLoopSub_Call) Return() *RPCClient_SetAliveLoopSub_Call
func (*RPCClient_SetAliveLoopSub_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_SetAliveLoopSub_Call) Run(run func(_a0 commontypes.Subscription)) *RPCClient_SetAliveLoopSub_Call
func (*RPCClient_SetAliveLoopSub_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_SetAliveLoopSub_Call) RunAndReturn(run func(commontypes.Subscription)) *RPCClient_SetAliveLoopSub_Call
type RPCClient_SimulateTransaction_Call ¶ added in v2.15.0
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 (_c *RPCClient_SimulateTransaction_Call) Return(_a0 error) *RPCClient_SimulateTransaction_Call
func (*RPCClient_SimulateTransaction_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_SimulateTransaction_Call) Run(run func(ctx context.Context, tx *coretypes.Transaction)) *RPCClient_SimulateTransaction_Call
func (*RPCClient_SimulateTransaction_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_SimulateTransaction_Call) RunAndReturn(run func(context.Context, *coretypes.Transaction) error) *RPCClient_SimulateTransaction_Call
type RPCClient_SubscribeFilterLogs_Call ¶ added in v2.15.0
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 (_c *RPCClient_SubscribeFilterLogs_Call) Return(s ethereum.Subscription, err error) *RPCClient_SubscribeFilterLogs_Call
func (*RPCClient_SubscribeFilterLogs_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_SubscribeFilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery, ch chan<- coretypes.Log)) *RPCClient_SubscribeFilterLogs_Call
func (*RPCClient_SubscribeFilterLogs_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_SubscribeFilterLogs_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery, chan<- coretypes.Log) (ethereum.Subscription, error)) *RPCClient_SubscribeFilterLogs_Call
type RPCClient_SubscribeNewHead_Call ¶ added in v2.15.0
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 (_c *RPCClient_SubscribeNewHead_Call) Return(_a0 commontypes.Subscription, _a1 error) *RPCClient_SubscribeNewHead_Call
func (*RPCClient_SubscribeNewHead_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_SubscribeNewHead_Call) Run(run func(ctx context.Context, channel chan<- *types.Head)) *RPCClient_SubscribeNewHead_Call
func (*RPCClient_SubscribeNewHead_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_SubscribeNewHead_Call) RunAndReturn(run func(context.Context, chan<- *types.Head) (commontypes.Subscription, error)) *RPCClient_SubscribeNewHead_Call
type RPCClient_SubscribersCount_Call ¶ added in v2.15.0
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 (_c *RPCClient_SubscribersCount_Call) Return(_a0 int32) *RPCClient_SubscribersCount_Call
func (*RPCClient_SubscribersCount_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_SubscribersCount_Call) Run(run func()) *RPCClient_SubscribersCount_Call
func (*RPCClient_SubscribersCount_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_SubscribersCount_Call) RunAndReturn(run func() int32) *RPCClient_SubscribersCount_Call
type RPCClient_SuggestGasPrice_Call ¶ added in v2.15.0
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 (_c *RPCClient_SuggestGasPrice_Call) Return(p *big.Int, err error) *RPCClient_SuggestGasPrice_Call
func (*RPCClient_SuggestGasPrice_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_SuggestGasPrice_Call) Run(run func(ctx context.Context)) *RPCClient_SuggestGasPrice_Call
func (*RPCClient_SuggestGasPrice_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_SuggestGasPrice_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *RPCClient_SuggestGasPrice_Call
type RPCClient_SuggestGasTipCap_Call ¶ added in v2.15.0
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 (_c *RPCClient_SuggestGasTipCap_Call) Return(t *big.Int, err error) *RPCClient_SuggestGasTipCap_Call
func (*RPCClient_SuggestGasTipCap_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_SuggestGasTipCap_Call) Run(run func(ctx context.Context)) *RPCClient_SuggestGasTipCap_Call
func (*RPCClient_SuggestGasTipCap_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_SuggestGasTipCap_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *RPCClient_SuggestGasTipCap_Call
type RPCClient_TokenBalance_Call ¶ added in v2.15.0
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 (_c *RPCClient_TokenBalance_Call) Return(_a0 *big.Int, _a1 error) *RPCClient_TokenBalance_Call
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
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 (_c *RPCClient_TransactionByHash_Call) Return(_a0 *coretypes.Transaction, _a1 error) *RPCClient_TransactionByHash_Call
func (*RPCClient_TransactionByHash_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_TransactionByHash_Call) Run(run func(ctx context.Context, txHash common.Hash)) *RPCClient_TransactionByHash_Call
func (*RPCClient_TransactionByHash_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_TransactionByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*coretypes.Transaction, error)) *RPCClient_TransactionByHash_Call
type RPCClient_TransactionReceiptGeth_Call ¶ added in v2.15.0
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 (_c *RPCClient_TransactionReceiptGeth_Call) Return(r *coretypes.Receipt, err error) *RPCClient_TransactionReceiptGeth_Call
func (*RPCClient_TransactionReceiptGeth_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_TransactionReceiptGeth_Call) Run(run func(ctx context.Context, txHash common.Hash)) *RPCClient_TransactionReceiptGeth_Call
func (*RPCClient_TransactionReceiptGeth_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_TransactionReceiptGeth_Call) RunAndReturn(run func(context.Context, common.Hash) (*coretypes.Receipt, error)) *RPCClient_TransactionReceiptGeth_Call
type RPCClient_TransactionReceipt_Call ¶ added in v2.15.0
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 (_c *RPCClient_TransactionReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *RPCClient_TransactionReceipt_Call
func (*RPCClient_TransactionReceipt_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_TransactionReceipt_Call) Run(run func(ctx context.Context, txHash common.Hash)) *RPCClient_TransactionReceipt_Call
func (*RPCClient_TransactionReceipt_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_TransactionReceipt_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Receipt, error)) *RPCClient_TransactionReceipt_Call
type RPCClient_UnsubscribeAllExceptAliveLoop_Call ¶ added in v2.15.0
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 (_c *RPCClient_UnsubscribeAllExceptAliveLoop_Call) Return() *RPCClient_UnsubscribeAllExceptAliveLoop_Call
func (*RPCClient_UnsubscribeAllExceptAliveLoop_Call) Run ¶ added in v2.15.0
func (_c *RPCClient_UnsubscribeAllExceptAliveLoop_Call) Run(run func()) *RPCClient_UnsubscribeAllExceptAliveLoop_Call
func (*RPCClient_UnsubscribeAllExceptAliveLoop_Call) RunAndReturn ¶ added in v2.15.0
func (_c *RPCClient_UnsubscribeAllExceptAliveLoop_Call) RunAndReturn(run func()) *RPCClient_UnsubscribeAllExceptAliveLoop_Call