mocks

package
v0.0.0-...-3674750 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 8 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) AppID

func (_m *ChainScopedConfig) AppID() uuid.UUID

AppID provides a mock function with given fields:

func (*ChainScopedConfig) AuditLogger

func (_m *ChainScopedConfig) AuditLogger() coreconfig.AuditLogger

AuditLogger provides a mock function with given fields:

func (*ChainScopedConfig) AutoPprof

func (_m *ChainScopedConfig) AutoPprof() coreconfig.AutoPprof

AutoPprof provides a mock function with given fields:

func (*ChainScopedConfig) CosmosEnabled

func (_m *ChainScopedConfig) CosmosEnabled() bool

CosmosEnabled provides a mock function with given fields:

func (*ChainScopedConfig) Database

func (_m *ChainScopedConfig) Database() coreconfig.Database

Database provides a mock function with given fields:

func (*ChainScopedConfig) EVM

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

EVM provides a mock function with given fields:

func (*ChainScopedConfig) EVMEnabled

func (_m *ChainScopedConfig) EVMEnabled() bool

EVMEnabled provides a mock function with given fields:

func (*ChainScopedConfig) EVMRPCEnabled

func (_m *ChainScopedConfig) EVMRPCEnabled() bool

EVMRPCEnabled provides a mock function with given fields:

func (*ChainScopedConfig) Feature

func (_m *ChainScopedConfig) Feature() coreconfig.Feature

Feature provides a mock function with given fields:

func (*ChainScopedConfig) Insecure

func (_m *ChainScopedConfig) Insecure() coreconfig.Insecure

Insecure provides a mock function with given fields:

func (*ChainScopedConfig) InsecureFastScrypt

func (_m *ChainScopedConfig) InsecureFastScrypt() bool

InsecureFastScrypt provides a mock function with given fields:

func (*ChainScopedConfig) JobPipeline

func (_m *ChainScopedConfig) JobPipeline() coreconfig.JobPipeline

JobPipeline provides a mock function with given fields:

func (*ChainScopedConfig) Keeper

func (_m *ChainScopedConfig) Keeper() coreconfig.Keeper

Keeper provides a mock function with given fields:

func (*ChainScopedConfig) Log

func (_m *ChainScopedConfig) Log() coreconfig.Log

Log provides a mock function with given fields:

func (*ChainScopedConfig) LogConfiguration

func (_m *ChainScopedConfig) LogConfiguration(log coreconfig.LogfFn, warn coreconfig.LogfFn)

LogConfiguration provides a mock function with given fields: log, warn

func (*ChainScopedConfig) Password

func (_m *ChainScopedConfig) Password() coreconfig.Password

Password provides a mock function with given fields:

func (*ChainScopedConfig) Prometheus

func (_m *ChainScopedConfig) Prometheus() coreconfig.Prometheus

Prometheus provides a mock function with given fields:

func (*ChainScopedConfig) Pyroscope

func (_m *ChainScopedConfig) Pyroscope() coreconfig.Pyroscope

Pyroscope provides a mock function with given fields:

func (*ChainScopedConfig) RootDir

func (_m *ChainScopedConfig) RootDir() string

RootDir provides a mock function with given fields:

func (*ChainScopedConfig) Sentry

func (_m *ChainScopedConfig) Sentry() coreconfig.Sentry

Sentry provides a mock function with given fields:

func (*ChainScopedConfig) SetLogLevel

func (_m *ChainScopedConfig) SetLogLevel(lvl zapcore.Level) error

SetLogLevel provides a mock function with given fields: lvl

func (*ChainScopedConfig) SetLogSQL

func (_m *ChainScopedConfig) SetLogSQL(logSQL bool)

SetLogSQL provides a mock function with given fields: logSQL

func (*ChainScopedConfig) SetPasswords

func (_m *ChainScopedConfig) SetPasswords(keystore *string, vrf *string)

SetPasswords provides a mock function with given fields: keystore, vrf

func (*ChainScopedConfig) ShutdownGracePeriod

func (_m *ChainScopedConfig) ShutdownGracePeriod() time.Duration

ShutdownGracePeriod provides a mock function with given fields:

func (*ChainScopedConfig) SolanaEnabled

func (_m *ChainScopedConfig) SolanaEnabled() bool

SolanaEnabled provides a mock function with given fields:

func (*ChainScopedConfig) StarkNetEnabled

func (_m *ChainScopedConfig) StarkNetEnabled() bool

StarkNetEnabled provides a mock function with given fields:

func (*ChainScopedConfig) Threshold

func (_m *ChainScopedConfig) Threshold() coreconfig.Threshold

Threshold provides a mock function with given fields:

func (*ChainScopedConfig) Tracing

func (_m *ChainScopedConfig) Tracing() coreconfig.Tracing

Tracing provides a mock function with given fields:

func (*ChainScopedConfig) Validate

func (_m *ChainScopedConfig) Validate() error

Validate provides a mock function with given fields:

func (*ChainScopedConfig) ValidateDB

func (_m *ChainScopedConfig) ValidateDB() error

ValidateDB provides a mock function with given fields:

func (*ChainScopedConfig) WebServer

func (_m *ChainScopedConfig) WebServer() coreconfig.WebServer

WebServer provides a mock function with given fields:

type GasEstimator

type GasEstimator struct {
	mock.Mock
}

GasEstimator is an autogenerated mock type for the GasEstimator type

func NewGasEstimator

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

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

BlockHistory provides a mock function with given fields:

func (*GasEstimator) BumpMin

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

BumpMin provides a mock function with given fields:

func (*GasEstimator) BumpPercent

func (_m *GasEstimator) BumpPercent() uint16

BumpPercent provides a mock function with given fields:

func (*GasEstimator) BumpThreshold

func (_m *GasEstimator) BumpThreshold() uint64

BumpThreshold provides a mock function with given fields:

func (*GasEstimator) BumpTxDepth

func (_m *GasEstimator) BumpTxDepth() uint32

BumpTxDepth provides a mock function with given fields:

func (*GasEstimator) EIP1559DynamicFees

func (_m *GasEstimator) EIP1559DynamicFees() bool

EIP1559DynamicFees provides a mock function with given fields:

func (*GasEstimator) FeeCapDefault

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

FeeCapDefault provides a mock function with given fields:

func (*GasEstimator) LimitDefault

func (_m *GasEstimator) LimitDefault() uint32

LimitDefault provides a mock function with given fields:

func (*GasEstimator) LimitJobType

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

LimitJobType provides a mock function with given fields:

func (*GasEstimator) LimitMax

func (_m *GasEstimator) LimitMax() uint32

LimitMax provides a mock function with given fields:

func (*GasEstimator) LimitMultiplier

func (_m *GasEstimator) LimitMultiplier() float32

LimitMultiplier provides a mock function with given fields:

func (*GasEstimator) LimitTransfer

func (_m *GasEstimator) LimitTransfer() uint32

LimitTransfer provides a mock function with given fields:

func (*GasEstimator) Mode

func (_m *GasEstimator) Mode() string

Mode provides a mock function with given fields:

func (*GasEstimator) PriceDefault

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

PriceDefault provides a mock function with given fields:

func (*GasEstimator) PriceMax

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

PriceMax provides a mock function with given fields:

func (*GasEstimator) PriceMaxKey

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

PriceMaxKey provides a mock function with given fields: _a0

func (*GasEstimator) PriceMin

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

PriceMin provides a mock function with given fields:

func (*GasEstimator) TipCapDefault

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

TipCapDefault provides a mock function with given fields:

func (*GasEstimator) TipCapMin

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