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)
Click to show internal directories.
Click to hide internal directories.