config

package
v1.10.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: BSD-3-Clause Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MainnetChainID = xdaiCfg.ChainID
	TestnetChainID = goerliCfg.ChainID
)

Functions

This section is empty.

Types

type ChainConfig

type ChainConfig struct {
	ChainID         int64
	StartBlock      uint64
	LegacyFactories []common.Address
	PostageStamp    common.Address
	Staking         common.Address
	CurrentFactory  common.Address
	PriceOracle     common.Address // contract address
	Redistribution  common.Address
}

func GetChainConfig

func GetChainConfig(chainID int64) (ChainConfig, bool)

Jump to

Keyboard shortcuts

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