Documentation
¶
Index ¶
- Variables
- func ChainTypeForID(chainID *utils.Big) (config.ChainType, bool)
- type Automation
- type BalanceMonitor
- type BlockHistoryEstimator
- type Chain
- type ChainScoped
- func (c *ChainScoped) BalanceMonitorEnabled() bool
- func (c *ChainScoped) BlockBackfillDepth() uint64
- func (c *ChainScoped) BlockBackfillSkip() bool
- func (c *ChainScoped) BlockEmissionIdleWarningThreshold() time.Duration
- func (c *ChainScoped) BlockHistoryEstimatorBatchSize() (size uint32)
- func (c *ChainScoped) BlockHistoryEstimatorBlockDelay() uint16
- func (c *ChainScoped) BlockHistoryEstimatorBlockHistorySize() uint16
- func (c *ChainScoped) BlockHistoryEstimatorCheckInclusionBlocks() uint16
- func (c *ChainScoped) BlockHistoryEstimatorCheckInclusionPercentile() uint16
- func (c *ChainScoped) BlockHistoryEstimatorEIP1559FeeCapBufferBlocks() uint16
- func (c *ChainScoped) BlockHistoryEstimatorTransactionPercentile() uint16
- func (c *ChainScoped) ChainID() *big.Int
- func (c *ChainScoped) ChainType() gencfg.ChainType
- func (c *ChainScoped) Configure(_ evmtypes.ChainCfg)
- func (c *ChainScoped) EthTxReaperInterval() time.Duration
- func (c *ChainScoped) EthTxReaperThreshold() time.Duration
- func (c *ChainScoped) EthTxResendAfterThreshold() time.Duration
- func (c *ChainScoped) EvmEIP1559DynamicFees() bool
- func (c *ChainScoped) EvmFinalityDepth() uint32
- func (c *ChainScoped) EvmGasBumpPercent() uint16
- func (c *ChainScoped) EvmGasBumpThreshold() uint64
- func (c *ChainScoped) EvmGasBumpTxDepth() uint16
- func (c *ChainScoped) EvmGasBumpWei() *assets.Wei
- func (c *ChainScoped) EvmGasFeeCapDefault() *assets.Wei
- func (c *ChainScoped) EvmGasLimitDRJobType() *uint32
- func (c *ChainScoped) EvmGasLimitDefault() uint32
- func (c *ChainScoped) EvmGasLimitFMJobType() *uint32
- func (c *ChainScoped) EvmGasLimitKeeperJobType() *uint32
- func (c *ChainScoped) EvmGasLimitMax() uint32
- func (c *ChainScoped) EvmGasLimitMultiplier() float32
- func (c *ChainScoped) EvmGasLimitOCRJobType() *uint32
- func (c *ChainScoped) EvmGasLimitTransfer() uint32
- func (c *ChainScoped) EvmGasLimitVRFJobType() *uint32
- func (c *ChainScoped) EvmGasPriceDefault() *assets.Wei
- func (c *ChainScoped) EvmGasTipCapDefault() *assets.Wei
- func (c *ChainScoped) EvmGasTipCapMinimum() *assets.Wei
- func (c *ChainScoped) EvmHeadTrackerHistoryDepth() uint32
- func (c *ChainScoped) EvmHeadTrackerMaxBufferSize() uint32
- func (c *ChainScoped) EvmHeadTrackerSamplingInterval() time.Duration
- func (c *ChainScoped) EvmLogBackfillBatchSize() uint32
- func (c *ChainScoped) EvmLogKeepBlocksDepth() uint32
- func (c *ChainScoped) EvmLogPollInterval() time.Duration
- func (c *ChainScoped) EvmMaxGasPriceWei() *assets.Wei
- func (c *ChainScoped) EvmMaxInFlightTransactions() uint32
- func (c *ChainScoped) EvmMaxQueuedTransactions() uint64
- func (c *ChainScoped) EvmMinGasPriceWei() *assets.Wei
- func (c *ChainScoped) EvmNonceAutoSync() bool
- func (c *ChainScoped) EvmRPCDefaultBatchSize() uint32
- func (c *ChainScoped) EvmUseForwarders() bool
- func (c *ChainScoped) FlagsContractAddress() string
- func (c *ChainScoped) GasEstimatorMode() string
- func (c *ChainScoped) KeySpecificMaxGasPriceWei(addr common.Address) *assets.Wei
- func (c *ChainScoped) LinkContractAddress() string
- func (c *ChainScoped) MinIncomingConfirmations() uint32
- func (c *ChainScoped) MinimumContractPayment() *assets.Link
- func (c *ChainScoped) NodeNoNewHeadsThreshold() time.Duration
- func (c *ChainScoped) NodePollFailureThreshold() uint32
- func (c *ChainScoped) NodePollInterval() time.Duration
- func (c *ChainScoped) NodeSelectionMode() string
- func (c *ChainScoped) NodeSyncThreshold() uint32
- func (c *ChainScoped) OCR2AutomationGasLimit() uint32
- func (c *ChainScoped) OCRContractConfirmations() uint16
- func (c *ChainScoped) OCRContractTransmitterTransmitTimeout() time.Duration
- func (c *ChainScoped) OCRDatabaseTimeout() time.Duration
- func (c *ChainScoped) OCRObservationGracePeriod() time.Duration
- func (c *ChainScoped) OperatorFactoryAddress() string
- func (c *ChainScoped) PersistedConfig() evmtypes.ChainCfg
- func (c *ChainScoped) SetEvmGasPriceDefault(_ *big.Int) error
- func (c *ChainScoped) Validate() (err error)
- type EVMConfig
- type EVMConfigs
- func (cs EVMConfigs) Chains(ids ...utils.Big) (chains []types.DBChain)
- func (cs EVMConfigs) Node(name string) (types.Node, error)
- func (cs EVMConfigs) Nodes() (ns []types.Node)
- func (cs EVMConfigs) NodesByID(chainIDs ...utils.Big) (ns []types.Node)
- func (cs *EVMConfigs) SetFrom(fs *EVMConfigs)
- func (cs EVMConfigs) ValidateConfig() (err error)
- type EVMNodes
- type GasEstimator
- type GasLimitJobType
- type HasEVMConfigs
- type HeadTracker
- type KeySpecific
- type KeySpecificConfig
- type KeySpecificGasEstimator
- type Node
- type NodePool
- type OCR
- type OCR2
- type Transactions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultIDs is the set of chain ids which have defaults. DefaultIDs []*utils.Big )
Functions ¶
Types ¶
type Automation ¶ added in v1.10.0
type Automation struct {
GasLimit *uint32
}
type BalanceMonitor ¶
type BalanceMonitor struct {
Enabled *bool
}
type BlockHistoryEstimator ¶
type Chain ¶
type Chain struct {
BlockBackfillDepth *uint32
BlockBackfillSkip *bool
ChainType *string
FinalityDepth *uint32
FlagsContractAddress *ethkey.EIP55Address
LinkContractAddress *ethkey.EIP55Address
LogBackfillBatchSize *uint32
LogPollInterval *models.Duration
LogKeepBlocksDepth *uint32
MinIncomingConfirmations *uint32
MinContractPayment *assets.Link
NonceAutoSync *bool
NoNewHeadsThreshold *models.Duration
OperatorFactoryAddress *ethkey.EIP55Address
RPCDefaultBatchSize *uint32
RPCBlockQueryDelay *uint16
Transactions Transactions `toml:",omitempty"`
BalanceMonitor BalanceMonitor `toml:",omitempty"`
GasEstimator GasEstimator `toml:",omitempty"`
HeadTracker HeadTracker `toml:",omitempty"`
KeySpecific KeySpecificConfig `toml:",omitempty"`
NodePool NodePool `toml:",omitempty"`
OCR OCR `toml:",omitempty"`
OCR2 OCR2 `toml:",omitempty"`
}
func Defaults ¶
Defaults returns a Chain based on the defaults for chainID and fields from with, applied in order so later Chains override earlier ones.
func DefaultsNamed ¶ added in v1.11.0
DefaultsNamed returns the default Chain values, optionally for the given chainID, as well as a name if the chainID is known.
func (*Chain) ValidateConfig ¶ added in v1.9.0
type ChainScoped ¶ added in v1.10.0
type ChainScoped struct {
gencfg.BasicConfig
// contains filtered or unexported fields
}
ChainScoped implements config.ChainScopedConfig with a gencfg.BasicConfig and EVMConfig.
func NewTOMLChainScopedConfig ¶ added in v1.10.0
func NewTOMLChainScopedConfig(genCfg gencfg.BasicConfig, chain *EVMConfig, lggr logger.Logger) *ChainScoped
func (*ChainScoped) BalanceMonitorEnabled ¶ added in v1.10.0
func (c *ChainScoped) BalanceMonitorEnabled() bool
func (*ChainScoped) BlockBackfillDepth ¶ added in v1.10.0
func (c *ChainScoped) BlockBackfillDepth() uint64
func (*ChainScoped) BlockBackfillSkip ¶ added in v1.10.0
func (c *ChainScoped) BlockBackfillSkip() bool
func (*ChainScoped) BlockEmissionIdleWarningThreshold ¶ added in v1.10.0
func (c *ChainScoped) BlockEmissionIdleWarningThreshold() time.Duration
func (*ChainScoped) BlockHistoryEstimatorBatchSize ¶ added in v1.10.0
func (c *ChainScoped) BlockHistoryEstimatorBatchSize() (size uint32)
func (*ChainScoped) BlockHistoryEstimatorBlockDelay ¶ added in v1.10.0
func (c *ChainScoped) BlockHistoryEstimatorBlockDelay() uint16
func (*ChainScoped) BlockHistoryEstimatorBlockHistorySize ¶ added in v1.10.0
func (c *ChainScoped) BlockHistoryEstimatorBlockHistorySize() uint16
func (*ChainScoped) BlockHistoryEstimatorCheckInclusionBlocks ¶ added in v1.10.0
func (c *ChainScoped) BlockHistoryEstimatorCheckInclusionBlocks() uint16
func (*ChainScoped) BlockHistoryEstimatorCheckInclusionPercentile ¶ added in v1.10.0
func (c *ChainScoped) BlockHistoryEstimatorCheckInclusionPercentile() uint16
func (*ChainScoped) BlockHistoryEstimatorEIP1559FeeCapBufferBlocks ¶ added in v1.10.0
func (c *ChainScoped) BlockHistoryEstimatorEIP1559FeeCapBufferBlocks() uint16
func (*ChainScoped) BlockHistoryEstimatorTransactionPercentile ¶ added in v1.10.0
func (c *ChainScoped) BlockHistoryEstimatorTransactionPercentile() uint16
func (*ChainScoped) ChainID ¶ added in v1.10.0
func (c *ChainScoped) ChainID() *big.Int
func (*ChainScoped) ChainType ¶ added in v1.10.0
func (c *ChainScoped) ChainType() gencfg.ChainType
func (*ChainScoped) Configure ¶ added in v1.10.0
func (c *ChainScoped) Configure(_ evmtypes.ChainCfg)
func (*ChainScoped) EthTxReaperInterval ¶ added in v1.10.0
func (c *ChainScoped) EthTxReaperInterval() time.Duration
func (*ChainScoped) EthTxReaperThreshold ¶ added in v1.10.0
func (c *ChainScoped) EthTxReaperThreshold() time.Duration
func (*ChainScoped) EthTxResendAfterThreshold ¶ added in v1.10.0
func (c *ChainScoped) EthTxResendAfterThreshold() time.Duration
func (*ChainScoped) EvmEIP1559DynamicFees ¶ added in v1.10.0
func (c *ChainScoped) EvmEIP1559DynamicFees() bool
func (*ChainScoped) EvmFinalityDepth ¶ added in v1.10.0
func (c *ChainScoped) EvmFinalityDepth() uint32
func (*ChainScoped) EvmGasBumpPercent ¶ added in v1.10.0
func (c *ChainScoped) EvmGasBumpPercent() uint16
func (*ChainScoped) EvmGasBumpThreshold ¶ added in v1.10.0
func (c *ChainScoped) EvmGasBumpThreshold() uint64
func (*ChainScoped) EvmGasBumpTxDepth ¶ added in v1.10.0
func (c *ChainScoped) EvmGasBumpTxDepth() uint16
func (*ChainScoped) EvmGasBumpWei ¶ added in v1.10.0
func (c *ChainScoped) EvmGasBumpWei() *assets.Wei
func (*ChainScoped) EvmGasFeeCapDefault ¶ added in v1.10.0
func (c *ChainScoped) EvmGasFeeCapDefault() *assets.Wei
func (*ChainScoped) EvmGasLimitDRJobType ¶ added in v1.10.0
func (c *ChainScoped) EvmGasLimitDRJobType() *uint32
func (*ChainScoped) EvmGasLimitDefault ¶ added in v1.10.0
func (c *ChainScoped) EvmGasLimitDefault() uint32
func (*ChainScoped) EvmGasLimitFMJobType ¶ added in v1.10.0
func (c *ChainScoped) EvmGasLimitFMJobType() *uint32
func (*ChainScoped) EvmGasLimitKeeperJobType ¶ added in v1.10.0
func (c *ChainScoped) EvmGasLimitKeeperJobType() *uint32
func (*ChainScoped) EvmGasLimitMax ¶ added in v1.10.0
func (c *ChainScoped) EvmGasLimitMax() uint32
func (*ChainScoped) EvmGasLimitMultiplier ¶ added in v1.10.0
func (c *ChainScoped) EvmGasLimitMultiplier() float32
func (*ChainScoped) EvmGasLimitOCRJobType ¶ added in v1.10.0
func (c *ChainScoped) EvmGasLimitOCRJobType() *uint32
func (*ChainScoped) EvmGasLimitTransfer ¶ added in v1.10.0
func (c *ChainScoped) EvmGasLimitTransfer() uint32
func (*ChainScoped) EvmGasLimitVRFJobType ¶ added in v1.10.0
func (c *ChainScoped) EvmGasLimitVRFJobType() *uint32
func (*ChainScoped) EvmGasPriceDefault ¶ added in v1.10.0
func (c *ChainScoped) EvmGasPriceDefault() *assets.Wei
func (*ChainScoped) EvmGasTipCapDefault ¶ added in v1.10.0
func (c *ChainScoped) EvmGasTipCapDefault() *assets.Wei
func (*ChainScoped) EvmGasTipCapMinimum ¶ added in v1.10.0
func (c *ChainScoped) EvmGasTipCapMinimum() *assets.Wei
func (*ChainScoped) EvmHeadTrackerHistoryDepth ¶ added in v1.10.0
func (c *ChainScoped) EvmHeadTrackerHistoryDepth() uint32
func (*ChainScoped) EvmHeadTrackerMaxBufferSize ¶ added in v1.10.0
func (c *ChainScoped) EvmHeadTrackerMaxBufferSize() uint32
func (*ChainScoped) EvmHeadTrackerSamplingInterval ¶ added in v1.10.0
func (c *ChainScoped) EvmHeadTrackerSamplingInterval() time.Duration
func (*ChainScoped) EvmLogBackfillBatchSize ¶ added in v1.10.0
func (c *ChainScoped) EvmLogBackfillBatchSize() uint32
func (*ChainScoped) EvmLogKeepBlocksDepth ¶ added in v1.10.0
func (c *ChainScoped) EvmLogKeepBlocksDepth() uint32
func (*ChainScoped) EvmLogPollInterval ¶ added in v1.10.0
func (c *ChainScoped) EvmLogPollInterval() time.Duration
func (*ChainScoped) EvmMaxGasPriceWei ¶ added in v1.10.0
func (c *ChainScoped) EvmMaxGasPriceWei() *assets.Wei
func (*ChainScoped) EvmMaxInFlightTransactions ¶ added in v1.10.0
func (c *ChainScoped) EvmMaxInFlightTransactions() uint32
func (*ChainScoped) EvmMaxQueuedTransactions ¶ added in v1.10.0
func (c *ChainScoped) EvmMaxQueuedTransactions() uint64
func (*ChainScoped) EvmMinGasPriceWei ¶ added in v1.10.0
func (c *ChainScoped) EvmMinGasPriceWei() *assets.Wei
func (*ChainScoped) EvmNonceAutoSync ¶ added in v1.10.0
func (c *ChainScoped) EvmNonceAutoSync() bool
func (*ChainScoped) EvmRPCDefaultBatchSize ¶ added in v1.10.0
func (c *ChainScoped) EvmRPCDefaultBatchSize() uint32
func (*ChainScoped) EvmUseForwarders ¶ added in v1.10.0
func (c *ChainScoped) EvmUseForwarders() bool
func (*ChainScoped) FlagsContractAddress ¶ added in v1.10.0
func (c *ChainScoped) FlagsContractAddress() string
func (*ChainScoped) GasEstimatorMode ¶ added in v1.10.0
func (c *ChainScoped) GasEstimatorMode() string
func (*ChainScoped) KeySpecificMaxGasPriceWei ¶ added in v1.10.0
func (c *ChainScoped) KeySpecificMaxGasPriceWei(addr common.Address) *assets.Wei
func (*ChainScoped) LinkContractAddress ¶ added in v1.10.0
func (c *ChainScoped) LinkContractAddress() string
func (*ChainScoped) MinIncomingConfirmations ¶ added in v1.10.0
func (c *ChainScoped) MinIncomingConfirmations() uint32
func (*ChainScoped) MinimumContractPayment ¶ added in v1.10.0
func (c *ChainScoped) MinimumContractPayment() *assets.Link
func (*ChainScoped) NodeNoNewHeadsThreshold ¶ added in v1.10.0
func (c *ChainScoped) NodeNoNewHeadsThreshold() time.Duration
func (*ChainScoped) NodePollFailureThreshold ¶ added in v1.10.0
func (c *ChainScoped) NodePollFailureThreshold() uint32
func (*ChainScoped) NodePollInterval ¶ added in v1.10.0
func (c *ChainScoped) NodePollInterval() time.Duration
func (*ChainScoped) NodeSelectionMode ¶ added in v1.10.0
func (c *ChainScoped) NodeSelectionMode() string
func (*ChainScoped) NodeSyncThreshold ¶ added in v1.11.0
func (c *ChainScoped) NodeSyncThreshold() uint32
func (*ChainScoped) OCR2AutomationGasLimit ¶ added in v1.10.0
func (c *ChainScoped) OCR2AutomationGasLimit() uint32
func (*ChainScoped) OCRContractConfirmations ¶ added in v1.10.0
func (c *ChainScoped) OCRContractConfirmations() uint16
func (*ChainScoped) OCRContractTransmitterTransmitTimeout ¶ added in v1.10.0
func (c *ChainScoped) OCRContractTransmitterTransmitTimeout() time.Duration
func (*ChainScoped) OCRDatabaseTimeout ¶ added in v1.10.0
func (c *ChainScoped) OCRDatabaseTimeout() time.Duration
func (*ChainScoped) OCRObservationGracePeriod ¶ added in v1.10.0
func (c *ChainScoped) OCRObservationGracePeriod() time.Duration
func (*ChainScoped) OperatorFactoryAddress ¶ added in v1.10.0
func (c *ChainScoped) OperatorFactoryAddress() string
func (*ChainScoped) PersistedConfig ¶ added in v1.10.0
func (c *ChainScoped) PersistedConfig() evmtypes.ChainCfg
func (*ChainScoped) SetEvmGasPriceDefault ¶ added in v1.10.0
func (c *ChainScoped) SetEvmGasPriceDefault(_ *big.Int) error
func (*ChainScoped) Validate ¶ added in v1.10.0
func (c *ChainScoped) Validate() (err error)
type EVMConfig ¶ added in v1.10.0
func (*EVMConfig) ValidateConfig ¶ added in v1.10.0
type EVMConfigs ¶ added in v1.10.0
type EVMConfigs []*EVMConfig
func (EVMConfigs) Chains ¶ added in v1.10.0
func (cs EVMConfigs) Chains(ids ...utils.Big) (chains []types.DBChain)
func (EVMConfigs) Node ¶ added in v1.10.0
func (cs EVMConfigs) Node(name string) (types.Node, error)
func (EVMConfigs) Nodes ¶ added in v1.10.0
func (cs EVMConfigs) Nodes() (ns []types.Node)
func (EVMConfigs) NodesByID ¶ added in v1.10.0
func (cs EVMConfigs) NodesByID(chainIDs ...utils.Big) (ns []types.Node)
func (*EVMConfigs) SetFrom ¶ added in v1.11.0
func (cs *EVMConfigs) SetFrom(fs *EVMConfigs)
func (EVMConfigs) ValidateConfig ¶ added in v1.10.0
func (cs EVMConfigs) ValidateConfig() (err error)
type GasEstimator ¶
type GasEstimator struct {
Mode *string
PriceDefault *assets.Wei
PriceMax *assets.Wei
PriceMin *assets.Wei
LimitDefault *uint32
LimitMax *uint32
LimitMultiplier *decimal.Decimal
LimitTransfer *uint32
LimitJobType GasLimitJobType `toml:",omitempty"`
BumpMin *assets.Wei
BumpPercent *uint16
BumpThreshold *uint32
BumpTxDepth *uint16
EIP1559DynamicFees *bool
FeeCapDefault *assets.Wei
TipCapDefault *assets.Wei
TipCapMin *assets.Wei
BlockHistory BlockHistoryEstimator `toml:",omitempty"`
}
func (*GasEstimator) ValidateConfig ¶ added in v1.10.0
func (e *GasEstimator) ValidateConfig() (err error)
type GasLimitJobType ¶ added in v1.10.0
type HasEVMConfigs ¶ added in v1.10.0
type HasEVMConfigs interface {
EVMConfigs() EVMConfigs
}
type HeadTracker ¶
type KeySpecific ¶
type KeySpecific struct {
Key *ethkey.EIP55Address
GasEstimator KeySpecificGasEstimator `toml:",omitempty"`
}
type KeySpecificConfig ¶ added in v1.8.0
type KeySpecificConfig []KeySpecific
func (KeySpecificConfig) ValidateConfig ¶ added in v1.8.0
func (ks KeySpecificConfig) ValidateConfig() (err error)
type KeySpecificGasEstimator ¶
type Node ¶
func (*Node) ValidateConfig ¶ added in v1.8.0
type OCR2 ¶ added in v1.10.0
type OCR2 struct {
Automation Automation `toml:",omitempty"`
}
Click to show internal directories.
Click to hide internal directories.