ops

package module
v0.0.0-...-02b76df Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 10 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

type ObservationSource func(priceAdapter string) string

ObservationSource creates the observation source for the CL node jobs

type RelayConfig

type RelayConfig func(ctx *pulumi.Context, addresses map[int]string) (map[string]string, error)

RelayConfig creates the stringified config for the job spec

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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