Documentation ¶
Index ¶
- type Config
- type Config_ChainType_Call
- type Config_Expecter
- type Config_FinalityDepth_Call
- type Config_FinalityTagEnabled_Call
- type EvmEstimator
- func (_m *EvmEstimator) BumpDynamicFee(ctx context.Context, original gas.DynamicFee, maxGasPriceWei *assets.Wei, ...) (gas.DynamicFee, error)
- func (_m *EvmEstimator) BumpLegacyGas(ctx context.Context, originalGasPrice *assets.Wei, gasLimit uint64, ...) (*assets.Wei, uint64, error)
- func (_m *EvmEstimator) Close() error
- func (_m *EvmEstimator) EXPECT() *EvmEstimator_Expecter
- func (_m *EvmEstimator) GetDynamicFee(ctx context.Context, maxGasPriceWei *assets.Wei) (gas.DynamicFee, error)
- func (_m *EvmEstimator) GetLegacyGas(ctx context.Context, calldata []byte, gasLimit uint64, ...) (*assets.Wei, uint64, error)
- func (_m *EvmEstimator) HealthReport() map[string]error
- func (_m *EvmEstimator) L1Oracle() rollups.L1Oracle
- func (_m *EvmEstimator) Name() string
- func (_m *EvmEstimator) OnNewLongestChain(ctx context.Context, head *evmtypes.Head)
- func (_m *EvmEstimator) Ready() error
- func (_m *EvmEstimator) Start(_a0 context.Context) error
- type EvmEstimator_BumpDynamicFee_Call
- func (_c *EvmEstimator_BumpDynamicFee_Call) Return(bumped gas.DynamicFee, err error) *EvmEstimator_BumpDynamicFee_Call
- func (_c *EvmEstimator_BumpDynamicFee_Call) Run(...) *EvmEstimator_BumpDynamicFee_Call
- func (_c *EvmEstimator_BumpDynamicFee_Call) RunAndReturn(...) *EvmEstimator_BumpDynamicFee_Call
- type EvmEstimator_BumpLegacyGas_Call
- func (_c *EvmEstimator_BumpLegacyGas_Call) Return(bumpedGasPrice *assets.Wei, chainSpecificGasLimit uint64, err error) *EvmEstimator_BumpLegacyGas_Call
- func (_c *EvmEstimator_BumpLegacyGas_Call) Run(...) *EvmEstimator_BumpLegacyGas_Call
- func (_c *EvmEstimator_BumpLegacyGas_Call) RunAndReturn(...) *EvmEstimator_BumpLegacyGas_Call
- type EvmEstimator_Close_Call
- type EvmEstimator_Expecter
- func (_e *EvmEstimator_Expecter) BumpDynamicFee(ctx interface{}, original interface{}, maxGasPriceWei interface{}, ...) *EvmEstimator_BumpDynamicFee_Call
- func (_e *EvmEstimator_Expecter) BumpLegacyGas(ctx interface{}, originalGasPrice interface{}, gasLimit interface{}, ...) *EvmEstimator_BumpLegacyGas_Call
- func (_e *EvmEstimator_Expecter) Close() *EvmEstimator_Close_Call
- func (_e *EvmEstimator_Expecter) GetDynamicFee(ctx interface{}, maxGasPriceWei interface{}) *EvmEstimator_GetDynamicFee_Call
- func (_e *EvmEstimator_Expecter) GetLegacyGas(ctx interface{}, calldata interface{}, gasLimit interface{}, ...) *EvmEstimator_GetLegacyGas_Call
- func (_e *EvmEstimator_Expecter) HealthReport() *EvmEstimator_HealthReport_Call
- func (_e *EvmEstimator_Expecter) L1Oracle() *EvmEstimator_L1Oracle_Call
- func (_e *EvmEstimator_Expecter) Name() *EvmEstimator_Name_Call
- func (_e *EvmEstimator_Expecter) OnNewLongestChain(ctx interface{}, head interface{}) *EvmEstimator_OnNewLongestChain_Call
- func (_e *EvmEstimator_Expecter) Ready() *EvmEstimator_Ready_Call
- func (_e *EvmEstimator_Expecter) Start(_a0 interface{}) *EvmEstimator_Start_Call
- type EvmEstimator_GetDynamicFee_Call
- func (_c *EvmEstimator_GetDynamicFee_Call) Return(fee gas.DynamicFee, err error) *EvmEstimator_GetDynamicFee_Call
- func (_c *EvmEstimator_GetDynamicFee_Call) Run(run func(ctx context.Context, maxGasPriceWei *assets.Wei)) *EvmEstimator_GetDynamicFee_Call
- func (_c *EvmEstimator_GetDynamicFee_Call) RunAndReturn(run func(context.Context, *assets.Wei) (gas.DynamicFee, error)) *EvmEstimator_GetDynamicFee_Call
- type EvmEstimator_GetLegacyGas_Call
- func (_c *EvmEstimator_GetLegacyGas_Call) Return(gasPrice *assets.Wei, chainSpecificGasLimit uint64, err error) *EvmEstimator_GetLegacyGas_Call
- func (_c *EvmEstimator_GetLegacyGas_Call) Run(run func(ctx context.Context, calldata []byte, gasLimit uint64, ...)) *EvmEstimator_GetLegacyGas_Call
- func (_c *EvmEstimator_GetLegacyGas_Call) RunAndReturn(...) *EvmEstimator_GetLegacyGas_Call
- type EvmEstimator_HealthReport_Call
- func (_c *EvmEstimator_HealthReport_Call) Return(_a0 map[string]error) *EvmEstimator_HealthReport_Call
- func (_c *EvmEstimator_HealthReport_Call) Run(run func()) *EvmEstimator_HealthReport_Call
- func (_c *EvmEstimator_HealthReport_Call) RunAndReturn(run func() map[string]error) *EvmEstimator_HealthReport_Call
- type EvmEstimator_L1Oracle_Call
- type EvmEstimator_Name_Call
- type EvmEstimator_OnNewLongestChain_Call
- func (_c *EvmEstimator_OnNewLongestChain_Call) Return() *EvmEstimator_OnNewLongestChain_Call
- func (_c *EvmEstimator_OnNewLongestChain_Call) Run(run func(ctx context.Context, head *evmtypes.Head)) *EvmEstimator_OnNewLongestChain_Call
- func (_c *EvmEstimator_OnNewLongestChain_Call) RunAndReturn(run func(context.Context, *evmtypes.Head)) *EvmEstimator_OnNewLongestChain_Call
- type EvmEstimator_Ready_Call
- type EvmEstimator_Start_Call
- type EvmFeeEstimator
- func (_m *EvmFeeEstimator) BumpFee(ctx context.Context, originalFee gas.EvmFee, feeLimit uint64, ...) (gas.EvmFee, uint64, error)
- func (_m *EvmFeeEstimator) Close() error
- func (_m *EvmFeeEstimator) EXPECT() *EvmFeeEstimator_Expecter
- func (_m *EvmFeeEstimator) GetFee(ctx context.Context, calldata []byte, feeLimit uint64, maxFeePrice *assets.Wei, ...) (gas.EvmFee, uint64, error)
- func (_m *EvmFeeEstimator) GetMaxCost(ctx context.Context, amount assets.Eth, calldata []byte, feeLimit uint64, ...) (*big.Int, error)
- func (_m *EvmFeeEstimator) HealthReport() map[string]error
- func (_m *EvmFeeEstimator) L1Oracle() rollups.L1Oracle
- func (_m *EvmFeeEstimator) Name() string
- func (_m *EvmFeeEstimator) OnNewLongestChain(ctx context.Context, head *evmtypes.Head)
- func (_m *EvmFeeEstimator) Ready() error
- func (_m *EvmFeeEstimator) Start(_a0 context.Context) error
- type EvmFeeEstimator_BumpFee_Call
- func (_c *EvmFeeEstimator_BumpFee_Call) Return(bumpedFee gas.EvmFee, chainSpecificFeeLimit uint64, err error) *EvmFeeEstimator_BumpFee_Call
- func (_c *EvmFeeEstimator_BumpFee_Call) Run(run func(ctx context.Context, originalFee gas.EvmFee, feeLimit uint64, ...)) *EvmFeeEstimator_BumpFee_Call
- func (_c *EvmFeeEstimator_BumpFee_Call) RunAndReturn(...) *EvmFeeEstimator_BumpFee_Call
- type EvmFeeEstimator_Close_Call
- type EvmFeeEstimator_Expecter
- func (_e *EvmFeeEstimator_Expecter) BumpFee(ctx interface{}, originalFee interface{}, feeLimit interface{}, ...) *EvmFeeEstimator_BumpFee_Call
- func (_e *EvmFeeEstimator_Expecter) Close() *EvmFeeEstimator_Close_Call
- func (_e *EvmFeeEstimator_Expecter) GetFee(ctx interface{}, calldata interface{}, feeLimit interface{}, ...) *EvmFeeEstimator_GetFee_Call
- func (_e *EvmFeeEstimator_Expecter) GetMaxCost(ctx interface{}, amount interface{}, calldata interface{}, ...) *EvmFeeEstimator_GetMaxCost_Call
- func (_e *EvmFeeEstimator_Expecter) HealthReport() *EvmFeeEstimator_HealthReport_Call
- func (_e *EvmFeeEstimator_Expecter) L1Oracle() *EvmFeeEstimator_L1Oracle_Call
- func (_e *EvmFeeEstimator_Expecter) Name() *EvmFeeEstimator_Name_Call
- func (_e *EvmFeeEstimator_Expecter) OnNewLongestChain(ctx interface{}, head interface{}) *EvmFeeEstimator_OnNewLongestChain_Call
- func (_e *EvmFeeEstimator_Expecter) Ready() *EvmFeeEstimator_Ready_Call
- func (_e *EvmFeeEstimator_Expecter) Start(_a0 interface{}) *EvmFeeEstimator_Start_Call
- type EvmFeeEstimator_GetFee_Call
- type EvmFeeEstimator_GetMaxCost_Call
- type EvmFeeEstimator_HealthReport_Call
- func (_c *EvmFeeEstimator_HealthReport_Call) Return(_a0 map[string]error) *EvmFeeEstimator_HealthReport_Call
- func (_c *EvmFeeEstimator_HealthReport_Call) Run(run func()) *EvmFeeEstimator_HealthReport_Call
- func (_c *EvmFeeEstimator_HealthReport_Call) RunAndReturn(run func() map[string]error) *EvmFeeEstimator_HealthReport_Call
- type EvmFeeEstimator_L1Oracle_Call
- func (_c *EvmFeeEstimator_L1Oracle_Call) Return(_a0 rollups.L1Oracle) *EvmFeeEstimator_L1Oracle_Call
- func (_c *EvmFeeEstimator_L1Oracle_Call) Run(run func()) *EvmFeeEstimator_L1Oracle_Call
- func (_c *EvmFeeEstimator_L1Oracle_Call) RunAndReturn(run func() rollups.L1Oracle) *EvmFeeEstimator_L1Oracle_Call
- type EvmFeeEstimator_Name_Call
- type EvmFeeEstimator_OnNewLongestChain_Call
- func (_c *EvmFeeEstimator_OnNewLongestChain_Call) Return() *EvmFeeEstimator_OnNewLongestChain_Call
- func (_c *EvmFeeEstimator_OnNewLongestChain_Call) Run(run func(ctx context.Context, head *evmtypes.Head)) *EvmFeeEstimator_OnNewLongestChain_Call
- func (_c *EvmFeeEstimator_OnNewLongestChain_Call) RunAndReturn(run func(context.Context, *evmtypes.Head)) *EvmFeeEstimator_OnNewLongestChain_Call
- type EvmFeeEstimator_Ready_Call
- type EvmFeeEstimator_Start_Call
- type FeeEstimatorClient
- func (_m *FeeEstimatorClient) BatchCallContext(ctx context.Context, b []rpc.BatchElem) error
- func (_m *FeeEstimatorClient) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
- func (_m *FeeEstimatorClient) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (_m *FeeEstimatorClient) ConfiguredChainID() *big.Int
- func (_m *FeeEstimatorClient) EXPECT() *FeeEstimatorClient_Expecter
- func (_m *FeeEstimatorClient) HeadByNumber(ctx context.Context, n *big.Int) (*types.Head, error)
- type FeeEstimatorClient_BatchCallContext_Call
- func (_c *FeeEstimatorClient_BatchCallContext_Call) Return(_a0 error) *FeeEstimatorClient_BatchCallContext_Call
- func (_c *FeeEstimatorClient_BatchCallContext_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *FeeEstimatorClient_BatchCallContext_Call
- func (_c *FeeEstimatorClient_BatchCallContext_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *FeeEstimatorClient_BatchCallContext_Call
- type FeeEstimatorClient_CallContext_Call
- func (_c *FeeEstimatorClient_CallContext_Call) Return(_a0 error) *FeeEstimatorClient_CallContext_Call
- func (_c *FeeEstimatorClient_CallContext_Call) Run(...) *FeeEstimatorClient_CallContext_Call
- func (_c *FeeEstimatorClient_CallContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *FeeEstimatorClient_CallContext_Call
- type FeeEstimatorClient_CallContract_Call
- func (_c *FeeEstimatorClient_CallContract_Call) Return(_a0 []byte, _a1 error) *FeeEstimatorClient_CallContract_Call
- func (_c *FeeEstimatorClient_CallContract_Call) Run(run func(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int)) *FeeEstimatorClient_CallContract_Call
- func (_c *FeeEstimatorClient_CallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg, *big.Int) ([]byte, error)) *FeeEstimatorClient_CallContract_Call
- type FeeEstimatorClient_ConfiguredChainID_Call
- func (_c *FeeEstimatorClient_ConfiguredChainID_Call) Return(_a0 *big.Int) *FeeEstimatorClient_ConfiguredChainID_Call
- func (_c *FeeEstimatorClient_ConfiguredChainID_Call) Run(run func()) *FeeEstimatorClient_ConfiguredChainID_Call
- func (_c *FeeEstimatorClient_ConfiguredChainID_Call) RunAndReturn(run func() *big.Int) *FeeEstimatorClient_ConfiguredChainID_Call
- type FeeEstimatorClient_Expecter
- func (_e *FeeEstimatorClient_Expecter) BatchCallContext(ctx interface{}, b interface{}) *FeeEstimatorClient_BatchCallContext_Call
- func (_e *FeeEstimatorClient_Expecter) CallContext(ctx interface{}, result interface{}, method interface{}, args ...interface{}) *FeeEstimatorClient_CallContext_Call
- func (_e *FeeEstimatorClient_Expecter) CallContract(ctx interface{}, msg interface{}, blockNumber interface{}) *FeeEstimatorClient_CallContract_Call
- func (_e *FeeEstimatorClient_Expecter) ConfiguredChainID() *FeeEstimatorClient_ConfiguredChainID_Call
- func (_e *FeeEstimatorClient_Expecter) HeadByNumber(ctx interface{}, n interface{}) *FeeEstimatorClient_HeadByNumber_Call
- type FeeEstimatorClient_HeadByNumber_Call
- func (_c *FeeEstimatorClient_HeadByNumber_Call) Return(_a0 *types.Head, _a1 error) *FeeEstimatorClient_HeadByNumber_Call
- func (_c *FeeEstimatorClient_HeadByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *FeeEstimatorClient_HeadByNumber_Call
- func (_c *FeeEstimatorClient_HeadByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Head, error)) *FeeEstimatorClient_HeadByNumber_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is an autogenerated mock type for the Config type
func NewConfig ¶
NewConfig creates a new instance of Config. 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 (*Config) EXPECT ¶ added in v2.15.0
func (_m *Config) EXPECT() *Config_Expecter
func (*Config) FinalityDepth ¶ added in v2.3.0
FinalityDepth provides a mock function with given fields:
func (*Config) FinalityTagEnabled ¶ added in v2.4.0
FinalityTagEnabled provides a mock function with given fields:
type Config_ChainType_Call ¶ added in v2.15.0
Config_ChainType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChainType'
func (*Config_ChainType_Call) Return ¶ added in v2.15.0
func (_c *Config_ChainType_Call) Return(_a0 chaintype.ChainType) *Config_ChainType_Call
func (*Config_ChainType_Call) Run ¶ added in v2.15.0
func (_c *Config_ChainType_Call) Run(run func()) *Config_ChainType_Call
func (*Config_ChainType_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Config_ChainType_Call) RunAndReturn(run func() chaintype.ChainType) *Config_ChainType_Call
type Config_Expecter ¶ added in v2.15.0
type Config_Expecter struct {
// contains filtered or unexported fields
}
func (*Config_Expecter) ChainType ¶ added in v2.15.0
func (_e *Config_Expecter) ChainType() *Config_ChainType_Call
ChainType is a helper method to define mock.On call
func (*Config_Expecter) FinalityDepth ¶ added in v2.15.0
func (_e *Config_Expecter) FinalityDepth() *Config_FinalityDepth_Call
FinalityDepth is a helper method to define mock.On call
func (*Config_Expecter) FinalityTagEnabled ¶ added in v2.15.0
func (_e *Config_Expecter) FinalityTagEnabled() *Config_FinalityTagEnabled_Call
FinalityTagEnabled is a helper method to define mock.On call
type Config_FinalityDepth_Call ¶ added in v2.15.0
Config_FinalityDepth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinalityDepth'
func (*Config_FinalityDepth_Call) Return ¶ added in v2.15.0
func (_c *Config_FinalityDepth_Call) Return(_a0 uint32) *Config_FinalityDepth_Call
func (*Config_FinalityDepth_Call) Run ¶ added in v2.15.0
func (_c *Config_FinalityDepth_Call) Run(run func()) *Config_FinalityDepth_Call
func (*Config_FinalityDepth_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Config_FinalityDepth_Call) RunAndReturn(run func() uint32) *Config_FinalityDepth_Call
type Config_FinalityTagEnabled_Call ¶ added in v2.15.0
Config_FinalityTagEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FinalityTagEnabled'
func (*Config_FinalityTagEnabled_Call) Return ¶ added in v2.15.0
func (_c *Config_FinalityTagEnabled_Call) Return(_a0 bool) *Config_FinalityTagEnabled_Call
func (*Config_FinalityTagEnabled_Call) Run ¶ added in v2.15.0
func (_c *Config_FinalityTagEnabled_Call) Run(run func()) *Config_FinalityTagEnabled_Call
func (*Config_FinalityTagEnabled_Call) RunAndReturn ¶ added in v2.15.0
func (_c *Config_FinalityTagEnabled_Call) RunAndReturn(run func() bool) *Config_FinalityTagEnabled_Call
type EvmEstimator ¶
EvmEstimator is an autogenerated mock type for the EvmEstimator type
func NewEvmEstimator ¶
func NewEvmEstimator(t interface { mock.TestingT Cleanup(func()) }) *EvmEstimator
NewEvmEstimator creates a new instance of EvmEstimator. 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 (*EvmEstimator) BumpDynamicFee ¶
func (_m *EvmEstimator) BumpDynamicFee(ctx context.Context, original gas.DynamicFee, maxGasPriceWei *assets.Wei, attempts []gas.EvmPriorAttempt) (gas.DynamicFee, error)
BumpDynamicFee provides a mock function with given fields: ctx, original, maxGasPriceWei, attempts
func (*EvmEstimator) BumpLegacyGas ¶
func (_m *EvmEstimator) BumpLegacyGas(ctx context.Context, originalGasPrice *assets.Wei, gasLimit uint64, maxGasPriceWei *assets.Wei, attempts []gas.EvmPriorAttempt) (*assets.Wei, uint64, error)
BumpLegacyGas provides a mock function with given fields: ctx, originalGasPrice, gasLimit, maxGasPriceWei, attempts
func (*EvmEstimator) Close ¶
func (_m *EvmEstimator) Close() error
Close provides a mock function with given fields:
func (*EvmEstimator) EXPECT ¶ added in v2.15.0
func (_m *EvmEstimator) EXPECT() *EvmEstimator_Expecter
func (*EvmEstimator) GetDynamicFee ¶
func (_m *EvmEstimator) GetDynamicFee(ctx context.Context, maxGasPriceWei *assets.Wei) (gas.DynamicFee, error)
GetDynamicFee provides a mock function with given fields: ctx, maxGasPriceWei
func (*EvmEstimator) GetLegacyGas ¶
func (_m *EvmEstimator) GetLegacyGas(ctx context.Context, calldata []byte, gasLimit uint64, maxGasPriceWei *assets.Wei, opts ...types.Opt) (*assets.Wei, uint64, error)
GetLegacyGas provides a mock function with given fields: ctx, calldata, gasLimit, maxGasPriceWei, opts
func (*EvmEstimator) HealthReport ¶
func (_m *EvmEstimator) HealthReport() map[string]error
HealthReport provides a mock function with given fields:
func (*EvmEstimator) L1Oracle ¶ added in v2.12.0
func (_m *EvmEstimator) L1Oracle() rollups.L1Oracle
L1Oracle provides a mock function with given fields:
func (*EvmEstimator) Name ¶
func (_m *EvmEstimator) Name() string
Name provides a mock function with given fields:
func (*EvmEstimator) OnNewLongestChain ¶
func (_m *EvmEstimator) OnNewLongestChain(ctx context.Context, head *evmtypes.Head)
OnNewLongestChain provides a mock function with given fields: ctx, head
func (*EvmEstimator) Ready ¶
func (_m *EvmEstimator) Ready() error
Ready provides a mock function with given fields:
type EvmEstimator_BumpDynamicFee_Call ¶ added in v2.15.0
EvmEstimator_BumpDynamicFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpDynamicFee'
func (*EvmEstimator_BumpDynamicFee_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_BumpDynamicFee_Call) Return(bumped gas.DynamicFee, err error) *EvmEstimator_BumpDynamicFee_Call
func (*EvmEstimator_BumpDynamicFee_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_BumpDynamicFee_Call) Run(run func(ctx context.Context, original gas.DynamicFee, maxGasPriceWei *assets.Wei, attempts []gas.EvmPriorAttempt)) *EvmEstimator_BumpDynamicFee_Call
func (*EvmEstimator_BumpDynamicFee_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_BumpDynamicFee_Call) RunAndReturn(run func(context.Context, gas.DynamicFee, *assets.Wei, []gas.EvmPriorAttempt) (gas.DynamicFee, error)) *EvmEstimator_BumpDynamicFee_Call
type EvmEstimator_BumpLegacyGas_Call ¶ added in v2.15.0
EvmEstimator_BumpLegacyGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpLegacyGas'
func (*EvmEstimator_BumpLegacyGas_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_BumpLegacyGas_Call) Return(bumpedGasPrice *assets.Wei, chainSpecificGasLimit uint64, err error) *EvmEstimator_BumpLegacyGas_Call
func (*EvmEstimator_BumpLegacyGas_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_BumpLegacyGas_Call) Run(run func(ctx context.Context, originalGasPrice *assets.Wei, gasLimit uint64, maxGasPriceWei *assets.Wei, attempts []gas.EvmPriorAttempt)) *EvmEstimator_BumpLegacyGas_Call
func (*EvmEstimator_BumpLegacyGas_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_BumpLegacyGas_Call) RunAndReturn(run func(context.Context, *assets.Wei, uint64, *assets.Wei, []gas.EvmPriorAttempt) (*assets.Wei, uint64, error)) *EvmEstimator_BumpLegacyGas_Call
type EvmEstimator_Close_Call ¶ added in v2.15.0
EvmEstimator_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*EvmEstimator_Close_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_Close_Call) Return(_a0 error) *EvmEstimator_Close_Call
func (*EvmEstimator_Close_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_Close_Call) Run(run func()) *EvmEstimator_Close_Call
func (*EvmEstimator_Close_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_Close_Call) RunAndReturn(run func() error) *EvmEstimator_Close_Call
type EvmEstimator_Expecter ¶ added in v2.15.0
type EvmEstimator_Expecter struct {
// contains filtered or unexported fields
}
func (*EvmEstimator_Expecter) BumpDynamicFee ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) BumpDynamicFee(ctx interface{}, original interface{}, maxGasPriceWei interface{}, attempts interface{}) *EvmEstimator_BumpDynamicFee_Call
BumpDynamicFee is a helper method to define mock.On call
- ctx context.Context
- original gas.DynamicFee
- maxGasPriceWei *assets.Wei
- attempts []gas.EvmPriorAttempt
func (*EvmEstimator_Expecter) BumpLegacyGas ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) BumpLegacyGas(ctx interface{}, originalGasPrice interface{}, gasLimit interface{}, maxGasPriceWei interface{}, attempts interface{}) *EvmEstimator_BumpLegacyGas_Call
BumpLegacyGas is a helper method to define mock.On call
- ctx context.Context
- originalGasPrice *assets.Wei
- gasLimit uint64
- maxGasPriceWei *assets.Wei
- attempts []gas.EvmPriorAttempt
func (*EvmEstimator_Expecter) Close ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) Close() *EvmEstimator_Close_Call
Close is a helper method to define mock.On call
func (*EvmEstimator_Expecter) GetDynamicFee ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) GetDynamicFee(ctx interface{}, maxGasPriceWei interface{}) *EvmEstimator_GetDynamicFee_Call
GetDynamicFee is a helper method to define mock.On call
- ctx context.Context
- maxGasPriceWei *assets.Wei
func (*EvmEstimator_Expecter) GetLegacyGas ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) GetLegacyGas(ctx interface{}, calldata interface{}, gasLimit interface{}, maxGasPriceWei interface{}, opts ...interface{}) *EvmEstimator_GetLegacyGas_Call
GetLegacyGas is a helper method to define mock.On call
- ctx context.Context
- calldata []byte
- gasLimit uint64
- maxGasPriceWei *assets.Wei
- opts ...types.Opt
func (*EvmEstimator_Expecter) HealthReport ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) HealthReport() *EvmEstimator_HealthReport_Call
HealthReport is a helper method to define mock.On call
func (*EvmEstimator_Expecter) L1Oracle ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) L1Oracle() *EvmEstimator_L1Oracle_Call
L1Oracle is a helper method to define mock.On call
func (*EvmEstimator_Expecter) Name ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) Name() *EvmEstimator_Name_Call
Name is a helper method to define mock.On call
func (*EvmEstimator_Expecter) OnNewLongestChain ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) OnNewLongestChain(ctx interface{}, head interface{}) *EvmEstimator_OnNewLongestChain_Call
OnNewLongestChain is a helper method to define mock.On call
- ctx context.Context
- head *evmtypes.Head
func (*EvmEstimator_Expecter) Ready ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) Ready() *EvmEstimator_Ready_Call
Ready is a helper method to define mock.On call
func (*EvmEstimator_Expecter) Start ¶ added in v2.15.0
func (_e *EvmEstimator_Expecter) Start(_a0 interface{}) *EvmEstimator_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
type EvmEstimator_GetDynamicFee_Call ¶ added in v2.15.0
EvmEstimator_GetDynamicFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDynamicFee'
func (*EvmEstimator_GetDynamicFee_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_GetDynamicFee_Call) Return(fee gas.DynamicFee, err error) *EvmEstimator_GetDynamicFee_Call
func (*EvmEstimator_GetDynamicFee_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_GetDynamicFee_Call) Run(run func(ctx context.Context, maxGasPriceWei *assets.Wei)) *EvmEstimator_GetDynamicFee_Call
func (*EvmEstimator_GetDynamicFee_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_GetDynamicFee_Call) RunAndReturn(run func(context.Context, *assets.Wei) (gas.DynamicFee, error)) *EvmEstimator_GetDynamicFee_Call
type EvmEstimator_GetLegacyGas_Call ¶ added in v2.15.0
EvmEstimator_GetLegacyGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLegacyGas'
func (*EvmEstimator_GetLegacyGas_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_GetLegacyGas_Call) Return(gasPrice *assets.Wei, chainSpecificGasLimit uint64, err error) *EvmEstimator_GetLegacyGas_Call
type EvmEstimator_HealthReport_Call ¶ added in v2.15.0
EvmEstimator_HealthReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthReport'
func (*EvmEstimator_HealthReport_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_HealthReport_Call) Return(_a0 map[string]error) *EvmEstimator_HealthReport_Call
func (*EvmEstimator_HealthReport_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_HealthReport_Call) Run(run func()) *EvmEstimator_HealthReport_Call
func (*EvmEstimator_HealthReport_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_HealthReport_Call) RunAndReturn(run func() map[string]error) *EvmEstimator_HealthReport_Call
type EvmEstimator_L1Oracle_Call ¶ added in v2.15.0
EvmEstimator_L1Oracle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'L1Oracle'
func (*EvmEstimator_L1Oracle_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_L1Oracle_Call) Return(_a0 rollups.L1Oracle) *EvmEstimator_L1Oracle_Call
func (*EvmEstimator_L1Oracle_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_L1Oracle_Call) Run(run func()) *EvmEstimator_L1Oracle_Call
func (*EvmEstimator_L1Oracle_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_L1Oracle_Call) RunAndReturn(run func() rollups.L1Oracle) *EvmEstimator_L1Oracle_Call
type EvmEstimator_Name_Call ¶ added in v2.15.0
EvmEstimator_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*EvmEstimator_Name_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_Name_Call) Return(_a0 string) *EvmEstimator_Name_Call
func (*EvmEstimator_Name_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_Name_Call) Run(run func()) *EvmEstimator_Name_Call
func (*EvmEstimator_Name_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_Name_Call) RunAndReturn(run func() string) *EvmEstimator_Name_Call
type EvmEstimator_OnNewLongestChain_Call ¶ added in v2.15.0
EvmEstimator_OnNewLongestChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnNewLongestChain'
func (*EvmEstimator_OnNewLongestChain_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_OnNewLongestChain_Call) Return() *EvmEstimator_OnNewLongestChain_Call
func (*EvmEstimator_OnNewLongestChain_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_OnNewLongestChain_Call) Run(run func(ctx context.Context, head *evmtypes.Head)) *EvmEstimator_OnNewLongestChain_Call
func (*EvmEstimator_OnNewLongestChain_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_OnNewLongestChain_Call) RunAndReturn(run func(context.Context, *evmtypes.Head)) *EvmEstimator_OnNewLongestChain_Call
type EvmEstimator_Ready_Call ¶ added in v2.15.0
EvmEstimator_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*EvmEstimator_Ready_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_Ready_Call) Return(_a0 error) *EvmEstimator_Ready_Call
func (*EvmEstimator_Ready_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_Ready_Call) Run(run func()) *EvmEstimator_Ready_Call
func (*EvmEstimator_Ready_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_Ready_Call) RunAndReturn(run func() error) *EvmEstimator_Ready_Call
type EvmEstimator_Start_Call ¶ added in v2.15.0
EvmEstimator_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*EvmEstimator_Start_Call) Return ¶ added in v2.15.0
func (_c *EvmEstimator_Start_Call) Return(_a0 error) *EvmEstimator_Start_Call
func (*EvmEstimator_Start_Call) Run ¶ added in v2.15.0
func (_c *EvmEstimator_Start_Call) Run(run func(_a0 context.Context)) *EvmEstimator_Start_Call
func (*EvmEstimator_Start_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmEstimator_Start_Call) RunAndReturn(run func(context.Context) error) *EvmEstimator_Start_Call
type EvmFeeEstimator ¶ added in v2.3.0
EvmFeeEstimator is an autogenerated mock type for the EvmFeeEstimator type
func NewEvmFeeEstimator ¶ added in v2.3.0
func NewEvmFeeEstimator(t interface { mock.TestingT Cleanup(func()) }) *EvmFeeEstimator
NewEvmFeeEstimator creates a new instance of EvmFeeEstimator. 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 (*EvmFeeEstimator) BumpFee ¶ added in v2.3.0
func (_m *EvmFeeEstimator) BumpFee(ctx context.Context, originalFee gas.EvmFee, feeLimit uint64, maxFeePrice *assets.Wei, attempts []gas.EvmPriorAttempt) (gas.EvmFee, uint64, error)
BumpFee provides a mock function with given fields: ctx, originalFee, feeLimit, maxFeePrice, attempts
func (*EvmFeeEstimator) Close ¶ added in v2.3.0
func (_m *EvmFeeEstimator) Close() error
Close provides a mock function with given fields:
func (*EvmFeeEstimator) EXPECT ¶ added in v2.15.0
func (_m *EvmFeeEstimator) EXPECT() *EvmFeeEstimator_Expecter
func (*EvmFeeEstimator) GetFee ¶ added in v2.3.0
func (_m *EvmFeeEstimator) GetFee(ctx context.Context, calldata []byte, feeLimit uint64, maxFeePrice *assets.Wei, opts ...types.Opt) (gas.EvmFee, uint64, error)
GetFee provides a mock function with given fields: ctx, calldata, feeLimit, maxFeePrice, opts
func (*EvmFeeEstimator) GetMaxCost ¶ added in v2.4.0
func (_m *EvmFeeEstimator) GetMaxCost(ctx context.Context, amount assets.Eth, calldata []byte, feeLimit uint64, maxFeePrice *assets.Wei, opts ...types.Opt) (*big.Int, error)
GetMaxCost provides a mock function with given fields: ctx, amount, calldata, feeLimit, maxFeePrice, opts
func (*EvmFeeEstimator) HealthReport ¶ added in v2.3.0
func (_m *EvmFeeEstimator) HealthReport() map[string]error
HealthReport provides a mock function with given fields:
func (*EvmFeeEstimator) L1Oracle ¶ added in v2.6.0
func (_m *EvmFeeEstimator) L1Oracle() rollups.L1Oracle
L1Oracle provides a mock function with given fields:
func (*EvmFeeEstimator) Name ¶ added in v2.3.0
func (_m *EvmFeeEstimator) Name() string
Name provides a mock function with given fields:
func (*EvmFeeEstimator) OnNewLongestChain ¶ added in v2.3.0
func (_m *EvmFeeEstimator) OnNewLongestChain(ctx context.Context, head *evmtypes.Head)
OnNewLongestChain provides a mock function with given fields: ctx, head
func (*EvmFeeEstimator) Ready ¶ added in v2.3.0
func (_m *EvmFeeEstimator) Ready() error
Ready provides a mock function with given fields:
type EvmFeeEstimator_BumpFee_Call ¶ added in v2.15.0
EvmFeeEstimator_BumpFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpFee'
func (*EvmFeeEstimator_BumpFee_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_BumpFee_Call) Return(bumpedFee gas.EvmFee, chainSpecificFeeLimit uint64, err error) *EvmFeeEstimator_BumpFee_Call
func (*EvmFeeEstimator_BumpFee_Call) Run ¶ added in v2.15.0
func (_c *EvmFeeEstimator_BumpFee_Call) Run(run func(ctx context.Context, originalFee gas.EvmFee, feeLimit uint64, maxFeePrice *assets.Wei, attempts []gas.EvmPriorAttempt)) *EvmFeeEstimator_BumpFee_Call
func (*EvmFeeEstimator_BumpFee_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmFeeEstimator_BumpFee_Call) RunAndReturn(run func(context.Context, gas.EvmFee, uint64, *assets.Wei, []gas.EvmPriorAttempt) (gas.EvmFee, uint64, error)) *EvmFeeEstimator_BumpFee_Call
type EvmFeeEstimator_Close_Call ¶ added in v2.15.0
EvmFeeEstimator_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*EvmFeeEstimator_Close_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Close_Call) Return(_a0 error) *EvmFeeEstimator_Close_Call
func (*EvmFeeEstimator_Close_Call) Run ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Close_Call) Run(run func()) *EvmFeeEstimator_Close_Call
func (*EvmFeeEstimator_Close_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Close_Call) RunAndReturn(run func() error) *EvmFeeEstimator_Close_Call
type EvmFeeEstimator_Expecter ¶ added in v2.15.0
type EvmFeeEstimator_Expecter struct {
// contains filtered or unexported fields
}
func (*EvmFeeEstimator_Expecter) BumpFee ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) BumpFee(ctx interface{}, originalFee interface{}, feeLimit interface{}, maxFeePrice interface{}, attempts interface{}) *EvmFeeEstimator_BumpFee_Call
BumpFee is a helper method to define mock.On call
- ctx context.Context
- originalFee gas.EvmFee
- feeLimit uint64
- maxFeePrice *assets.Wei
- attempts []gas.EvmPriorAttempt
func (*EvmFeeEstimator_Expecter) Close ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) Close() *EvmFeeEstimator_Close_Call
Close is a helper method to define mock.On call
func (*EvmFeeEstimator_Expecter) GetFee ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) GetFee(ctx interface{}, calldata interface{}, feeLimit interface{}, maxFeePrice interface{}, opts ...interface{}) *EvmFeeEstimator_GetFee_Call
GetFee is a helper method to define mock.On call
- ctx context.Context
- calldata []byte
- feeLimit uint64
- maxFeePrice *assets.Wei
- opts ...types.Opt
func (*EvmFeeEstimator_Expecter) GetMaxCost ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) GetMaxCost(ctx interface{}, amount interface{}, calldata interface{}, feeLimit interface{}, maxFeePrice interface{}, opts ...interface{}) *EvmFeeEstimator_GetMaxCost_Call
GetMaxCost is a helper method to define mock.On call
- ctx context.Context
- amount assets.Eth
- calldata []byte
- feeLimit uint64
- maxFeePrice *assets.Wei
- opts ...types.Opt
func (*EvmFeeEstimator_Expecter) HealthReport ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) HealthReport() *EvmFeeEstimator_HealthReport_Call
HealthReport is a helper method to define mock.On call
func (*EvmFeeEstimator_Expecter) L1Oracle ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) L1Oracle() *EvmFeeEstimator_L1Oracle_Call
L1Oracle is a helper method to define mock.On call
func (*EvmFeeEstimator_Expecter) Name ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) Name() *EvmFeeEstimator_Name_Call
Name is a helper method to define mock.On call
func (*EvmFeeEstimator_Expecter) OnNewLongestChain ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) OnNewLongestChain(ctx interface{}, head interface{}) *EvmFeeEstimator_OnNewLongestChain_Call
OnNewLongestChain is a helper method to define mock.On call
- ctx context.Context
- head *evmtypes.Head
func (*EvmFeeEstimator_Expecter) Ready ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) Ready() *EvmFeeEstimator_Ready_Call
Ready is a helper method to define mock.On call
func (*EvmFeeEstimator_Expecter) Start ¶ added in v2.15.0
func (_e *EvmFeeEstimator_Expecter) Start(_a0 interface{}) *EvmFeeEstimator_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
type EvmFeeEstimator_GetFee_Call ¶ added in v2.15.0
EvmFeeEstimator_GetFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFee'
func (*EvmFeeEstimator_GetFee_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_GetFee_Call) Return(fee gas.EvmFee, chainSpecificFeeLimit uint64, err error) *EvmFeeEstimator_GetFee_Call
type EvmFeeEstimator_GetMaxCost_Call ¶ added in v2.15.0
EvmFeeEstimator_GetMaxCost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMaxCost'
func (*EvmFeeEstimator_GetMaxCost_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_GetMaxCost_Call) Return(_a0 *big.Int, _a1 error) *EvmFeeEstimator_GetMaxCost_Call
type EvmFeeEstimator_HealthReport_Call ¶ added in v2.15.0
EvmFeeEstimator_HealthReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthReport'
func (*EvmFeeEstimator_HealthReport_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_HealthReport_Call) Return(_a0 map[string]error) *EvmFeeEstimator_HealthReport_Call
func (*EvmFeeEstimator_HealthReport_Call) Run ¶ added in v2.15.0
func (_c *EvmFeeEstimator_HealthReport_Call) Run(run func()) *EvmFeeEstimator_HealthReport_Call
func (*EvmFeeEstimator_HealthReport_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmFeeEstimator_HealthReport_Call) RunAndReturn(run func() map[string]error) *EvmFeeEstimator_HealthReport_Call
type EvmFeeEstimator_L1Oracle_Call ¶ added in v2.15.0
EvmFeeEstimator_L1Oracle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'L1Oracle'
func (*EvmFeeEstimator_L1Oracle_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_L1Oracle_Call) Return(_a0 rollups.L1Oracle) *EvmFeeEstimator_L1Oracle_Call
func (*EvmFeeEstimator_L1Oracle_Call) Run ¶ added in v2.15.0
func (_c *EvmFeeEstimator_L1Oracle_Call) Run(run func()) *EvmFeeEstimator_L1Oracle_Call
func (*EvmFeeEstimator_L1Oracle_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmFeeEstimator_L1Oracle_Call) RunAndReturn(run func() rollups.L1Oracle) *EvmFeeEstimator_L1Oracle_Call
type EvmFeeEstimator_Name_Call ¶ added in v2.15.0
EvmFeeEstimator_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*EvmFeeEstimator_Name_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Name_Call) Return(_a0 string) *EvmFeeEstimator_Name_Call
func (*EvmFeeEstimator_Name_Call) Run ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Name_Call) Run(run func()) *EvmFeeEstimator_Name_Call
func (*EvmFeeEstimator_Name_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Name_Call) RunAndReturn(run func() string) *EvmFeeEstimator_Name_Call
type EvmFeeEstimator_OnNewLongestChain_Call ¶ added in v2.15.0
EvmFeeEstimator_OnNewLongestChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnNewLongestChain'
func (*EvmFeeEstimator_OnNewLongestChain_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_OnNewLongestChain_Call) Return() *EvmFeeEstimator_OnNewLongestChain_Call
func (*EvmFeeEstimator_OnNewLongestChain_Call) Run ¶ added in v2.15.0
func (_c *EvmFeeEstimator_OnNewLongestChain_Call) Run(run func(ctx context.Context, head *evmtypes.Head)) *EvmFeeEstimator_OnNewLongestChain_Call
func (*EvmFeeEstimator_OnNewLongestChain_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmFeeEstimator_OnNewLongestChain_Call) RunAndReturn(run func(context.Context, *evmtypes.Head)) *EvmFeeEstimator_OnNewLongestChain_Call
type EvmFeeEstimator_Ready_Call ¶ added in v2.15.0
EvmFeeEstimator_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'
func (*EvmFeeEstimator_Ready_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Ready_Call) Return(_a0 error) *EvmFeeEstimator_Ready_Call
func (*EvmFeeEstimator_Ready_Call) Run ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Ready_Call) Run(run func()) *EvmFeeEstimator_Ready_Call
func (*EvmFeeEstimator_Ready_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Ready_Call) RunAndReturn(run func() error) *EvmFeeEstimator_Ready_Call
type EvmFeeEstimator_Start_Call ¶ added in v2.15.0
EvmFeeEstimator_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*EvmFeeEstimator_Start_Call) Return ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Start_Call) Return(_a0 error) *EvmFeeEstimator_Start_Call
func (*EvmFeeEstimator_Start_Call) Run ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Start_Call) Run(run func(_a0 context.Context)) *EvmFeeEstimator_Start_Call
func (*EvmFeeEstimator_Start_Call) RunAndReturn ¶ added in v2.15.0
func (_c *EvmFeeEstimator_Start_Call) RunAndReturn(run func(context.Context) error) *EvmFeeEstimator_Start_Call
type FeeEstimatorClient ¶ added in v2.12.0
FeeEstimatorClient is an autogenerated mock type for the feeEstimatorClient type
func NewFeeEstimatorClient ¶ added in v2.12.0
func NewFeeEstimatorClient(t interface { mock.TestingT Cleanup(func()) }) *FeeEstimatorClient
NewFeeEstimatorClient creates a new instance of FeeEstimatorClient. 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 (*FeeEstimatorClient) BatchCallContext ¶ added in v2.12.0
BatchCallContext provides a mock function with given fields: ctx, b
func (*FeeEstimatorClient) CallContext ¶ added in v2.12.0
func (_m *FeeEstimatorClient) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error
CallContext provides a mock function with given fields: ctx, result, method, args
func (*FeeEstimatorClient) CallContract ¶ added in v2.12.0
func (_m *FeeEstimatorClient) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
CallContract provides a mock function with given fields: ctx, msg, blockNumber
func (*FeeEstimatorClient) ConfiguredChainID ¶ added in v2.12.0
func (_m *FeeEstimatorClient) ConfiguredChainID() *big.Int
ConfiguredChainID provides a mock function with given fields:
func (*FeeEstimatorClient) EXPECT ¶ added in v2.15.0
func (_m *FeeEstimatorClient) EXPECT() *FeeEstimatorClient_Expecter
func (*FeeEstimatorClient) HeadByNumber ¶ added in v2.12.0
HeadByNumber provides a mock function with given fields: ctx, n
type FeeEstimatorClient_BatchCallContext_Call ¶ added in v2.15.0
FeeEstimatorClient_BatchCallContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchCallContext'
func (*FeeEstimatorClient_BatchCallContext_Call) Return ¶ added in v2.15.0
func (_c *FeeEstimatorClient_BatchCallContext_Call) Return(_a0 error) *FeeEstimatorClient_BatchCallContext_Call
func (*FeeEstimatorClient_BatchCallContext_Call) Run ¶ added in v2.15.0
func (_c *FeeEstimatorClient_BatchCallContext_Call) Run(run func(ctx context.Context, b []rpc.BatchElem)) *FeeEstimatorClient_BatchCallContext_Call
func (*FeeEstimatorClient_BatchCallContext_Call) RunAndReturn ¶ added in v2.15.0
func (_c *FeeEstimatorClient_BatchCallContext_Call) RunAndReturn(run func(context.Context, []rpc.BatchElem) error) *FeeEstimatorClient_BatchCallContext_Call
type FeeEstimatorClient_CallContext_Call ¶ added in v2.15.0
FeeEstimatorClient_CallContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CallContext'
func (*FeeEstimatorClient_CallContext_Call) Return ¶ added in v2.15.0
func (_c *FeeEstimatorClient_CallContext_Call) Return(_a0 error) *FeeEstimatorClient_CallContext_Call
func (*FeeEstimatorClient_CallContext_Call) Run ¶ added in v2.15.0
func (_c *FeeEstimatorClient_CallContext_Call) Run(run func(ctx context.Context, result interface{}, method string, args ...interface{})) *FeeEstimatorClient_CallContext_Call
func (*FeeEstimatorClient_CallContext_Call) RunAndReturn ¶ added in v2.15.0
func (_c *FeeEstimatorClient_CallContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *FeeEstimatorClient_CallContext_Call
type FeeEstimatorClient_CallContract_Call ¶ added in v2.15.0
FeeEstimatorClient_CallContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CallContract'
func (*FeeEstimatorClient_CallContract_Call) Return ¶ added in v2.15.0
func (_c *FeeEstimatorClient_CallContract_Call) Return(_a0 []byte, _a1 error) *FeeEstimatorClient_CallContract_Call
func (*FeeEstimatorClient_CallContract_Call) Run ¶ added in v2.15.0
func (_c *FeeEstimatorClient_CallContract_Call) Run(run func(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int)) *FeeEstimatorClient_CallContract_Call
func (*FeeEstimatorClient_CallContract_Call) RunAndReturn ¶ added in v2.15.0
func (_c *FeeEstimatorClient_CallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg, *big.Int) ([]byte, error)) *FeeEstimatorClient_CallContract_Call
type FeeEstimatorClient_ConfiguredChainID_Call ¶ added in v2.15.0
FeeEstimatorClient_ConfiguredChainID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfiguredChainID'
func (*FeeEstimatorClient_ConfiguredChainID_Call) Return ¶ added in v2.15.0
func (_c *FeeEstimatorClient_ConfiguredChainID_Call) Return(_a0 *big.Int) *FeeEstimatorClient_ConfiguredChainID_Call
func (*FeeEstimatorClient_ConfiguredChainID_Call) Run ¶ added in v2.15.0
func (_c *FeeEstimatorClient_ConfiguredChainID_Call) Run(run func()) *FeeEstimatorClient_ConfiguredChainID_Call
func (*FeeEstimatorClient_ConfiguredChainID_Call) RunAndReturn ¶ added in v2.15.0
func (_c *FeeEstimatorClient_ConfiguredChainID_Call) RunAndReturn(run func() *big.Int) *FeeEstimatorClient_ConfiguredChainID_Call
type FeeEstimatorClient_Expecter ¶ added in v2.15.0
type FeeEstimatorClient_Expecter struct {
// contains filtered or unexported fields
}
func (*FeeEstimatorClient_Expecter) BatchCallContext ¶ added in v2.15.0
func (_e *FeeEstimatorClient_Expecter) BatchCallContext(ctx interface{}, b interface{}) *FeeEstimatorClient_BatchCallContext_Call
BatchCallContext is a helper method to define mock.On call
- ctx context.Context
- b []rpc.BatchElem
func (*FeeEstimatorClient_Expecter) CallContext ¶ added in v2.15.0
func (_e *FeeEstimatorClient_Expecter) CallContext(ctx interface{}, result interface{}, method interface{}, args ...interface{}) *FeeEstimatorClient_CallContext_Call
CallContext is a helper method to define mock.On call
- ctx context.Context
- result interface{}
- method string
- args ...interface{}
func (*FeeEstimatorClient_Expecter) CallContract ¶ added in v2.15.0
func (_e *FeeEstimatorClient_Expecter) CallContract(ctx interface{}, msg interface{}, blockNumber interface{}) *FeeEstimatorClient_CallContract_Call
CallContract is a helper method to define mock.On call
- ctx context.Context
- msg ethereum.CallMsg
- blockNumber *big.Int
func (*FeeEstimatorClient_Expecter) ConfiguredChainID ¶ added in v2.15.0
func (_e *FeeEstimatorClient_Expecter) ConfiguredChainID() *FeeEstimatorClient_ConfiguredChainID_Call
ConfiguredChainID is a helper method to define mock.On call
func (*FeeEstimatorClient_Expecter) HeadByNumber ¶ added in v2.15.0
func (_e *FeeEstimatorClient_Expecter) HeadByNumber(ctx interface{}, n interface{}) *FeeEstimatorClient_HeadByNumber_Call
HeadByNumber is a helper method to define mock.On call
- ctx context.Context
- n *big.Int
type FeeEstimatorClient_HeadByNumber_Call ¶ added in v2.15.0
FeeEstimatorClient_HeadByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadByNumber'
func (*FeeEstimatorClient_HeadByNumber_Call) Return ¶ added in v2.15.0
func (_c *FeeEstimatorClient_HeadByNumber_Call) Return(_a0 *types.Head, _a1 error) *FeeEstimatorClient_HeadByNumber_Call
func (*FeeEstimatorClient_HeadByNumber_Call) Run ¶ added in v2.15.0
func (_c *FeeEstimatorClient_HeadByNumber_Call) Run(run func(ctx context.Context, n *big.Int)) *FeeEstimatorClient_HeadByNumber_Call
func (*FeeEstimatorClient_HeadByNumber_Call) RunAndReturn ¶ added in v2.15.0
func (_c *FeeEstimatorClient_HeadByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Head, error)) *FeeEstimatorClient_HeadByNumber_Call