Documentation ¶
Index ¶
- type BalanceMonitor
- type BlockHistory
- type ChainScoped
- type ChainScopedConfig
- type ChainWriter
- type ClientErrors
- 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() commonconfig.ChainType
- func (e *EVMConfig) ChainWriter() ChainWriter
- func (e *EVMConfig) ClientErrors() ClientErrors
- func (e *EVMConfig) FinalityDepth() uint32
- func (e *EVMConfig) FinalityTagEnabled() bool
- 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) 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) 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
- type GasEstimator
- type HeadTracker
- type LimitJobType
- type NodePool
- type NodePoolConfig
- func (n *NodePoolConfig) Errors() ClientErrors
- func (n *NodePoolConfig) FinalizedBlockPollInterval() time.Duration
- func (n *NodePoolConfig) LeaseDuration() 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 Transactions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceMonitor ¶ added in v2.3.0
type BalanceMonitor interface {
Enabled() bool
}
type BlockHistory ¶ added in v2.3.0
type ChainScoped ¶ added in v2.4.0
type ChainScoped struct {
// contains filtered or unexported fields
}
ChainScoped implements config.ChainScopedConfig with a gencfg.BasicConfig and EVMConfig.
func NewTOMLChainScopedConfig ¶ added in v2.4.0
func NewTOMLChainScopedConfig(tomlConfig *toml.EVMConfig, lggr logger.Logger) *ChainScoped
func (*ChainScoped) BlockEmissionIdleWarningThreshold ¶ added in v2.4.0
func (c *ChainScoped) BlockEmissionIdleWarningThreshold() time.Duration
func (*ChainScoped) EVM ¶ added in v2.4.0
func (c *ChainScoped) EVM() EVM
func (*ChainScoped) Nodes ¶ added in v2.6.0
func (c *ChainScoped) Nodes() toml.EVMNodes
type ChainScopedConfig ¶
type ChainScopedConfig interface {
EVM() EVM
}
TODO BCF-2509 does the chainscopedconfig really need the entire app config?
type ChainWriter ¶ added in v2.10.0
type ChainWriter interface { FromAddress() *types.EIP55Address ForwarderAddress() *types.EIP55Address }
type ClientErrors ¶ added in v2.12.0
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 }
type EVM ¶ added in v2.3.0
type EVM interface { HeadTracker() HeadTracker BalanceMonitor() BalanceMonitor Transactions() Transactions GasEstimator() GasEstimator OCR() OCR OCR2() OCR2 ChainWriter() ChainWriter NodePool() NodePool AutoCreateKey() bool BlockBackfillDepth() uint64 BlockBackfillSkip() bool BlockEmissionIdleWarningThreshold() time.Duration ChainID() *big.Int ChainType() commonconfig.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 RPCDefaultBatchSize() uint32 NodeNoNewHeadsThreshold() time.Duration IsEnabled() bool TOMLString() (string, error) }
type EVMConfig ¶ added in v2.11.0
func (*EVMConfig) AutoCreateKey ¶ added in v2.11.0
func (*EVMConfig) BackupLogPollerBlockDelay ¶ added in v2.11.0
func (*EVMConfig) BalanceMonitor ¶ added in v2.11.0
func (e *EVMConfig) BalanceMonitor() BalanceMonitor
func (*EVMConfig) BlockBackfillDepth ¶ added in v2.11.0
func (*EVMConfig) BlockBackfillSkip ¶ added in v2.11.0
func (*EVMConfig) BlockEmissionIdleWarningThreshold ¶ added in v2.11.0
func (*EVMConfig) ChainType ¶ added in v2.11.0
func (e *EVMConfig) ChainType() commonconfig.ChainType
func (*EVMConfig) ChainWriter ¶ added in v2.11.0
func (e *EVMConfig) ChainWriter() ChainWriter
func (*EVMConfig) ClientErrors ¶ added in v2.12.0
func (e *EVMConfig) ClientErrors() ClientErrors
func (*EVMConfig) FinalityDepth ¶ added in v2.11.0
func (*EVMConfig) FinalityTagEnabled ¶ added in v2.11.0
func (*EVMConfig) FlagsContractAddress ¶ added in v2.11.0
func (*EVMConfig) GasEstimator ¶ added in v2.11.0
func (e *EVMConfig) GasEstimator() GasEstimator
func (*EVMConfig) HeadTracker ¶ added in v2.11.0
func (e *EVMConfig) HeadTracker() HeadTracker
func (*EVMConfig) LinkContractAddress ¶ added in v2.11.0
func (*EVMConfig) LogBackfillBatchSize ¶ added in v2.11.0
func (*EVMConfig) LogKeepBlocksDepth ¶ added in v2.11.0
func (*EVMConfig) LogPollInterval ¶ added in v2.11.0
func (*EVMConfig) LogPrunePageSize ¶ added in v2.11.0
func (*EVMConfig) MinContractPayment ¶ added in v2.11.0
func (*EVMConfig) MinIncomingConfirmations ¶ added in v2.11.0
func (*EVMConfig) NodeNoNewHeadsThreshold ¶ added in v2.11.0
func (*EVMConfig) NonceAutoSync ¶ added in v2.11.0
func (*EVMConfig) OperatorFactoryAddress ¶ added in v2.11.0
func (*EVMConfig) RPCDefaultBatchSize ¶ added in v2.11.0
func (*EVMConfig) TOMLString ¶ added in v2.11.0
func (*EVMConfig) Transactions ¶ added in v2.11.0
func (e *EVMConfig) Transactions() Transactions
type GasEstimator ¶ added in v2.3.0
type GasEstimator interface { BlockHistory() BlockHistory 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 }
type HeadTracker ¶ added in v2.3.0
type LimitJobType ¶ added in v2.3.0
type NodePoolConfig ¶ added in v2.11.0
func (*NodePoolConfig) Errors ¶ added in v2.12.0
func (n *NodePoolConfig) Errors() ClientErrors
func (*NodePoolConfig) FinalizedBlockPollInterval ¶ added in v2.11.0
func (n *NodePoolConfig) FinalizedBlockPollInterval() time.Duration
func (*NodePoolConfig) LeaseDuration ¶ added in v2.11.0
func (n *NodePoolConfig) LeaseDuration() time.Duration
func (*NodePoolConfig) NodeIsSyncingEnabled ¶ added in v2.11.0
func (n *NodePoolConfig) NodeIsSyncingEnabled() bool
func (*NodePoolConfig) PollFailureThreshold ¶ added in v2.11.0
func (n *NodePoolConfig) PollFailureThreshold() uint32
func (*NodePoolConfig) PollInterval ¶ added in v2.11.0
func (n *NodePoolConfig) PollInterval() time.Duration
func (*NodePoolConfig) SelectionMode ¶ added in v2.11.0
func (n *NodePoolConfig) SelectionMode() string
func (*NodePoolConfig) SyncThreshold ¶ added in v2.11.0
func (n *NodePoolConfig) SyncThreshold() uint32
type OCR2 ¶ added in v2.3.0
type OCR2 interface {
Automation() OCR2Automation
}
type OCR2Automation ¶ added in v2.3.0
type OCR2Automation interface {
GasLimit() uint32
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.