mocks

package
v2.5.1-celo-20230921 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 9 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 mockConstructorTestingTNewChainScopedConfig) *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.

func (*ChainScopedConfig) AppID

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

AppID provides a mock function with given fields:

func (*ChainScopedConfig) AuditLogger added in v2.3.0

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

AuditLogger provides a mock function with given fields:

func (*ChainScopedConfig) AutoPprof added in v2.3.0

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 added in v2.3.0

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

Database provides a mock function with given fields:

func (*ChainScopedConfig) DefaultChainID

func (_m *ChainScopedConfig) DefaultChainID() *big.Int

DefaultChainID provides a mock function with given fields:

func (*ChainScopedConfig) EVM added in v2.3.0

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) Explorer added in v2.3.0

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

Explorer provides a mock function with given fields:

func (*ChainScopedConfig) Feature added in v2.3.0

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

Feature provides a mock function with given fields:

func (*ChainScopedConfig) FluxMonitor added in v2.3.0

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

FluxMonitor provides a mock function with given fields:

func (*ChainScopedConfig) Insecure added in v2.3.0

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 added in v2.3.0

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

JobPipeline provides a mock function with given fields:

func (*ChainScopedConfig) Keeper added in v2.3.0

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

Keeper provides a mock function with given fields:

func (*ChainScopedConfig) Log added in v2.3.0

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

Log provides a mock function with given fields:

func (*ChainScopedConfig) LogConfiguration

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

LogConfiguration provides a mock function with given fields: log

func (*ChainScopedConfig) Mercury added in v2.3.0

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

Mercury provides a mock function with given fields:

func (*ChainScopedConfig) OCR added in v2.3.0

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

OCR provides a mock function with given fields:

func (*ChainScopedConfig) OCR2 added in v2.3.0

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

OCR2 provides a mock function with given fields:

func (*ChainScopedConfig) P2P added in v2.3.0

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

P2P provides a mock function with given fields:

func (*ChainScopedConfig) Password added in v2.3.0

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

Password provides a mock function with given fields:

func (*ChainScopedConfig) Prometheus added in v2.3.0

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

Prometheus provides a mock function with given fields:

func (*ChainScopedConfig) Pyroscope added in v2.3.0

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 added in v2.3.0

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) TelemetryIngress added in v2.3.0

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

TelemetryIngress provides a mock function with given fields:

func (*ChainScopedConfig) Threshold added in v2.3.0

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

Threshold 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 added in v2.2.0

func (_m *ChainScopedConfig) ValidateDB() error

ValidateDB provides a mock function with given fields:

func (*ChainScopedConfig) WebServer added in v2.3.0

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

WebServer 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 mockConstructorTestingTNewGasEstimator) *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.

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() uint32

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() uint32

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() uint32

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