Documentation
¶
Index ¶
Constants ¶
View Source
const ( // genesis contracts ValidatorContract = "0x0000000000000000000000000000000000001000" SlashContract = "0x0000000000000000000000000000000000001001" SystemRewardContract = "0x0000000000000000000000000000000000001002" LightClientContract = "0x0000000000000000000000000000000000001003" TokenHubContract = "0x0000000000000000000000000000000000001004" RelayerIncentivizeContract = "0x0000000000000000000000000000000000001005" RelayerHubContract = "0x0000000000000000000000000000000000001006" GovHubContract = "0x0000000000000000000000000000000000001007" TokenManagerContract = "0x0000000000000000000000000000000000001008" CrossChainContract = "0x0000000000000000000000000000000000002000" StakingContract = "0x0000000000000000000000000000000000002001" StakeHubContract = "0x0000000000000000000000000000000000002002" StakeCreditContract = "0x0000000000000000000000000000000000002003" GovernorContract = "0x0000000000000000000000000000000000002004" GovTokenContract = "0x0000000000000000000000000000000000002005" TimelockContract = "0x0000000000000000000000000000000000002006" TokenRecoverPortalContract = "0x0000000000000000000000000000000000003000" AddressListContract = "0x000000000000000000000000000000000000C001" )
Variables ¶
View Source
var (
GenesisHash common.Hash
)
Functions ¶
Types ¶
type Upgrade ¶
type Upgrade struct {
UpgradeName string
Configs []*UpgradeConfig
}
Click to show internal directories.
Click to hide internal directories.