mocks

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	mock.Mock
}

Config is an autogenerated mock type for the Config type

func (*Config) BlockHistoryEstimatorBatchSize

func (_m *Config) BlockHistoryEstimatorBatchSize() uint32

BlockHistoryEstimatorBatchSize provides a mock function with given fields:

func (*Config) BlockHistoryEstimatorBlockDelay

func (_m *Config) BlockHistoryEstimatorBlockDelay() uint16

BlockHistoryEstimatorBlockDelay provides a mock function with given fields:

func (*Config) BlockHistoryEstimatorBlockHistorySize

func (_m *Config) BlockHistoryEstimatorBlockHistorySize() uint16

BlockHistoryEstimatorBlockHistorySize provides a mock function with given fields:

func (*Config) BlockHistoryEstimatorTransactionPercentile

func (_m *Config) BlockHistoryEstimatorTransactionPercentile() uint16

BlockHistoryEstimatorTransactionPercentile provides a mock function with given fields:

func (*Config) ChainID

func (_m *Config) ChainID() *big.Int

ChainID provides a mock function with given fields:

func (*Config) EvmFinalityDepth added in v1.0.0

func (_m *Config) EvmFinalityDepth() uint

EvmFinalityDepth provides a mock function with given fields:

func (*Config) EvmGasBumpPercent added in v1.0.0

func (_m *Config) EvmGasBumpPercent() uint16

EvmGasBumpPercent provides a mock function with given fields:

func (*Config) EvmGasBumpWei added in v1.0.0

func (_m *Config) EvmGasBumpWei() *big.Int

EvmGasBumpWei provides a mock function with given fields:

func (*Config) EvmGasLimitMultiplier added in v1.0.0

func (_m *Config) EvmGasLimitMultiplier() float32

EvmGasLimitMultiplier provides a mock function with given fields:

func (*Config) EvmGasPriceDefault added in v1.0.0

func (_m *Config) EvmGasPriceDefault() *big.Int

EvmGasPriceDefault provides a mock function with given fields:

func (*Config) EvmMaxGasPriceWei added in v1.0.0

func (_m *Config) EvmMaxGasPriceWei() *big.Int

EvmMaxGasPriceWei provides a mock function with given fields:

func (*Config) EvmMinGasPriceWei added in v1.0.0

func (_m *Config) EvmMinGasPriceWei() *big.Int

EvmMinGasPriceWei provides a mock function with given fields:

func (*Config) GasEstimatorMode

func (_m *Config) GasEstimatorMode() string

GasEstimatorMode provides a mock function with given fields:

type Estimator

type Estimator struct {
	mock.Mock
}

Estimator is an autogenerated mock type for the Estimator type

func (*Estimator) BumpGas

func (_m *Estimator) BumpGas(originalGasPrice *big.Int, gasLimit uint64) (*big.Int, uint64, error)

BumpGas provides a mock function with given fields: originalGasPrice, gasLimit

func (*Estimator) Close

func (_m *Estimator) Close() error

Close provides a mock function with given fields:

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

func (_m *Estimator) OnNewLongestChain(_a0 context.Context, _a1 models.Head)

OnNewLongestChain provides a mock function with given fields: _a0, _a1

func (*Estimator) Start

func (_m *Estimator) Start() error

Start provides a mock function with given fields:

type OptimismRPCClient

type OptimismRPCClient struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL