mocks

package
v2.15.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainScopedConfig

type ChainScopedConfig struct {
	mock.Mock
}

ChainScopedConfig is an autogenerated mock type for the ChainScopedConfig type

func NewChainScopedConfig

func NewChainScopedConfig(t interface {
	mock.TestingT
	Cleanup(func())
}) *ChainScopedConfig

NewChainScopedConfig creates a new instance of ChainScopedConfig. 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 (*ChainScopedConfig) EVM added in v2.3.0

func (_m *ChainScopedConfig) EVM() config.EVM

EVM provides a mock function with given fields:

func (*ChainScopedConfig) EXPECT added in v2.15.0

type ChainScopedConfig_EVM_Call added in v2.15.0

type ChainScopedConfig_EVM_Call struct {
	*mock.Call
}

ChainScopedConfig_EVM_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVM'

func (*ChainScopedConfig_EVM_Call) Return added in v2.15.0

func (*ChainScopedConfig_EVM_Call) Run added in v2.15.0

func (*ChainScopedConfig_EVM_Call) RunAndReturn added in v2.15.0

func (_c *ChainScopedConfig_EVM_Call) RunAndReturn(run func() config.EVM) *ChainScopedConfig_EVM_Call

type ChainScopedConfig_Expecter added in v2.15.0

type ChainScopedConfig_Expecter struct {
	// contains filtered or unexported fields
}

func (*ChainScopedConfig_Expecter) EVM added in v2.15.0

EVM is a helper method to define mock.On call

type GasEstimator added in v2.4.0

type GasEstimator struct {
	mock.Mock
}

GasEstimator is an autogenerated mock type for the GasEstimator type

func NewGasEstimator added in v2.4.0

func NewGasEstimator(t interface {
	mock.TestingT
	Cleanup(func())
}) *GasEstimator

NewGasEstimator creates a new instance of GasEstimator. 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 (*GasEstimator) BlockHistory added in v2.4.0

func (_m *GasEstimator) BlockHistory() config.BlockHistory

BlockHistory provides a mock function with given fields:

func (*GasEstimator) BumpMin added in v2.4.0

func (_m *GasEstimator) BumpMin() *assets.Wei

BumpMin provides a mock function with given fields:

func (*GasEstimator) BumpPercent added in v2.4.0

func (_m *GasEstimator) BumpPercent() uint16

BumpPercent provides a mock function with given fields:

func (*GasEstimator) BumpThreshold added in v2.4.0

func (_m *GasEstimator) BumpThreshold() uint64

BumpThreshold provides a mock function with given fields:

func (*GasEstimator) BumpTxDepth added in v2.4.0

func (_m *GasEstimator) BumpTxDepth() uint32

BumpTxDepth provides a mock function with given fields:

func (*GasEstimator) EIP1559DynamicFees added in v2.4.0

func (_m *GasEstimator) EIP1559DynamicFees() bool

EIP1559DynamicFees provides a mock function with given fields:

func (*GasEstimator) EXPECT added in v2.15.0

func (_m *GasEstimator) EXPECT() *GasEstimator_Expecter

func (*GasEstimator) FeeCapDefault added in v2.4.0

func (_m *GasEstimator) FeeCapDefault() *assets.Wei

FeeCapDefault provides a mock function with given fields:

func (*GasEstimator) LimitDefault added in v2.4.0

func (_m *GasEstimator) LimitDefault() uint64

LimitDefault provides a mock function with given fields:

func (*GasEstimator) LimitJobType added in v2.4.0

func (_m *GasEstimator) LimitJobType() config.LimitJobType

LimitJobType provides a mock function with given fields:

func (*GasEstimator) LimitMax added in v2.4.0

func (_m *GasEstimator) LimitMax() uint64

LimitMax provides a mock function with given fields:

func (*GasEstimator) LimitMultiplier added in v2.4.0

func (_m *GasEstimator) LimitMultiplier() float32

LimitMultiplier provides a mock function with given fields:

func (*GasEstimator) LimitTransfer added in v2.4.0

func (_m *GasEstimator) LimitTransfer() uint64

LimitTransfer provides a mock function with given fields:

func (*GasEstimator) Mode added in v2.4.0

func (_m *GasEstimator) Mode() string

Mode provides a mock function with given fields:

func (*GasEstimator) PriceDefault added in v2.4.0

func (_m *GasEstimator) PriceDefault() *assets.Wei

