dummy

package
v2.14.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigProvider

func NewConfigProvider(lggr logger.Logger, cfg RelayConfig) (types.ConfigProvider, error)

func NewLLOProvider

func NewLLOProvider(
	lggr logger.Logger,
	cp commontypes.ConfigProvider,
	transmitter llo.Transmitter,
	channelDefinitionCache llotypes.ChannelDefinitionCache,
) relaytypes.LLOProvider

func NewRelayer

func NewRelayer(lggr logger.Logger, chainID string) loop.Relayer

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL