Documentation ¶
Index ¶
- type Config
- func (_m *Config) BlockHistoryEstimatorBatchSize() uint32
- func (_m *Config) BlockHistoryEstimatorBlockDelay() uint16
- func (_m *Config) BlockHistoryEstimatorBlockHistorySize() uint16
- func (_m *Config) BlockHistoryEstimatorTransactionPercentile() uint16
- func (_m *Config) ChainType() chains.ChainType
- func (_m *Config) EthTxReaperInterval() time.Duration
- func (_m *Config) EthTxReaperThreshold() time.Duration
- func (_m *Config) EthTxResendAfterThreshold() time.Duration
- func (_m *Config) EvmEIP1559DynamicFees() bool
- func (_m *Config) EvmFinalityDepth() uint32
- func (_m *Config) EvmGasBumpPercent() uint16
- func (_m *Config) EvmGasBumpThreshold() uint64
- func (_m *Config) EvmGasBumpTxDepth() uint16
- func (_m *Config) EvmGasBumpWei() *big.Int
- func (_m *Config) EvmGasFeeCap() *big.Int
- func (_m *Config) EvmGasLimitDefault() uint64
- func (_m *Config) EvmGasLimitMultiplier() float32
- func (_m *Config) EvmGasPriceDefault() *big.Int
- func (_m *Config) EvmGasTipCapDefault() *big.Int
- func (_m *Config) EvmGasTipCapMinimum() *big.Int
- func (_m *Config) EvmMaxGasPriceWei() *big.Int
- func (_m *Config) EvmMaxInFlightTransactions() uint32
- func (_m *Config) EvmMaxQueuedTransactions() uint64
- func (_m *Config) EvmMinGasPriceWei() *big.Int
- func (_m *Config) EvmNonceAutoSync() bool
- func (_m *Config) EvmRPCDefaultBatchSize() uint32
- func (_m *Config) GasEstimatorMode() string
- func (_m *Config) KeySpecificMaxGasPriceWei(addr common.Address) *big.Int
- func (_m *Config) TriggerFallbackDBPollInterval() time.Duration
- type ReaperConfig
- type TxManager
- func (_m *TxManager) Close() error
- func (_m *TxManager) CreateEthTransaction(db *gorm.DB, newTx bulletprooftxmanager.NewTx) (bulletprooftxmanager.EthTx, error)
- func (_m *TxManager) GetGasEstimator() gas.Estimator
- func (_m *TxManager) Healthy() error
- func (_m *TxManager) OnNewLongestChain(ctx context.Context, head eth.Head)
- func (_m *TxManager) Ready() error
- func (_m *TxManager) RegisterResumeCallback(fn bulletprooftxmanager.ResumeCallback)
- func (_m *TxManager) Start() error
- func (_m *TxManager) Trigger(addr common.Address)
- type TxStrategy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is an autogenerated mock type for the Config type
func (*Config) BlockHistoryEstimatorBatchSize ¶
BlockHistoryEstimatorBatchSize provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorBlockDelay ¶
BlockHistoryEstimatorBlockDelay provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorBlockHistorySize ¶
BlockHistoryEstimatorBlockHistorySize provides a mock function with given fields:
func (*Config) BlockHistoryEstimatorTransactionPercentile ¶
BlockHistoryEstimatorTransactionPercentile provides a mock function with given fields:
func (*Config) EthTxReaperInterval ¶
EthTxReaperInterval provides a mock function with given fields:
func (*Config) EthTxReaperThreshold ¶
EthTxReaperThreshold provides a mock function with given fields:
func (*Config) EthTxResendAfterThreshold ¶
EthTxResendAfterThreshold provides a mock function with given fields:
func (*Config) EvmEIP1559DynamicFees ¶ added in v1.10.17
EvmEIP1559DynamicFees provides a mock function with given fields:
func (*Config) EvmFinalityDepth ¶ added in v1.10.17
EvmFinalityDepth provides a mock function with given fields:
func (*Config) EvmGasBumpPercent ¶ added in v1.10.17
EvmGasBumpPercent provides a mock function with given fields:
func (*Config) EvmGasBumpThreshold ¶ added in v1.10.17
EvmGasBumpThreshold provides a mock function with given fields:
func (*Config) EvmGasBumpTxDepth ¶ added in v1.10.17
EvmGasBumpTxDepth provides a mock function with given fields:
func (*Config) EvmGasBumpWei ¶ added in v1.10.17
EvmGasBumpWei provides a mock function with given fields:
func (*Config) EvmGasFeeCap ¶ added in v1.10.17
EvmGasFeeCap provides a mock function with given fields:
func (*Config) EvmGasLimitDefault ¶ added in v1.10.17
EvmGasLimitDefault provides a mock function with given fields:
func (*Config) EvmGasLimitMultiplier ¶ added in v1.10.17
EvmGasLimitMultiplier provides a mock function with given fields:
func (*Config) EvmGasPriceDefault ¶ added in v1.10.17
EvmGasPriceDefault provides a mock function with given fields:
func (*Config) EvmGasTipCapDefault ¶ added in v1.10.17
EvmGasTipCapDefault provides a mock function with given fields:
func (*Config) EvmGasTipCapMinimum ¶ added in v1.10.17
EvmGasTipCapMinimum provides a mock function with given fields:
func (*Config) EvmMaxGasPriceWei ¶ added in v1.10.17
EvmMaxGasPriceWei provides a mock function with given fields:
func (*Config) EvmMaxInFlightTransactions ¶ added in v1.10.17
EvmMaxInFlightTransactions provides a mock function with given fields:
func (*Config) EvmMaxQueuedTransactions ¶ added in v1.10.17
EvmMaxQueuedTransactions provides a mock function with given fields:
func (*Config) EvmMinGasPriceWei ¶ added in v1.10.17
EvmMinGasPriceWei provides a mock function with given fields:
func (*Config) EvmNonceAutoSync ¶ added in v1.10.17
EvmNonceAutoSync provides a mock function with given fields:
func (*Config) EvmRPCDefaultBatchSize ¶ added in v1.10.17
EvmRPCDefaultBatchSize provides a mock function with given fields:
func (*Config) GasEstimatorMode ¶
GasEstimatorMode provides a mock function with given fields:
func (*Config) KeySpecificMaxGasPriceWei ¶ added in v1.10.17
KeySpecificMaxGasPriceWei provides a mock function with given fields: addr
func (*Config) TriggerFallbackDBPollInterval ¶
TriggerFallbackDBPollInterval provides a mock function with given fields:
type ReaperConfig ¶
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.10.17
func (_m *ReaperConfig) EvmFinalityDepth() uint32
EvmFinalityDepth provides a mock function with given fields:
type TxManager ¶
TxManager is an autogenerated mock type for the TxManager type
func (*TxManager) CreateEthTransaction ¶
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 ¶
GetGasEstimator provides a mock function with given fields:
func (*TxManager) OnNewLongestChain ¶
OnNewLongestChain provides a mock function with given fields: ctx, head
func (*TxManager) RegisterResumeCallback ¶ added in v1.10.17
func (_m *TxManager) RegisterResumeCallback(fn bulletprooftxmanager.ResumeCallback)
RegisterResumeCallback provides a mock function with given fields: fn
type TxStrategy ¶
TxStrategy is an autogenerated mock type for the TxStrategy type
func (*TxStrategy) PruneQueue ¶
func (_m *TxStrategy) PruneQueue(tx *gorm.DB) (int64, error)
PruneQueue provides a mock function with given fields: tx
func (*TxStrategy) Simulate ¶ added in v1.10.17
func (_m *TxStrategy) Simulate() bool
Simulate provides a mock function with given fields:
func (*TxStrategy) Subject ¶
func (_m *TxStrategy) Subject() uuid.NullUUID
Subject provides a mock function with given fields: