Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultChain = bttcChainID
)
Functions ¶
func IsV1FactoryAddr ¶
func IsV2FactoryAddr ¶
Types ¶
type ChainConfig ¶
type ChainConfig struct { StartBlock uint64 CurrentFactory common.Address PriceOracleAddress common.Address BatchAddress common.Address VaultLogicAddress common.Address DeploymentGas string Endpoint string StatusAddress common.Address FileMetaAddress common.Address MultiEndpoint []string }
func GetChainConfig ¶
func GetChainConfig(chainID int64) (*ChainConfig, bool)
func InitChainConfig ¶
Click to show internal directories.
Click to hide internal directories.