mocks

package
v2.12.1-starknet-06212024 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 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:

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) 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:

Jump to

Keyboard shortcuts

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