Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MintageAddress, _ = types.HexToAddress("qlc_3qjky1ptg9qkzm8iertdzrnx9btjbaea33snh1w4g395xqqczye4kgcfyfs1")
NEP5PledgeAddress, _ = types.HexToAddress("qlc_3fwi6r1fzjwmiys819pw8jxrcmcottsj4iq56kkgcmzi3b87596jwskwqrr5")
RewardsAddress, _ = types.HexToAddress("qlc_3oinqggowa7f1rsjfmib476ggz6s4fp8578odjzerzztkrifqkqdz5zjztb3")
// Builtin contract addresses without private key hold by anyone
MinerAddress, _ = GenerateBuiltinContractAddress(21)
BlackHoleAddress, _ = GenerateBuiltinContractAddress(22)
RepAddress, _ = GenerateBuiltinContractAddress(23)
PubKeyDistributionAddress, _ = GenerateBuiltinContractAddress(24)
SettlementAddress, _ = GenerateBuiltinContractAddress(25)
PermissionAddress, _ = GenerateBuiltinContractAddress(26)
PrivacyDemoKVAddress, _ = GenerateBuiltinContractAddress(27)
PtmKeyKVAddress, _ = GenerateBuiltinContractAddress(28)
DoDSettlementAddress, _ = GenerateBuiltinContractAddress(29)
KYCAddress, _ = GenerateBuiltinContractAddress(30)
QGasSwapAddress, _ = GenerateBuiltinContractAddress(31)
ChainContractAddressList = []types.Address{NEP5PledgeAddress, MintageAddress, RewardsAddress, MinerAddress,
BlackHoleAddress, RepAddress, PubKeyDistributionAddress, SettlementAddress, PermissionAddress,
PrivacyDemoKVAddress, PtmKeyKVAddress, DoDSettlementAddress, KYCAddress, QGasSwapAddress,
}
RewardContractAddressList = []types.Address{MinerAddress, RepAddress}
PovContractStateAddressList = []types.Address{KYCAddress, PermissionAddress, PubKeyDistributionAddress}
)
Functions ¶
func IsChainContractAddress ¶
func IsContractAddress ¶
func IsRewardContractAddress ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.