PriceDefault provides a mock function with given fields:

func (*GasEstimator) PriceMax added in v2.4.0

func (_m *GasEstimator) PriceMax() *assets.Wei

PriceMax provides a mock function with given fields:

func (*GasEstimator) PriceMaxKey added in v2.4.0

func (_m *GasEstimator) PriceMaxKey(_a0 common.Address) *assets.Wei

PriceMaxKey provides a mock function with given fields: _a0

func (*GasEstimator) PriceMin added in v2.4.0

func (_m *GasEstimator) PriceMin() *assets.Wei

PriceMin provides a mock function with given fields:

func (*GasEstimator) TipCapDefault added in v2.4.0

func (_m *GasEstimator) TipCapDefault() *assets.Wei

TipCapDefault provides a mock function with given fields:

func (*GasEstimator) TipCapMin added in v2.4.0

func (_m *GasEstimator) TipCapMin() *assets.Wei

TipCapMin provides a mock function with given fields:

type GasEstimator_BlockHistory_Call added in v2.15.0

type GasEstimator_BlockHistory_Call struct {
	*mock.Call
}

GasEstimator_BlockHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockHistory'

func (*GasEstimator_BlockHistory_Call) Return added in v2.15.0

func (*GasEstimator_BlockHistory_Call) Run added in v2.15.0

func (*GasEstimator_BlockHistory_Call) RunAndReturn added in v2.15.0

type GasEstimator_BumpMin_Call added in v2.15.0

type GasEstimator_BumpMin_Call struct {
	*mock.Call
}

GasEstimator_BumpMin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpMin'

func (*GasEstimator_BumpMin_Call) Return added in v2.15.0

func (*GasEstimator_BumpMin_Call) Run added in v2.15.0

func (*GasEstimator_BumpMin_Call) RunAndReturn added in v2.15.0

func (_c *GasEstimator_BumpMin_Call) RunAndReturn(run func() *assets.Wei) *GasEstimator_BumpMin_Call

type GasEstimator_BumpPercent_Call added in v2.15.0

type GasEstimator_BumpPercent_Call struct {
	*mock.Call
}

GasEstimator_BumpPercent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpPercent'

func (*GasEstimator_BumpPercent_Call) Return added in v2.15.0

func (*GasEstimator_BumpPercent_Call) Run added in v2.15.0

func (*GasEstimator_BumpPercent_Call) RunAndReturn added in v2.15.0

type GasEstimator_BumpThreshold_Call added in v2.15.0

type GasEstimator_BumpThreshold_Call struct {
	*mock.Call
}

GasEstimator_BumpThreshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpThreshold'

func (*GasEstimator_BumpThreshold_Call) Return added in v2.15.0

func (*GasEstimator_BumpThreshold_Call) Run added in v2.15.0

func (*GasEstimator_BumpThreshold_Call) RunAndReturn added in v2.15.0

type GasEstimator_BumpTxDepth_Call added in v2.15.0

type GasEstimator_BumpTxDepth_Call struct {
	*mock.Call
}

GasEstimator_BumpTxDepth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BumpTxDepth'

func (*GasEstimator_BumpTxDepth_Call) Return added in v2.15.0

func (*GasEstimator_BumpTxDepth_Call) Run added in v2.15.0

func (*GasEstimator_BumpTxDepth_Call) RunAndReturn added in v2.15.0

type GasEstimator_EIP1559DynamicFees_Call added in v2.15.0

type GasEstimator_EIP1559DynamicFees_Call struct {
	*mock.Call
}

GasEstimator_EIP1559DynamicFees_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EIP1559DynamicFees'

func (*GasEstimator_EIP1559DynamicFees_Call) Return added in v2.15.0

func (*GasEstimator_EIP1559DynamicFees_Call) Run added in v2.15.0

func (*GasEstimator_EIP1559DynamicFees_Call) RunAndReturn added in v2.15.0

type GasEstimator_Expecter added in v2.15.0

type GasEstimator_Expecter struct {
	// contains filtered or unexported fields
}

func (*GasEstimator_Expecter) BlockHistory added in v2.15.0

BlockHistory is a helper method to define mock.On call

func (*GasEstimator_Expecter) BumpMin added in v2.15.0

BumpMin is a helper method to define mock.On call

func (*GasEstimator_Expecter) BumpPercent added in v2.15.0

BumpPercent is a helper method to define mock.On call

