Documentation ¶
Index ¶
- type EthermanInterface
- func (_m *EthermanInterface) CheckTxWasMined(ctx context.Context, txHash common.Hash) (bool, *types.Receipt, error)
- func (_m *EthermanInterface) CurrentNonce(ctx context.Context, account common.Address) (uint64, error)
- func (_m *EthermanInterface) EXPECT() *EthermanInterface_Expecter
- func (_m *EthermanInterface) EstimateGas(ctx context.Context, from common.Address, to *common.Address, value *big.Int, ...) (uint64, error)
- func (_m *EthermanInterface) EstimateGasBlobTx(ctx context.Context, from common.Address, to *common.Address, ...) (uint64, error)
- func (_m *EthermanInterface) GetHeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (_m *EthermanInterface) GetLatestBlockNumber(ctx context.Context) (uint64, error)
- func (_m *EthermanInterface) GetRevertMessage(ctx context.Context, tx *types.Transaction) (string, error)
- func (_m *EthermanInterface) GetSuggestGasTipCap(ctx context.Context) (*big.Int, error)
- func (_m *EthermanInterface) GetTx(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)
- func (_m *EthermanInterface) GetTxReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- func (_m *EthermanInterface) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (_m *EthermanInterface) PendingNonce(ctx context.Context, account common.Address) (uint64, error)
- func (_m *EthermanInterface) SendTx(ctx context.Context, tx *types.Transaction) error
- func (_m *EthermanInterface) SignTx(ctx context.Context, sender common.Address, tx *types.Transaction) (*types.Transaction, error)
- func (_m *EthermanInterface) SuggestedGasPrice(ctx context.Context) (*big.Int, error)
- func (_m *EthermanInterface) WaitTxToBeMined(ctx context.Context, tx *types.Transaction, timeout time.Duration) (bool, error)
- type EthermanInterface_CheckTxWasMined_Call
- func (_c *EthermanInterface_CheckTxWasMined_Call) Return(_a0 bool, _a1 *types.Receipt, _a2 error) *EthermanInterface_CheckTxWasMined_Call
- func (_c *EthermanInterface_CheckTxWasMined_Call) Run(run func(ctx context.Context, txHash common.Hash)) *EthermanInterface_CheckTxWasMined_Call
- func (_c *EthermanInterface_CheckTxWasMined_Call) RunAndReturn(run func(context.Context, common.Hash) (bool, *types.Receipt, error)) *EthermanInterface_CheckTxWasMined_Call
- type EthermanInterface_CurrentNonce_Call
- func (_c *EthermanInterface_CurrentNonce_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_CurrentNonce_Call
- func (_c *EthermanInterface_CurrentNonce_Call) Run(run func(ctx context.Context, account common.Address)) *EthermanInterface_CurrentNonce_Call
- func (_c *EthermanInterface_CurrentNonce_Call) RunAndReturn(run func(context.Context, common.Address) (uint64, error)) *EthermanInterface_CurrentNonce_Call
- type EthermanInterface_EstimateGasBlobTx_Call
- func (_c *EthermanInterface_EstimateGasBlobTx_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_EstimateGasBlobTx_Call
- func (_c *EthermanInterface_EstimateGasBlobTx_Call) Run(run func(ctx context.Context, from common.Address, to *common.Address, ...)) *EthermanInterface_EstimateGasBlobTx_Call
- func (_c *EthermanInterface_EstimateGasBlobTx_Call) RunAndReturn(...) *EthermanInterface_EstimateGasBlobTx_Call
- type EthermanInterface_EstimateGas_Call
- func (_c *EthermanInterface_EstimateGas_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_EstimateGas_Call
- func (_c *EthermanInterface_EstimateGas_Call) Run(...) *EthermanInterface_EstimateGas_Call
- func (_c *EthermanInterface_EstimateGas_Call) RunAndReturn(...) *EthermanInterface_EstimateGas_Call
- type EthermanInterface_Expecter
- func (_e *EthermanInterface_Expecter) CheckTxWasMined(ctx interface{}, txHash interface{}) *EthermanInterface_CheckTxWasMined_Call
- func (_e *EthermanInterface_Expecter) CurrentNonce(ctx interface{}, account interface{}) *EthermanInterface_CurrentNonce_Call
- func (_e *EthermanInterface_Expecter) EstimateGas(ctx interface{}, from interface{}, to interface{}, value interface{}, ...) *EthermanInterface_EstimateGas_Call
- func (_e *EthermanInterface_Expecter) EstimateGasBlobTx(ctx interface{}, from interface{}, to interface{}, gasFeeCap interface{}, ...) *EthermanInterface_EstimateGasBlobTx_Call
- func (_e *EthermanInterface_Expecter) GetHeaderByNumber(ctx interface{}, number interface{}) *EthermanInterface_GetHeaderByNumber_Call
- func (_e *EthermanInterface_Expecter) GetLatestBlockNumber(ctx interface{}) *EthermanInterface_GetLatestBlockNumber_Call
- func (_e *EthermanInterface_Expecter) GetRevertMessage(ctx interface{}, tx interface{}) *EthermanInterface_GetRevertMessage_Call
- func (_e *EthermanInterface_Expecter) GetSuggestGasTipCap(ctx interface{}) *EthermanInterface_GetSuggestGasTipCap_Call
- func (_e *EthermanInterface_Expecter) GetTx(ctx interface{}, txHash interface{}) *EthermanInterface_GetTx_Call
- func (_e *EthermanInterface_Expecter) GetTxReceipt(ctx interface{}, txHash interface{}) *EthermanInterface_GetTxReceipt_Call
- func (_e *EthermanInterface_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *EthermanInterface_HeaderByNumber_Call
- func (_e *EthermanInterface_Expecter) PendingNonce(ctx interface{}, account interface{}) *EthermanInterface_PendingNonce_Call
- func (_e *EthermanInterface_Expecter) SendTx(ctx interface{}, tx interface{}) *EthermanInterface_SendTx_Call
- func (_e *EthermanInterface_Expecter) SignTx(ctx interface{}, sender interface{}, tx interface{}) *EthermanInterface_SignTx_Call
- func (_e *EthermanInterface_Expecter) SuggestedGasPrice(ctx interface{}) *EthermanInterface_SuggestedGasPrice_Call
- func (_e *EthermanInterface_Expecter) WaitTxToBeMined(ctx interface{}, tx interface{}, timeout interface{}) *EthermanInterface_WaitTxToBeMined_Call
- type EthermanInterface_GetHeaderByNumber_Call
- func (_c *EthermanInterface_GetHeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *EthermanInterface_GetHeaderByNumber_Call
- func (_c *EthermanInterface_GetHeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthermanInterface_GetHeaderByNumber_Call
- func (_c *EthermanInterface_GetHeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *EthermanInterface_GetHeaderByNumber_Call
- type EthermanInterface_GetLatestBlockNumber_Call
- func (_c *EthermanInterface_GetLatestBlockNumber_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_GetLatestBlockNumber_Call
- func (_c *EthermanInterface_GetLatestBlockNumber_Call) Run(run func(ctx context.Context)) *EthermanInterface_GetLatestBlockNumber_Call
- func (_c *EthermanInterface_GetLatestBlockNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *EthermanInterface_GetLatestBlockNumber_Call
- type EthermanInterface_GetRevertMessage_Call
- func (_c *EthermanInterface_GetRevertMessage_Call) Return(_a0 string, _a1 error) *EthermanInterface_GetRevertMessage_Call
- func (_c *EthermanInterface_GetRevertMessage_Call) Run(run func(ctx context.Context, tx *types.Transaction)) *EthermanInterface_GetRevertMessage_Call
- func (_c *EthermanInterface_GetRevertMessage_Call) RunAndReturn(run func(context.Context, *types.Transaction) (string, error)) *EthermanInterface_GetRevertMessage_Call
- type EthermanInterface_GetSuggestGasTipCap_Call
- func (_c *EthermanInterface_GetSuggestGasTipCap_Call) Return(_a0 *big.Int, _a1 error) *EthermanInterface_GetSuggestGasTipCap_Call
- func (_c *EthermanInterface_GetSuggestGasTipCap_Call) Run(run func(ctx context.Context)) *EthermanInterface_GetSuggestGasTipCap_Call
- func (_c *EthermanInterface_GetSuggestGasTipCap_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *EthermanInterface_GetSuggestGasTipCap_Call
- type EthermanInterface_GetTxReceipt_Call
- func (_c *EthermanInterface_GetTxReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *EthermanInterface_GetTxReceipt_Call
- func (_c *EthermanInterface_GetTxReceipt_Call) Run(run func(ctx context.Context, txHash common.Hash)) *EthermanInterface_GetTxReceipt_Call
- func (_c *EthermanInterface_GetTxReceipt_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Receipt, error)) *EthermanInterface_GetTxReceipt_Call
- type EthermanInterface_GetTx_Call
- func (_c *EthermanInterface_GetTx_Call) Return(_a0 *types.Transaction, _a1 bool, _a2 error) *EthermanInterface_GetTx_Call
- func (_c *EthermanInterface_GetTx_Call) Run(run func(ctx context.Context, txHash common.Hash)) *EthermanInterface_GetTx_Call
- func (_c *EthermanInterface_GetTx_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Transaction, bool, error)) *EthermanInterface_GetTx_Call
- type EthermanInterface_HeaderByNumber_Call
- func (_c *EthermanInterface_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *EthermanInterface_HeaderByNumber_Call
- func (_c *EthermanInterface_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthermanInterface_HeaderByNumber_Call
- func (_c *EthermanInterface_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *EthermanInterface_HeaderByNumber_Call
- type EthermanInterface_PendingNonce_Call
- func (_c *EthermanInterface_PendingNonce_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_PendingNonce_Call
- func (_c *EthermanInterface_PendingNonce_Call) Run(run func(ctx context.Context, account common.Address)) *EthermanInterface_PendingNonce_Call
- func (_c *EthermanInterface_PendingNonce_Call) RunAndReturn(run func(context.Context, common.Address) (uint64, error)) *EthermanInterface_PendingNonce_Call
- type EthermanInterface_SendTx_Call
- func (_c *EthermanInterface_SendTx_Call) Return(_a0 error) *EthermanInterface_SendTx_Call
- func (_c *EthermanInterface_SendTx_Call) Run(run func(ctx context.Context, tx *types.Transaction)) *EthermanInterface_SendTx_Call
- func (_c *EthermanInterface_SendTx_Call) RunAndReturn(run func(context.Context, *types.Transaction) error) *EthermanInterface_SendTx_Call
- type EthermanInterface_SignTx_Call
- func (_c *EthermanInterface_SignTx_Call) Return(_a0 *types.Transaction, _a1 error) *EthermanInterface_SignTx_Call
- func (_c *EthermanInterface_SignTx_Call) Run(run func(ctx context.Context, sender common.Address, tx *types.Transaction)) *EthermanInterface_SignTx_Call
- func (_c *EthermanInterface_SignTx_Call) RunAndReturn(...) *EthermanInterface_SignTx_Call
- type EthermanInterface_SuggestedGasPrice_Call
- func (_c *EthermanInterface_SuggestedGasPrice_Call) Return(_a0 *big.Int, _a1 error) *EthermanInterface_SuggestedGasPrice_Call
- func (_c *EthermanInterface_SuggestedGasPrice_Call) Run(run func(ctx context.Context)) *EthermanInterface_SuggestedGasPrice_Call
- func (_c *EthermanInterface_SuggestedGasPrice_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *EthermanInterface_SuggestedGasPrice_Call
- type EthermanInterface_WaitTxToBeMined_Call
- func (_c *EthermanInterface_WaitTxToBeMined_Call) Return(_a0 bool, _a1 error) *EthermanInterface_WaitTxToBeMined_Call
- func (_c *EthermanInterface_WaitTxToBeMined_Call) Run(run func(ctx context.Context, tx *types.Transaction, timeout time.Duration)) *EthermanInterface_WaitTxToBeMined_Call
- func (_c *EthermanInterface_WaitTxToBeMined_Call) RunAndReturn(run func(context.Context, *types.Transaction, time.Duration) (bool, error)) *EthermanInterface_WaitTxToBeMined_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthermanInterface ¶
EthermanInterface is an autogenerated mock type for the EthermanInterface type
func NewEthermanInterface ¶
func NewEthermanInterface(t interface { mock.TestingT Cleanup(func()) }) *EthermanInterface
NewEthermanInterface creates a new instance of EthermanInterface. 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 (*EthermanInterface) CheckTxWasMined ¶
func (_m *EthermanInterface) CheckTxWasMined(ctx context.Context, txHash common.Hash) (bool, *types.Receipt, error)
CheckTxWasMined provides a mock function with given fields: ctx, txHash
func (*EthermanInterface) CurrentNonce ¶
func (_m *EthermanInterface) CurrentNonce(ctx context.Context, account common.Address) (uint64, error)
CurrentNonce provides a mock function with given fields: ctx, account
func (*EthermanInterface) EXPECT ¶
func (_m *EthermanInterface) EXPECT() *EthermanInterface_Expecter
func (*EthermanInterface) EstimateGas ¶
func (_m *EthermanInterface) EstimateGas(ctx context.Context, from common.Address, to *common.Address, value *big.Int, data []byte) (uint64, error)
EstimateGas provides a mock function with given fields: ctx, from, to, value, data
func (*EthermanInterface) EstimateGasBlobTx ¶
func (_m *EthermanInterface) EstimateGasBlobTx(ctx context.Context, from common.Address, to *common.Address, gasFeeCap *big.Int, gasTipCap *big.Int, value *big.Int, data []byte) (uint64, error)
EstimateGasBlobTx provides a mock function with given fields: ctx, from, to, gasFeeCap, gasTipCap, value, data
func (*EthermanInterface) GetHeaderByNumber ¶
func (_m *EthermanInterface) GetHeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
GetHeaderByNumber provides a mock function with given fields: ctx, number
func (*EthermanInterface) GetLatestBlockNumber ¶
func (_m *EthermanInterface) GetLatestBlockNumber(ctx context.Context) (uint64, error)
GetLatestBlockNumber provides a mock function with given fields: ctx
func (*EthermanInterface) GetRevertMessage ¶
func (_m *EthermanInterface) GetRevertMessage(ctx context.Context, tx *types.Transaction) (string, error)
GetRevertMessage provides a mock function with given fields: ctx, tx
func (*EthermanInterface) GetSuggestGasTipCap ¶
GetSuggestGasTipCap provides a mock function with given fields: ctx
func (*EthermanInterface) GetTx ¶
func (_m *EthermanInterface) GetTx(ctx context.Context, txHash common.Hash) (*types.Transaction, bool, error)
GetTx provides a mock function with given fields: ctx, txHash
func (*EthermanInterface) GetTxReceipt ¶
func (_m *EthermanInterface) GetTxReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
GetTxReceipt provides a mock function with given fields: ctx, txHash
func (*EthermanInterface) HeaderByNumber ¶
func (_m *EthermanInterface) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
HeaderByNumber provides a mock function with given fields: ctx, number
func (*EthermanInterface) PendingNonce ¶
func (_m *EthermanInterface) PendingNonce(ctx context.Context, account common.Address) (uint64, error)
PendingNonce provides a mock function with given fields: ctx, account
func (*EthermanInterface) SendTx ¶
func (_m *EthermanInterface) SendTx(ctx context.Context, tx *types.Transaction) error
SendTx provides a mock function with given fields: ctx, tx
func (*EthermanInterface) SignTx ¶
func (_m *EthermanInterface) SignTx(ctx context.Context, sender common.Address, tx *types.Transaction) (*types.Transaction, error)
SignTx provides a mock function with given fields: ctx, sender, tx
func (*EthermanInterface) SuggestedGasPrice ¶
SuggestedGasPrice provides a mock function with given fields: ctx
func (*EthermanInterface) WaitTxToBeMined ¶
func (_m *EthermanInterface) WaitTxToBeMined(ctx context.Context, tx *types.Transaction, timeout time.Duration) (bool, error)
WaitTxToBeMined provides a mock function with given fields: ctx, tx, timeout
type EthermanInterface_CheckTxWasMined_Call ¶
EthermanInterface_CheckTxWasMined_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTxWasMined'
func (*EthermanInterface_CheckTxWasMined_Call) Return ¶
func (_c *EthermanInterface_CheckTxWasMined_Call) Return(_a0 bool, _a1 *types.Receipt, _a2 error) *EthermanInterface_CheckTxWasMined_Call
func (*EthermanInterface_CheckTxWasMined_Call) Run ¶
func (_c *EthermanInterface_CheckTxWasMined_Call) Run(run func(ctx context.Context, txHash common.Hash)) *EthermanInterface_CheckTxWasMined_Call
func (*EthermanInterface_CheckTxWasMined_Call) RunAndReturn ¶
func (_c *EthermanInterface_CheckTxWasMined_Call) RunAndReturn(run func(context.Context, common.Hash) (bool, *types.Receipt, error)) *EthermanInterface_CheckTxWasMined_Call
type EthermanInterface_CurrentNonce_Call ¶
EthermanInterface_CurrentNonce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentNonce'
func (*EthermanInterface_CurrentNonce_Call) Return ¶
func (_c *EthermanInterface_CurrentNonce_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_CurrentNonce_Call
func (*EthermanInterface_CurrentNonce_Call) Run ¶
func (_c *EthermanInterface_CurrentNonce_Call) Run(run func(ctx context.Context, account common.Address)) *EthermanInterface_CurrentNonce_Call
func (*EthermanInterface_CurrentNonce_Call) RunAndReturn ¶
func (_c *EthermanInterface_CurrentNonce_Call) RunAndReturn(run func(context.Context, common.Address) (uint64, error)) *EthermanInterface_CurrentNonce_Call
type EthermanInterface_EstimateGasBlobTx_Call ¶
EthermanInterface_EstimateGasBlobTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGasBlobTx'
func (*EthermanInterface_EstimateGasBlobTx_Call) Return ¶
func (_c *EthermanInterface_EstimateGasBlobTx_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_EstimateGasBlobTx_Call
type EthermanInterface_EstimateGas_Call ¶
EthermanInterface_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'
func (*EthermanInterface_EstimateGas_Call) Return ¶
func (_c *EthermanInterface_EstimateGas_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_EstimateGas_Call
func (*EthermanInterface_EstimateGas_Call) RunAndReturn ¶
type EthermanInterface_Expecter ¶
type EthermanInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*EthermanInterface_Expecter) CheckTxWasMined ¶
func (_e *EthermanInterface_Expecter) CheckTxWasMined(ctx interface{}, txHash interface{}) *EthermanInterface_CheckTxWasMined_Call
CheckTxWasMined is a helper method to define mock.On call
- ctx context.Context
- txHash common.Hash
func (*EthermanInterface_Expecter) CurrentNonce ¶
func (_e *EthermanInterface_Expecter) CurrentNonce(ctx interface{}, account interface{}) *EthermanInterface_CurrentNonce_Call
CurrentNonce is a helper method to define mock.On call
- ctx context.Context
- account common.Address
func (*EthermanInterface_Expecter) EstimateGas ¶
func (_e *EthermanInterface_Expecter) EstimateGas(ctx interface{}, from interface{}, to interface{}, value interface{}, data interface{}) *EthermanInterface_EstimateGas_Call
EstimateGas is a helper method to define mock.On call
- ctx context.Context
- from common.Address
- to *common.Address
- value *big.Int
- data []byte
func (*EthermanInterface_Expecter) EstimateGasBlobTx ¶
func (_e *EthermanInterface_Expecter) EstimateGasBlobTx(ctx interface{}, from interface{}, to interface{}, gasFeeCap interface{}, gasTipCap interface{}, value interface{}, data interface{}) *EthermanInterface_EstimateGasBlobTx_Call
EstimateGasBlobTx is a helper method to define mock.On call
- ctx context.Context
- from common.Address
- to *common.Address
- gasFeeCap *big.Int
- gasTipCap *big.Int
- value *big.Int
- data []byte
func (*EthermanInterface_Expecter) GetHeaderByNumber ¶
func (_e *EthermanInterface_Expecter) GetHeaderByNumber(ctx interface{}, number interface{}) *EthermanInterface_GetHeaderByNumber_Call
GetHeaderByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*EthermanInterface_Expecter) GetLatestBlockNumber ¶
func (_e *EthermanInterface_Expecter) GetLatestBlockNumber(ctx interface{}) *EthermanInterface_GetLatestBlockNumber_Call
GetLatestBlockNumber is a helper method to define mock.On call
- ctx context.Context
func (*EthermanInterface_Expecter) GetRevertMessage ¶
func (_e *EthermanInterface_Expecter) GetRevertMessage(ctx interface{}, tx interface{}) *EthermanInterface_GetRevertMessage_Call
GetRevertMessage is a helper method to define mock.On call
- ctx context.Context
- tx *types.Transaction
func (*EthermanInterface_Expecter) GetSuggestGasTipCap ¶
func (_e *EthermanInterface_Expecter) GetSuggestGasTipCap(ctx interface{}) *EthermanInterface_GetSuggestGasTipCap_Call
GetSuggestGasTipCap is a helper method to define mock.On call
- ctx context.Context
func (*EthermanInterface_Expecter) GetTx ¶
func (_e *EthermanInterface_Expecter) GetTx(ctx interface{}, txHash interface{}) *EthermanInterface_GetTx_Call
GetTx is a helper method to define mock.On call
- ctx context.Context
- txHash common.Hash
func (*EthermanInterface_Expecter) GetTxReceipt ¶
func (_e *EthermanInterface_Expecter) GetTxReceipt(ctx interface{}, txHash interface{}) *EthermanInterface_GetTxReceipt_Call
GetTxReceipt is a helper method to define mock.On call
- ctx context.Context
- txHash common.Hash
func (*EthermanInterface_Expecter) HeaderByNumber ¶
func (_e *EthermanInterface_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *EthermanInterface_HeaderByNumber_Call
HeaderByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*EthermanInterface_Expecter) PendingNonce ¶
func (_e *EthermanInterface_Expecter) PendingNonce(ctx interface{}, account interface{}) *EthermanInterface_PendingNonce_Call
PendingNonce is a helper method to define mock.On call
- ctx context.Context
- account common.Address
func (*EthermanInterface_Expecter) SendTx ¶
func (_e *EthermanInterface_Expecter) SendTx(ctx interface{}, tx interface{}) *EthermanInterface_SendTx_Call
SendTx is a helper method to define mock.On call
- ctx context.Context
- tx *types.Transaction
func (*EthermanInterface_Expecter) SignTx ¶
func (_e *EthermanInterface_Expecter) SignTx(ctx interface{}, sender interface{}, tx interface{}) *EthermanInterface_SignTx_Call
SignTx is a helper method to define mock.On call
- ctx context.Context
- sender common.Address
- tx *types.Transaction
func (*EthermanInterface_Expecter) SuggestedGasPrice ¶
func (_e *EthermanInterface_Expecter) SuggestedGasPrice(ctx interface{}) *EthermanInterface_SuggestedGasPrice_Call
SuggestedGasPrice is a helper method to define mock.On call
- ctx context.Context
func (*EthermanInterface_Expecter) WaitTxToBeMined ¶
func (_e *EthermanInterface_Expecter) WaitTxToBeMined(ctx interface{}, tx interface{}, timeout interface{}) *EthermanInterface_WaitTxToBeMined_Call
WaitTxToBeMined is a helper method to define mock.On call
- ctx context.Context
- tx *types.Transaction
- timeout time.Duration
type EthermanInterface_GetHeaderByNumber_Call ¶
EthermanInterface_GetHeaderByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHeaderByNumber'
func (*EthermanInterface_GetHeaderByNumber_Call) Return ¶
func (_c *EthermanInterface_GetHeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *EthermanInterface_GetHeaderByNumber_Call
func (*EthermanInterface_GetHeaderByNumber_Call) Run ¶
func (_c *EthermanInterface_GetHeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthermanInterface_GetHeaderByNumber_Call
func (*EthermanInterface_GetHeaderByNumber_Call) RunAndReturn ¶
func (_c *EthermanInterface_GetHeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *EthermanInterface_GetHeaderByNumber_Call
type EthermanInterface_GetLatestBlockNumber_Call ¶
EthermanInterface_GetLatestBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestBlockNumber'
func (*EthermanInterface_GetLatestBlockNumber_Call) Return ¶
func (_c *EthermanInterface_GetLatestBlockNumber_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_GetLatestBlockNumber_Call
func (*EthermanInterface_GetLatestBlockNumber_Call) Run ¶
func (_c *EthermanInterface_GetLatestBlockNumber_Call) Run(run func(ctx context.Context)) *EthermanInterface_GetLatestBlockNumber_Call
func (*EthermanInterface_GetLatestBlockNumber_Call) RunAndReturn ¶
func (_c *EthermanInterface_GetLatestBlockNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *EthermanInterface_GetLatestBlockNumber_Call
type EthermanInterface_GetRevertMessage_Call ¶
EthermanInterface_GetRevertMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRevertMessage'
func (*EthermanInterface_GetRevertMessage_Call) Return ¶
func (_c *EthermanInterface_GetRevertMessage_Call) Return(_a0 string, _a1 error) *EthermanInterface_GetRevertMessage_Call
func (*EthermanInterface_GetRevertMessage_Call) Run ¶
func (_c *EthermanInterface_GetRevertMessage_Call) Run(run func(ctx context.Context, tx *types.Transaction)) *EthermanInterface_GetRevertMessage_Call
func (*EthermanInterface_GetRevertMessage_Call) RunAndReturn ¶
func (_c *EthermanInterface_GetRevertMessage_Call) RunAndReturn(run func(context.Context, *types.Transaction) (string, error)) *EthermanInterface_GetRevertMessage_Call
type EthermanInterface_GetSuggestGasTipCap_Call ¶
EthermanInterface_GetSuggestGasTipCap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSuggestGasTipCap'
func (*EthermanInterface_GetSuggestGasTipCap_Call) Return ¶
func (_c *EthermanInterface_GetSuggestGasTipCap_Call) Return(_a0 *big.Int, _a1 error) *EthermanInterface_GetSuggestGasTipCap_Call
func (*EthermanInterface_GetSuggestGasTipCap_Call) Run ¶
func (_c *EthermanInterface_GetSuggestGasTipCap_Call) Run(run func(ctx context.Context)) *EthermanInterface_GetSuggestGasTipCap_Call
func (*EthermanInterface_GetSuggestGasTipCap_Call) RunAndReturn ¶
func (_c *EthermanInterface_GetSuggestGasTipCap_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *EthermanInterface_GetSuggestGasTipCap_Call
type EthermanInterface_GetTxReceipt_Call ¶
EthermanInterface_GetTxReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxReceipt'
func (*EthermanInterface_GetTxReceipt_Call) Return ¶
func (_c *EthermanInterface_GetTxReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *EthermanInterface_GetTxReceipt_Call
func (*EthermanInterface_GetTxReceipt_Call) Run ¶
func (_c *EthermanInterface_GetTxReceipt_Call) Run(run func(ctx context.Context, txHash common.Hash)) *EthermanInterface_GetTxReceipt_Call
func (*EthermanInterface_GetTxReceipt_Call) RunAndReturn ¶
func (_c *EthermanInterface_GetTxReceipt_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Receipt, error)) *EthermanInterface_GetTxReceipt_Call
type EthermanInterface_GetTx_Call ¶
EthermanInterface_GetTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTx'
func (*EthermanInterface_GetTx_Call) Return ¶
func (_c *EthermanInterface_GetTx_Call) Return(_a0 *types.Transaction, _a1 bool, _a2 error) *EthermanInterface_GetTx_Call
func (*EthermanInterface_GetTx_Call) Run ¶
func (_c *EthermanInterface_GetTx_Call) Run(run func(ctx context.Context, txHash common.Hash)) *EthermanInterface_GetTx_Call
func (*EthermanInterface_GetTx_Call) RunAndReturn ¶
func (_c *EthermanInterface_GetTx_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Transaction, bool, error)) *EthermanInterface_GetTx_Call
type EthermanInterface_HeaderByNumber_Call ¶
EthermanInterface_HeaderByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByNumber'
func (*EthermanInterface_HeaderByNumber_Call) Return ¶
func (_c *EthermanInterface_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *EthermanInterface_HeaderByNumber_Call
func (*EthermanInterface_HeaderByNumber_Call) Run ¶
func (_c *EthermanInterface_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthermanInterface_HeaderByNumber_Call
func (*EthermanInterface_HeaderByNumber_Call) RunAndReturn ¶
func (_c *EthermanInterface_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *EthermanInterface_HeaderByNumber_Call
type EthermanInterface_PendingNonce_Call ¶
EthermanInterface_PendingNonce_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingNonce'
func (*EthermanInterface_PendingNonce_Call) Return ¶
func (_c *EthermanInterface_PendingNonce_Call) Return(_a0 uint64, _a1 error) *EthermanInterface_PendingNonce_Call
func (*EthermanInterface_PendingNonce_Call) Run ¶
func (_c *EthermanInterface_PendingNonce_Call) Run(run func(ctx context.Context, account common.Address)) *EthermanInterface_PendingNonce_Call
func (*EthermanInterface_PendingNonce_Call) RunAndReturn ¶
func (_c *EthermanInterface_PendingNonce_Call) RunAndReturn(run func(context.Context, common.Address) (uint64, error)) *EthermanInterface_PendingNonce_Call
type EthermanInterface_SendTx_Call ¶
EthermanInterface_SendTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTx'
func (*EthermanInterface_SendTx_Call) Return ¶
func (_c *EthermanInterface_SendTx_Call) Return(_a0 error) *EthermanInterface_SendTx_Call
func (*EthermanInterface_SendTx_Call) Run ¶
func (_c *EthermanInterface_SendTx_Call) Run(run func(ctx context.Context, tx *types.Transaction)) *EthermanInterface_SendTx_Call
func (*EthermanInterface_SendTx_Call) RunAndReturn ¶
func (_c *EthermanInterface_SendTx_Call) RunAndReturn(run func(context.Context, *types.Transaction) error) *EthermanInterface_SendTx_Call
type EthermanInterface_SignTx_Call ¶
EthermanInterface_SignTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignTx'
func (*EthermanInterface_SignTx_Call) Return ¶
func (_c *EthermanInterface_SignTx_Call) Return(_a0 *types.Transaction, _a1 error) *EthermanInterface_SignTx_Call
func (*EthermanInterface_SignTx_Call) Run ¶
func (_c *EthermanInterface_SignTx_Call) Run(run func(ctx context.Context, sender common.Address, tx *types.Transaction)) *EthermanInterface_SignTx_Call
func (*EthermanInterface_SignTx_Call) RunAndReturn ¶
func (_c *EthermanInterface_SignTx_Call) RunAndReturn(run func(context.Context, common.Address, *types.Transaction) (*types.Transaction, error)) *EthermanInterface_SignTx_Call
type EthermanInterface_SuggestedGasPrice_Call ¶
EthermanInterface_SuggestedGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuggestedGasPrice'
func (*EthermanInterface_SuggestedGasPrice_Call) Return ¶
func (_c *EthermanInterface_SuggestedGasPrice_Call) Return(_a0 *big.Int, _a1 error) *EthermanInterface_SuggestedGasPrice_Call
func (*EthermanInterface_SuggestedGasPrice_Call) Run ¶
func (_c *EthermanInterface_SuggestedGasPrice_Call) Run(run func(ctx context.Context)) *EthermanInterface_SuggestedGasPrice_Call
func (*EthermanInterface_SuggestedGasPrice_Call) RunAndReturn ¶
func (_c *EthermanInterface_SuggestedGasPrice_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *EthermanInterface_SuggestedGasPrice_Call
type EthermanInterface_WaitTxToBeMined_Call ¶
EthermanInterface_WaitTxToBeMined_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitTxToBeMined'
func (*EthermanInterface_WaitTxToBeMined_Call) Return ¶
func (_c *EthermanInterface_WaitTxToBeMined_Call) Return(_a0 bool, _a1 error) *EthermanInterface_WaitTxToBeMined_Call
func (*EthermanInterface_WaitTxToBeMined_Call) Run ¶
func (_c *EthermanInterface_WaitTxToBeMined_Call) Run(run func(ctx context.Context, tx *types.Transaction, timeout time.Duration)) *EthermanInterface_WaitTxToBeMined_Call
func (*EthermanInterface_WaitTxToBeMined_Call) RunAndReturn ¶
func (_c *EthermanInterface_WaitTxToBeMined_Call) RunAndReturn(run func(context.Context, *types.Transaction, time.Duration) (bool, error)) *EthermanInterface_WaitTxToBeMined_Call