relay

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const LoggerTag = "CONFIG_" + relay.LoggerTag

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Median is a list of Median contracts to watch.
	Median []configCommon `hcl:"median,block"`

	// Scribe is a list of Scribe contracts to watch.
	Scribe []configCommon `hcl:"scribe,block"`

	// OptimisticScribe is a list of OptimisticScribe contracts to watch.
	OptimisticScribe []configCommon `hcl:"optimistic_scribe,block"`

	// HCL fields:
	Range   hcl.Range       `hcl:",range"`
	Content hcl.BodyContent `hcl:",content"`
	// contains filtered or unexported fields
}

func (*Config) Relay

func (c *Config) Relay(d Dependencies) (*Services, error)

type Dependencies

type Dependencies struct {
	Clients   ethereumConfig.ClientRegistry
	Transport transport.Service
	Logger    log.Logger
}

type Services added in v0.12.0

type Services struct {
	Relay      *relay.Relay
	PriceStore *store.Store
	MuSigStore *relay.MuSigStore
}

Jump to

Keyboard shortcuts

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