Documentation ¶
Index ¶
- type Config
- func (_m *Config) BlockHistoryEstimatorBatchSize() uint32
- func (_m *Config) BlockHistoryEstimatorBlockDelay() uint16
- func (_m *Config) BlockHistoryEstimatorBlockHistorySize() uint16
- func (_m *Config) BlockHistoryEstimatorTransactionPercentile() uint16
- func (_m *Config) ChainID() *big.Int
- func (_m *Config) EthFinalityDepth() uint
- func (_m *Config) EthGasBumpPercent() uint16
- func (_m *Config) EthGasBumpWei() *big.Int
- func (_m *Config) EthGasLimitMultiplier() float32
- func (_m *Config) EthGasPriceDefault() *big.Int
- func (_m *Config) EthMaxGasPriceWei() *big.Int
- func (_m *Config) EthMinGasPriceWei() *big.Int
- func (_m *Config) GasEstimatorMode() string
- type Estimator
- func (_m *Estimator) BumpGas(originalGasPrice *big.Int, gasLimit uint64) (*big.Int, uint64, error)
- func (_m *Estimator) Close() error
- func (_m *Estimator) EstimateGas(calldata []byte, gasLimit uint64, opts ...gas.Opt) (*big.Int, uint64, error)
- func (_m *Estimator) OnNewLongestChain(_a0 context.Context, _a1 models.Head)
- func (_m *Estimator) Start() error
- type OptimismRPCClient
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 (*Config) BlockHistoryEstimatorBatchSize ¶
BlockHistoryEstimatorBatchSize provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorBlockDelay ¶
BlockHistoryEstimatorBlockDelay provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorBlockHistorySize ¶
BlockHistoryEstimatorBlockHistorySize provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorTransactionPercentile ¶
BlockHistoryEstimatorTransactionPercentile provides a mock function with given fields:
func (*Config) EthFinalityDepth ¶
EthFinalityDepth provides a mock function with given fields:
func (*Config) EthGasBumpPercent ¶
EthGasBumpPercent provides a mock function with given fields:
func (*Config) EthGasBumpWei ¶
EthGasBumpWei provides a mock function with given fields:
func (*Config) EthGasLimitMultiplier ¶
EthGasLimitMultiplier provides a mock function with given fields:
func (*Config) EthGasPriceDefault ¶
EthGasPriceDefault provides a mock function with given fields:
func (*Config) EthMaxGasPriceWei ¶
EthMaxGasPriceWei provides a mock function with given fields:
func (*Config) EthMinGasPriceWei ¶
EthMinGasPriceWei provides a mock function with given fields:
func (*Config) GasEstimatorMode ¶
GasEstimatorMode provides a mock function with given fields:
type Estimator ¶
Estimator is an autogenerated mock type for the Estimator type
func (*Estimator) BumpGas ¶
BumpGas provides a mock function with given fields: originalGasPrice, gasLimit
func (*Estimator) EstimateGas ¶
func (_m *Estimator) EstimateGas(calldata []byte, gasLimit uint64, opts ...gas.Opt) (*big.Int, uint64, error)
EstimateGas provides a mock function with given fields: calldata, gasLimit, opts
func (*Estimator) OnNewLongestChain ¶
OnNewLongestChain provides a mock function with given fields: _a0, _a1
type OptimismRPCClient ¶
OptimismRPCClient is an autogenerated mock type for the optimismRPCClient type
func (*OptimismRPCClient) Call ¶
func (_m *OptimismRPCClient) Call(result interface{}, method string, args ...interface{}) error
Call provides a mock function with given fields: result, method, args