Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx *pulumi.Context, deployer Deployer, obsSource ObservationSource, juelsObsSource ObservationSource, relayConfigFunc RelayConfig) error
Types ¶
type Deployer ¶
type Deployer interface {
Load() error // upload contracts (may not be necessary)
DeployLINK() error // deploy LINK contract
DeployOCR() error // deploy OCR contract
TransferLINK() error // transfer LINK to OCR contract
InitOCR(keys []chainlink.NodeKeys) error // initialize OCR contract with provided keys
Fund(addresses []string) error // fund the nodes
OCR2Address() string // fetch deployed OCR contract address
Addresses() map[int]string // map of all deployed addresses (ocr2, validators, etc)
}
Deployer interface for deploying contracts
type ObservationSource ¶
ObservationSource creates the observation source for the CL node jobs
Click to show internal directories.
Click to hide internal directories.