relay

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SupportedRelayers = map[types.Network]struct{}{
		types.EVM:    {},
		types.Solana: {},
		types.Terra:  {},
	}
)

Functions

func NewDelegate

func NewDelegate(ks keystore.Master) *delegate

NewDelegate creates a master relay delegate which manages "relays" which are OCR2 median reporting plugins for various chains (evm and non-evm). nil Relayers will be disabled.

Types

type OCR2ProviderArgs

type OCR2ProviderArgs struct {
	ID              int32
	ContractID      string
	TransmitterID   null.String
	Relay           types.Network
	RelayConfig     job.RelayConfig
	IsBootstrapPeer bool
}

OCR2ProviderArgs contains the minimal parameters to create a OCR2 Provider.

Directories

Path Synopsis
evm
Types are shared with external relay libraries so they can implement the interfaces required to run as a core OCR job.
Types are shared with external relay libraries so they can implement the interfaces required to run as a core OCR job.

Jump to

Keyboard shortcuts

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