func (*GasEstimator_Expecter) BumpThreshold added in v2.15.0

BumpThreshold is a helper method to define mock.On call

func (*GasEstimator_Expecter) BumpTxDepth added in v2.15.0

BumpTxDepth is a helper method to define mock.On call

func (*GasEstimator_Expecter) EIP1559DynamicFees added in v2.15.0

EIP1559DynamicFees is a helper method to define mock.On call

func (*GasEstimator_Expecter) FeeCapDefault added in v2.15.0

FeeCapDefault is a helper method to define mock.On call

func (*GasEstimator_Expecter) LimitDefault added in v2.15.0

LimitDefault is a helper method to define mock.On call

func (*GasEstimator_Expecter) LimitJobType added in v2.15.0

LimitJobType is a helper method to define mock.On call

func (*GasEstimator_Expecter) LimitMax added in v2.15.0

LimitMax is a helper method to define mock.On call

func (*GasEstimator_Expecter) LimitMultiplier added in v2.15.0

LimitMultiplier is a helper method to define mock.On call

func (*GasEstimator_Expecter) LimitTransfer added in v2.15.0

LimitTransfer is a helper method to define mock.On call

func (*GasEstimator_Expecter) Mode added in v2.15.0

Mode is a helper method to define mock.On call

func (*GasEstimator_Expecter) PriceDefault added in v2.15.0

PriceDefault is a helper method to define mock.On call

func (*GasEstimator_Expecter) PriceMax added in v2.15.0

PriceMax is a helper method to define mock.On call

func (*GasEstimator_Expecter) PriceMaxKey added in v2.15.0

func (_e *GasEstimator_Expecter) PriceMaxKey(_a0 interface{}) *GasEstimator_PriceMaxKey_Call

PriceMaxKey is a helper method to define mock.On call

  • _a0 common.Address

func (*GasEstimator_Expecter) PriceMin added in v2.15.0

PriceMin is a helper method to define mock.On call

func (*GasEstimator_Expecter) TipCapDefault added in v2.15.0

TipCapDefault is a helper method to define mock.On call

func (*GasEstimator_Expecter) TipCapMin added in v2.15.0

TipCapMin is a helper method to define mock.On call

type GasEstimator_FeeCapDefault_Call added in v2.15.0

type GasEstimator_FeeCapDefault_Call struct {
	*mock.Call
}

GasEstimator_FeeCapDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FeeCapDefault'

func (*GasEstimator_FeeCapDefault_Call) Return added in v2.15.0

func (*GasEstimator_FeeCapDefault_Call) Run added in v2.15.0

func (*GasEstimator_FeeCapDefault_Call) RunAndReturn added in v2.15.0

type GasEstimator_LimitDefault_Call added in v2.15.0

type GasEstimator_LimitDefault_Call struct {
	*mock.Call
}

GasEstimator_LimitDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitDefault'

func (*GasEstimator_LimitDefault_Call) Return added in v2.15.0

func (*GasEstimator_LimitDefault_Call) Run added in v2.15.0

func (*GasEstimator_LimitDefault_Call) RunAndReturn added in v2.15.0

type GasEstimator_LimitJobType_Call added in v2.15.0

type GasEstimator_LimitJobType_Call struct {
	*mock.Call
}

GasEstimator_LimitJobType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitJobType'

func (*GasEstimator_LimitJobType_Call) Return added in v2.15.0

func (*GasEstimator_LimitJobType_Call) Run added in v2.15.0

func (*GasEstimator_LimitJobType_Call) RunAndReturn added in v2.15.0

type GasEstimator_LimitMax_Call added in v2.15.0

type GasEstimator_LimitMax_Call struct {
	*mock.Call
}

GasEstimator_LimitMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitMax'

func (*GasEstimator_LimitMax_Call) Return added in v2.15.0

func (*GasEstimator_LimitMax_Call) Run added in v2.15.0

func (*GasEstimator_LimitMax_Call) RunAndReturn added in v2.15.0

func (_c *GasEstimator_LimitMax_Call) RunAndReturn(run func() uint64) *GasEstimator_LimitMax_Call

type GasEstimator_LimitMultiplier_Call added in v2.15.0

type GasEstimator_LimitMultiplier_Call struct {
	*mock.Call
}

GasEstimator_LimitMultiplier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitMultiplier'

func (*GasEstimator_LimitMultiplier_Call) Return added in v2.15.0

