Documentation ¶
Index ¶
- type Config
- func (_m *Config) ChainID() *big.Int
- func (_m *Config) EthFinalityDepth() uint
- func (_m *Config) EthGasBumpPercent() uint16
- func (_m *Config) EthGasBumpThreshold() uint64
- func (_m *Config) EthGasBumpTxDepth() uint16
- func (_m *Config) EthGasBumpWei() *big.Int
- func (_m *Config) EthGasLimitDefault() uint64
- func (_m *Config) EthGasLimitMultiplier() float32
- func (_m *Config) EthGasPriceDefault() *big.Int
- func (_m *Config) EthMaxGasPriceWei() *big.Int
- func (_m *Config) EthMaxInFlightTransactions() uint32
- func (_m *Config) EthMaxQueuedTransactions() uint64
- func (_m *Config) EthNonceAutoSync() bool
- func (_m *Config) EthRPCDefaultBatchSize() uint32
- func (_m *Config) EthTxReaperInterval() time.Duration
- func (_m *Config) EthTxReaperThreshold() time.Duration
- func (_m *Config) EthTxResendAfterThreshold() time.Duration
- func (_m *Config) OptimismGasFees() bool
- func (_m *Config) TriggerFallbackDBPollInterval() time.Duration
- type ReaperConfig
- type TxManager
- func (_m *TxManager) Close() error
- func (_m *TxManager) Connect(head *models.Head) error
- func (_m *TxManager) CreateEthTransaction(db *gorm.DB, fromAddress common.Address, toAddress common.Address, ...) (models.EthTx, error)
- func (_m *TxManager) Healthy() error
- func (_m *TxManager) OnNewLongestChain(ctx context.Context, head models.Head)
- func (_m *TxManager) Ready() error
- func (_m *TxManager) Start() error
- func (_m *TxManager) Trigger(addr common.Address)
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) EthFinalityDepth ¶
EthFinalityDepth provides a mock function with given fields:
func (*Config) EthGasBumpPercent ¶
EthGasBumpPercent provides a mock function with given fields:
func (*Config) EthGasBumpThreshold ¶
EthGasBumpThreshold provides a mock function with given fields:
func (*Config) EthGasBumpTxDepth ¶
EthGasBumpTxDepth provides a mock function with given fields:
func (*Config) EthGasBumpWei ¶
EthGasBumpWei provides a mock function with given fields:
func (*Config) EthGasLimitDefault ¶
EthGasLimitDefault provides a mock function with given fields:
func (*Config) EthGasLimitMultiplier ¶
EthGasLimitMultiplier provides a mock function with given fields:
func (*Config) EthGasPriceDefault ¶
EthGasPriceDefault provides a mock function with given fields:
func (*Config) EthMaxGasPriceWei ¶
EthMaxGasPriceWei provides a mock function with given fields:
func (*Config) EthMaxInFlightTransactions ¶
EthMaxInFlightTransactions provides a mock function with given fields:
func (*Config) EthMaxQueuedTransactions ¶
EthMaxQueuedTransactions provides a mock function with given fields:
func (*Config) EthNonceAutoSync ¶
EthNonceAutoSync provides a mock function with given fields:
func (*Config) EthRPCDefaultBatchSize ¶
EthRPCDefaultBatchSize 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) OptimismGasFees ¶
OptimismGasFees provides a mock function with given fields:
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) EthFinalityDepth ¶
func (_m *ReaperConfig) EthFinalityDepth() uint
EthFinalityDepth provides a mock function with given fields:
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:
type TxManager ¶
TxManager is an autogenerated mock type for the TxManager type
func (*TxManager) CreateEthTransaction ¶
func (_m *TxManager) CreateEthTransaction(db *gorm.DB, fromAddress common.Address, toAddress common.Address, payload []byte, gasLimit uint64, meta interface{}) (models.EthTx, error)
CreateEthTransaction provides a mock function with given fields: db, fromAddress, toAddress, payload, gasLimit, meta
func (*TxManager) OnNewLongestChain ¶
OnNewLongestChain provides a mock function with given fields: ctx, head