config

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Eth1Endpoint        string // url for eth1 rpc endpoint
	Eth2Endpoint        string // url for eth2 rpc endpoint
	LogFilePath         string
	SuperNodeAccount    string // ssv use
	SsvAccount          string // ssv use
	KeystorePath        string
	GasLimit            string
	MaxGasPrice         string
	PoolReservedBalance string

	TargetOperators []uint64

	Contracts Contracts
	Operators []Operator
}

func Load

func Load(configFilePath string) (*Config, error)

type Contracts

type Contracts struct {
	StorageContractAddress string
	SsvNetworkAddress      string
	SsvNetworkViewsAddress string
	SsvTokenAddress        string
}

type Operator added in v0.4.2

type Operator struct {
	Id     uint64
	Pubkey string
}

Jump to

Keyboard shortcuts

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