Documentation
¶
Index ¶
- type AutoPurgeConfig
- type BalanceMonitor
- type BlockHistory
- type ChainScoped
- type ChainScopedConfig
- type ClientErrors
- type DAOracle
- type EVM
- type EVMConfig
- func (e *EVMConfig) AutoCreateKey() bool
- func (e *EVMConfig) BackupLogPollerBlockDelay() uint64
- func (e *EVMConfig) BalanceMonitor() BalanceMonitor
- func (e *EVMConfig) BlockBackfillDepth() uint64
- func (e *EVMConfig) BlockBackfillSkip() bool
- func (e *EVMConfig) BlockEmissionIdleWarningThreshold() time.Duration
- func (e *EVMConfig) ChainID() *big.Int
- func (e *EVMConfig) ChainType() chaintype.ChainType
- func (e *EVMConfig) ClientErrors() ClientErrors
- func (e *EVMConfig) FinalityDepth() uint32
- func (e *EVMConfig) FinalityTagEnabled() bool
- func (e *EVMConfig) FinalizedBlockOffset() uint32
- func (e *EVMConfig) FlagsContractAddress() string
- func (e *EVMConfig) GasEstimator() GasEstimator
- func (e *EVMConfig) HeadTracker() HeadTracker
- func (e *EVMConfig) IsEnabled() bool
- func (e *EVMConfig) LinkContractAddress() string
- func (e *EVMConfig) LogBackfillBatchSize() uint32
- func (e *EVMConfig) LogBroadcasterEnabled() bool
- func (e *EVMConfig) LogKeepBlocksDepth() uint32
- func (e *EVMConfig) LogPollInterval() time.Duration
- func (e *EVMConfig) LogPrunePageSize() uint32
- func (e *EVMConfig) MinContractPayment() *assets.Link
- func (e *EVMConfig) MinIncomingConfirmations() uint32
- func (e *EVMConfig) NoNewFinalizedHeadsThreshold() time.Duration
- func (e *EVMConfig) NodeNoNewHeadsThreshold() time.Duration
- func (e *EVMConfig) NodePool() NodePool
- func (e *EVMConfig) NonceAutoSync() bool
- func (e *EVMConfig) OCR() OCR
- func (e *EVMConfig) OCR2() OCR2
- func (e *EVMConfig) OperatorFactoryAddress() string
- func (e *EVMConfig) RPCDefaultBatchSize() uint32
- func (e *EVMConfig) TOMLString() (string, error)
- func (e *EVMConfig) Transactions() Transactions
- func (e *EVMConfig) Workflow() Workflow
- type FeeHistory
- type GasEstimator
- type HeadTracker
- type LimitJobType
- type NodePool
- type NodePoolConfig
- func (n *NodePoolConfig) DeathDeclarationDelay() time.Duration
- func (n *NodePoolConfig) EnforceRepeatableRead() bool
- func (n *NodePoolConfig) Errors() ClientErrors
- func (n *NodePoolConfig) FinalizedBlockPollInterval() time.Duration
- func (n *NodePoolConfig) LeaseDuration() time.Duration
- func (n *NodePoolConfig) NewHeadsPollInterval() time.Duration
- func (n *NodePoolConfig) NodeIsSyncingEnabled() bool
- func (n *NodePoolConfig) PollFailureThreshold() uint32
- func (n *NodePoolConfig) PollInterval() time.Duration
- func (n *NodePoolConfig) SelectionMode() string
- func (n *NodePoolConfig) SyncThreshold() uint32
- type OCR
- type OCR2
- type OCR2Automation
- type TransactionManagerV2
- type Transactions
- type Workflow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoPurgeConfig ¶
type BalanceMonitor ¶
type BalanceMonitor interface {
Enabled() bool
}
type BlockHistory ¶
type ChainScoped ¶
type ChainScoped struct {
// contains filtered or unexported fields
}
ChainScoped implements config.ChainScopedConfig with EVMConfig.
func NewTOMLChainScopedConfig ¶
func NewTOMLChainScopedConfig(tomlConfig *toml.EVMConfig) *ChainScoped
func (*ChainScoped) BlockEmissionIdleWarningThreshold ¶
func (c *ChainScoped) BlockEmissionIdleWarningThreshold() time.Duration
func (*ChainScoped) EVM ¶
func (c *ChainScoped) EVM() EVM
func (*ChainScoped) Nodes ¶
func (c *ChainScoped) Nodes() toml.EVMNodes
type ChainScopedConfig ¶
type ChainScopedConfig interface {
EVM() EVM
}
type ClientErrors ¶
type ClientErrors interface { NonceTooLow() string NonceTooHigh() string ReplacementTransactionUnderpriced() string LimitReached() string TransactionAlreadyInMempool() string TerminallyUnderpriced() string InsufficientEth() string TxFeeExceedsCap() string L2FeeTooLow() string L2FeeTooHigh() string L2Full() string TransactionAlreadyMined() string Fatal() string TooManyResults() string }
type DAOracle ¶
type DAOracle interface { OracleType() *toml.DAOracleType OracleAddress() *types.EIP55Address CustomGasPriceCalldata() *string }
type EVM ¶
type EVM interface { HeadTracker() HeadTracker BalanceMonitor() BalanceMonitor Transactions() Transactions GasEstimator() GasEstimator OCR() OCR OCR2() OCR2 Workflow() Workflow NodePool() NodePool AutoCreateKey() bool BlockBackfillDepth() uint64 BlockBackfillSkip() bool BlockEmissionIdleWarningThreshold() time.Duration ChainID() *big.Int ChainType() chaintype.ChainType FinalityDepth() uint32 FinalityTagEnabled() bool FlagsContractAddress() string LinkContractAddress() string LogBackfillBatchSize() uint32 LogKeepBlocksDepth() uint32 BackupLogPollerBlockDelay() uint64 LogPollInterval() time.Duration LogPrunePageSize() uint32 MinContractPayment() *commonassets.Link MinIncomingConfirmations() uint32 NonceAutoSync() bool OperatorFactoryAddress() string LogBroadcasterEnabled() bool RPCDefaultBatchSize() uint32 NodeNoNewHeadsThreshold() time.Duration FinalizedBlockOffset() uint32 NoNewFinalizedHeadsThreshold() time.Duration IsEnabled() bool TOMLString() (string, error) }
type EVMConfig ¶
func (*EVMConfig) AutoCreateKey ¶
func (*EVMConfig) BackupLogPollerBlockDelay ¶
func (*EVMConfig) BalanceMonitor ¶
func (e *EVMConfig) BalanceMonitor() BalanceMonitor
func (*EVMConfig) BlockBackfillDepth ¶
func (*EVMConfig) BlockBackfillSkip ¶
func (*EVMConfig) BlockEmissionIdleWarningThreshold ¶
func (*EVMConfig) ClientErrors ¶
func (e *EVMConfig) ClientErrors() ClientErrors
func (*EVMConfig) FinalityDepth ¶
func (*EVMConfig) FinalityTagEnabled ¶
func (*EVMConfig) FinalizedBlockOffset ¶
func (*EVMConfig) FlagsContractAddress ¶
func (*EVMConfig) GasEstimator ¶
func (e *EVMConfig) GasEstimator() GasEstimator
func (*EVMConfig) HeadTracker ¶
func (e *EVMConfig) HeadTracker() HeadTracker
func (*EVMConfig) LinkContractAddress ¶
func (*EVMConfig) LogBackfillBatchSize ¶
func (*EVMConfig) LogBroadcasterEnabled ¶
func (*EVMConfig) LogKeepBlocksDepth ¶
func (*EVMConfig) LogPollInterval ¶
func (*EVMConfig) LogPrunePageSize ¶
func (*EVMConfig) MinContractPayment ¶
func (*EVMConfig) MinIncomingConfirmations ¶
func (*EVMConfig) NoNewFinalizedHeadsThreshold ¶
func (*EVMConfig) NodeNoNewHeadsThreshold ¶
func (*EVMConfig) NonceAutoSync ¶
func (*EVMConfig) OperatorFactoryAddress ¶
func (*EVMConfig) RPCDefaultBatchSize ¶
func (*EVMConfig) TOMLString ¶
func (*EVMConfig) Transactions ¶
func (e *EVMConfig) Transactions() Transactions
type FeeHistory ¶
type GasEstimator ¶
type GasEstimator interface { BlockHistory() BlockHistory FeeHistory() FeeHistory LimitJobType() LimitJobType EIP1559DynamicFees() bool BumpPercent() uint16 BumpThreshold() uint64 BumpTxDepth() uint32 BumpMin() *assets.Wei FeeCapDefault() *assets.Wei LimitDefault() uint64 LimitMax() uint64 LimitMultiplier() float32 LimitTransfer() uint64 PriceDefault() *assets.Wei TipCapDefault() *assets.Wei TipCapMin() *assets.Wei PriceMax() *assets.Wei PriceMin() *assets.Wei Mode() string PriceMaxKey(gethcommon.Address) *assets.Wei EstimateLimit() bool DAOracle() DAOracle }
type HeadTracker ¶
type LimitJobType ¶
type NodePool ¶
type NodePool interface { PollFailureThreshold() uint32 PollInterval() time.Duration SelectionMode() string SyncThreshold() uint32 LeaseDuration() time.Duration NodeIsSyncingEnabled() bool FinalizedBlockPollInterval() time.Duration Errors() ClientErrors EnforceRepeatableRead() bool DeathDeclarationDelay() time.Duration NewHeadsPollInterval() time.Duration }
type NodePoolConfig ¶
func (*NodePoolConfig) DeathDeclarationDelay ¶
func (n *NodePoolConfig) DeathDeclarationDelay() time.Duration
func (*NodePoolConfig) EnforceRepeatableRead ¶
func (n *NodePoolConfig) EnforceRepeatableRead() bool
func (*NodePoolConfig) Errors ¶
func (n *NodePoolConfig) Errors() ClientErrors
func (*NodePoolConfig) FinalizedBlockPollInterval ¶
func (n *NodePoolConfig) FinalizedBlockPollInterval() time.Duration
func (*NodePoolConfig) LeaseDuration ¶
func (n *NodePoolConfig) LeaseDuration() time.Duration
func (*NodePoolConfig) NewHeadsPollInterval ¶
func (n *NodePoolConfig) NewHeadsPollInterval() time.Duration
func (*NodePoolConfig) NodeIsSyncingEnabled ¶
func (n *NodePoolConfig) NodeIsSyncingEnabled() bool
func (*NodePoolConfig) PollFailureThreshold ¶
func (n *NodePoolConfig) PollFailureThreshold() uint32
func (*NodePoolConfig) PollInterval ¶
func (n *NodePoolConfig) PollInterval() time.Duration
func (*NodePoolConfig) SelectionMode ¶
func (n *NodePoolConfig) SelectionMode() string
func (*NodePoolConfig) SyncThreshold ¶
func (n *NodePoolConfig) SyncThreshold() uint32
type OCR2 ¶
type OCR2 interface {
Automation() OCR2Automation
}
type OCR2Automation ¶
type OCR2Automation interface {
GasLimit() uint32
}
type TransactionManagerV2 ¶
type Transactions ¶
type Workflow ¶
type Workflow interface { FromAddress() *types.EIP55Address ForwarderAddress() *types.EIP55Address GasLimitDefault() *uint64 }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.