func (*GasEstimator_LimitMultiplier_Call) Run added in v2.15.0

func (*GasEstimator_LimitMultiplier_Call) RunAndReturn added in v2.15.0

type GasEstimator_LimitTransfer_Call added in v2.15.0

type GasEstimator_LimitTransfer_Call struct {
	*mock.Call
}

GasEstimator_LimitTransfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitTransfer'

func (*GasEstimator_LimitTransfer_Call) Return added in v2.15.0

func (*GasEstimator_LimitTransfer_Call) Run added in v2.15.0

func (*GasEstimator_LimitTransfer_Call) RunAndReturn added in v2.15.0

type GasEstimator_Mode_Call added in v2.15.0

type GasEstimator_Mode_Call struct {
	*mock.Call
}

GasEstimator_Mode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Mode'

func (*GasEstimator_Mode_Call) Return added in v2.15.0

func (*GasEstimator_Mode_Call) Run added in v2.15.0

func (_c *GasEstimator_Mode_Call) Run(run func()) *GasEstimator_Mode_Call

func (*GasEstimator_Mode_Call) RunAndReturn added in v2.15.0

func (_c *GasEstimator_Mode_Call) RunAndReturn(run func() string) *GasEstimator_Mode_Call

type GasEstimator_PriceDefault_Call added in v2.15.0

type GasEstimator_PriceDefault_Call struct {
	*mock.Call
}

GasEstimator_PriceDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PriceDefault'

func (*GasEstimator_PriceDefault_Call) Return added in v2.15.0

func (*GasEstimator_PriceDefault_Call) Run added in v2.15.0

func (*GasEstimator_PriceDefault_Call) RunAndReturn added in v2.15.0

type GasEstimator_PriceMaxKey_Call added in v2.15.0

type GasEstimator_PriceMaxKey_Call struct {
	*mock.Call
}

GasEstimator_PriceMaxKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PriceMaxKey'

func (*GasEstimator_PriceMaxKey_Call) Return added in v2.15.0

func (*GasEstimator_PriceMaxKey_Call) Run added in v2.15.0

func (*GasEstimator_PriceMaxKey_Call) RunAndReturn added in v2.15.0

type GasEstimator_PriceMax_Call added in v2.15.0

type GasEstimator_PriceMax_Call struct {
	*mock.Call
}

GasEstimator_PriceMax_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PriceMax'

func (*GasEstimator_PriceMax_Call) Return added in v2.15.0

func (*GasEstimator_PriceMax_Call) Run added in v2.15.0

func (*GasEstimator_PriceMax_Call) RunAndReturn added in v2.15.0

func (_c *GasEstimator_PriceMax_Call) RunAndReturn(run func() *assets.Wei) *GasEstimator_PriceMax_Call

type GasEstimator_PriceMin_Call added in v2.15.0

type GasEstimator_PriceMin_Call struct {
	*mock.Call
}

GasEstimator_PriceMin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PriceMin'

func (*GasEstimator_PriceMin_Call) Return added in v2.15.0

func (*GasEstimator_PriceMin_Call) Run added in v2.15.0

func (*GasEstimator_PriceMin_Call) RunAndReturn added in v2.15.0

func (_c *GasEstimator_PriceMin_Call) RunAndReturn(run func() *assets.Wei) *GasEstimator_PriceMin_Call

type GasEstimator_TipCapDefault_Call added in v2.15.0

type GasEstimator_TipCapDefault_Call struct {
	*mock.Call
}

GasEstimator_TipCapDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TipCapDefault'

func (*GasEstimator_TipCapDefault_Call) Return added in v2.15.0

func (*GasEstimator_TipCapDefault_Call) Run added in v2.15.0

func (*GasEstimator_TipCapDefault_Call) RunAndReturn added in v2.15.0

type GasEstimator_TipCapMin_Call added in v2.15.0

type GasEstimator_TipCapMin_Call struct {
	*mock.Call
}

GasEstimator_TipCapMin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TipCapMin'

func (*GasEstimator_TipCapMin_Call) Return added in v2.15.0

func (*GasEstimator_TipCapMin_Call) Run added in v2.15.0

func (*GasEstimator_TipCapMin_Call) RunAndReturn added in v2.15.0

func (_c *GasEstimator_TipCapMin_Call) RunAndReturn(run func() *assets.Wei) *GasEstimator_TipCapMin_Call

Jump to

Keyboard shortcuts

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