Documentation ¶
Index ¶
- func NewConfigProvider(lggr logger.Logger, cfg RelayConfig) (types.ConfigProvider, error)
- func NewContractConfigTracker(lggr logger.Logger, cfg ConfigTrackerCfg) (ocrtypes.ContractConfigTracker, error)
- func NewLLOProvider(lggr logger.Logger, cp commontypes.ConfigProvider, transmitter llo.Transmitter, ...) relaytypes.LLOProvider
- func NewOffchainConfigDigester(cd ocrtypes.ConfigDigest) (ocrtypes.OffchainConfigDigester, error)
- func NewRelayer(lggr logger.Logger, chainID string) loop.Relayer
- type ConfigTrackerCfg
- type RelayConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigProvider ¶
func NewConfigProvider(lggr logger.Logger, cfg RelayConfig) (types.ConfigProvider, error)
func NewContractConfigTracker ¶
func NewContractConfigTracker(lggr logger.Logger, cfg ConfigTrackerCfg) (ocrtypes.ContractConfigTracker, error)
func NewLLOProvider ¶
func NewLLOProvider( lggr logger.Logger, cp commontypes.ConfigProvider, transmitter llo.Transmitter, channelDefinitionCache llotypes.ChannelDefinitionCache, ) relaytypes.LLOProvider
func NewOffchainConfigDigester ¶
func NewOffchainConfigDigester(cd ocrtypes.ConfigDigest) (ocrtypes.OffchainConfigDigester, error)
Types ¶
type ConfigTrackerCfg ¶
type ConfigTrackerCfg struct { // OCR Config ConfigDigest hexutil.Bytes ConfigCount uint64 Signers []hexutil.Bytes Transmitters []string F uint8 OnchainConfig hexutil.Bytes OffchainConfigVersion uint64 OffchainConfig hexutil.Bytes // Tracker config ChangedInBlock uint64 BlockHeight uint64 }
interim struct used for unmarshalling from relay config
func (ConfigTrackerCfg) ToContractConfig ¶
func (cfg ConfigTrackerCfg) ToContractConfig() (ocrtypes.ContractConfig, error)
type RelayConfig ¶
type RelayConfig struct {
ConfigTracker ConfigTrackerCfg
}
Click to show internal directories.
Click to hide internal directories.