mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.10.8

type Config struct {
	mock.Mock
}

Config is an autogenerated mock type for the Config type

func (*Config) BlockHistoryEstimatorBatchSize added in v0.10.10

func (_m *Config) BlockHistoryEstimatorBatchSize() uint32

BlockHistoryEstimatorBatchSize provides a mock function with given fields:

func (*Config) BlockHistoryEstimatorBlockDelay added in v0.10.10

func (_m *Config) BlockHistoryEstimatorBlockDelay() uint16

BlockHistoryEstimatorBlockDelay provides a mock function with given fields:

func (*Config) BlockHistoryEstimatorBlockHistorySize added in v0.10.10

func (_m *Config) BlockHistoryEstimatorBlockHistorySize() uint16

BlockHistoryEstimatorBlockHistorySize provides a mock function with given fields:

func (*Config) BlockHistoryEstimatorTransactionPercentile added in v0.10.10

func (_m *Config) BlockHistoryEstimatorTransactionPercentile() uint16

BlockHistoryEstimatorTransactionPercentile provides a mock function with given fields:

func (*Config) ChainID added in v0.10.8

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

ChainID provides a mock function with given fields:

func (*Config) EthTxReaperInterval added in v0.10.8

func (_m *Config) EthTxReaperInterval() time.Duration

EthTxReaperInterval provides a mock function with given fields:

func (*Config) EthTxReaperThreshold added in v0.10.8

func (_m *Config) EthTxReaperThreshold() time.Duration

EthTxReaperThreshold provides a mock function with given fields:

func (*Config) EthTxResendAfterThreshold added in v0.10.8

func (_m *Config) EthTxResendAfterThreshold() time.Duration

EthTxResendAfterThreshold 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) EvmGasBumpThreshold added in v1.0.0

func (_m *Config) EvmGasBumpThreshold() uint64

EvmGasBumpThreshold provides a mock function with given fields:

func (*Config) EvmGasBumpTxDepth added in v1.0.0

func (_m *Config) EvmGasBumpTxDepth() uint16

EvmGasBumpTxDepth 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) EvmGasLimitDefault added in v1.0.0

func (_m *Config) EvmGasLimitDefault() uint64

EvmGasLimitDefault 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) EvmMaxInFlightTransactions added in v1.0.0

func (_m *Config) EvmMaxInFlightTransactions() uint32

EvmMaxInFlightTransactions provides a mock function with given fields:

func (*Config) EvmMaxQueuedTransactions added in v1.0.0

func (_m *Config) EvmMaxQueuedTransactions() uint64

EvmMaxQueuedTransactions 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) EvmNonceAutoSync added in v1.0.0

func (_m *Config) EvmNonceAutoSync() bool

EvmNonceAutoSync provides a mock function with given fields:

func (*Config) EvmRPCDefaultBatchSize added in v1.0.0

func (_m *Config) EvmRPCDefaultBatchSize() uint32

EvmRPCDefaultBatchSize provides a mock function with given fields:

func (*Config) GasEstimatorMode added in v0.10.10

func (_m *Config) GasEstimatorMode() string

GasEstimatorMode provides a mock function with given fields:

func (*Config) TriggerFallbackDBPollInterval added in v0.10.8

func (_m *Config) TriggerFallbackDBPollInterval() time.Duration

TriggerFallbackDBPollInterval provides a mock function with given fields:

type ReaperConfig

type ReaperConfig struct {
	mock.Mock
}

ReaperConfig is an autogenerated mock type for the ReaperConfig type

func (*ReaperConfig) EthTxReaperInterval

func (_m *ReaperConfig) EthTxReaperInterval() time.Duration

EthTxReaperInterval provides a mock function with given fields:

func (*ReaperConfig) EthTxReaperThreshold

func (_m *ReaperConfig) EthTxReaperThreshold() time.Duration

EthTxReaperThreshold provides a mock function with given fields:

func (*ReaperConfig) EvmFinalityDepth added in v1.0.0

func (_m *ReaperConfig) EvmFinalityDepth() uint

EvmFinalityDepth provides a mock function with given fields:

type TxManager added in v0.10.8

type TxManager struct {
	mock.Mock
}

TxManager is an autogenerated mock type for the TxManager type

func (*TxManager) Close added in v0.10.8

func (_m *TxManager) Close() error

Close provides a mock function with given fields:

func (*TxManager) CreateEthTransaction added in v0.10.8

func (_m *TxManager) CreateEthTransaction(db *gorm.DB, newTx bulletprooftxmanager.NewTx) (bulletprooftxmanager.EthTx, error)

CreateEthTransaction provides a mock function with given fields: db, newTx

func (*TxManager) GetGasEstimator added in v0.10.10

func (_m *TxManager) GetGasEstimator() gas.Estimator

GetGasEstimator provides a mock function with given fields:

func (*TxManager) Healthy added in v0.10.8

func (_m *TxManager) Healthy() error

Healthy provides a mock function with given fields:

func (*TxManager) OnNewLongestChain added in v0.10.8

func (_m *TxManager) OnNewLongestChain(ctx context.Context, head models.Head)

OnNewLongestChain provides a mock function with given fields: ctx, head

func (*TxManager) Ready added in v0.10.8

func (_m *TxManager) Ready() error

Ready provides a mock function with given fields:

func (*TxManager) RegisterResumeCallback added in v1.0.0

func (_m *TxManager) RegisterResumeCallback(fn func(uuid.UUID, interface{}) error)

RegisterResumeCallback provides a mock function with given fields: fn

func (*TxManager) Start added in v0.10.8

func (_m *TxManager) Start() error

Start provides a mock function with given fields:

func (*TxManager) Trigger added in v0.10.8

func (_m *TxManager) Trigger(addr common.Address)

Trigger provides a mock function with given fields: addr

type TxStrategy added in v0.10.9

type TxStrategy struct {
	mock.Mock
}

TxStrategy is an autogenerated mock type for the TxStrategy type

func (*TxStrategy) PruneQueue added in v0.10.9

func (_m *TxStrategy) PruneQueue(tx *gorm.DB) (int64, error)

PruneQueue provides a mock function with given fields: tx

func (*TxStrategy) Subject added in v0.10.9

func (_m *TxStrategy) Subject() uuid.NullUUID

Subject 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