github.com/codingfuture/orig-energi3@v0.8.4/energi/params/accounts.go (about) 1 // Copyright 2019 The Energi Core Authors 2 // This file is part of the Energi Core library. 3 // 4 // The Energi Core library is free software: you can redistribute it and/or modify 5 // it under the terms of the GNU Lesser General Public License as published by 6 // the Free Software Foundation, either version 3 of the License, or 7 // (at your option) any later version. 8 // 9 // The Energi Core library is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU Lesser General Public License for more details. 13 // 14 // You should have received a copy of the GNU Lesser General Public License 15 // along with the Energi Core library. If not, see <http://www.gnu.org/licenses/>. 16 17 package params 18 19 import ( 20 "math/big" 21 22 "github.com/ethereum/go-ethereum/common" 23 ) 24 25 var ( 26 Energi_BlockReward = common.BigToAddress(big.NewInt(0x300)) 27 Energi_Treasury = common.BigToAddress(big.NewInt(0x301)) 28 Energi_MasternodeRegistry = common.BigToAddress(big.NewInt(0x302)) 29 Energi_StakerReward = common.BigToAddress(big.NewInt(0x303)) 30 Energi_BackboneReward = common.BigToAddress(big.NewInt(0x304)) 31 Energi_SporkRegistry = common.BigToAddress(big.NewInt(0x305)) 32 Energi_CheckpointRegistry = common.BigToAddress(big.NewInt(0x306)) 33 Energi_BlacklistRegistry = common.BigToAddress(big.NewInt(0x307)) 34 Energi_MigrationContract = common.BigToAddress(big.NewInt(0x308)) 35 Energi_MasternodeToken = common.BigToAddress(big.NewInt(0x309)) 36 Energi_Blacklist = common.BigToAddress(big.NewInt(0x30A)) 37 Energi_Whitelist = common.BigToAddress(big.NewInt(0x30B)) 38 Energi_MasternodeList = common.BigToAddress(big.NewInt(0x30C)) 39 40 Energi_BlockRewardV1 = common.BigToAddress(big.NewInt(0x310)) 41 Energi_TreasuryV1 = common.BigToAddress(big.NewInt(0x311)) 42 Energi_MasternodeRegistryV1 = common.BigToAddress(big.NewInt(0x312)) 43 Energi_StakerRewardV1 = common.BigToAddress(big.NewInt(0x313)) 44 Energi_BackboneRewardV1 = common.BigToAddress(big.NewInt(0x314)) 45 Energi_SporkRegistryV1 = common.BigToAddress(big.NewInt(0x315)) 46 Energi_CheckpointRegistryV1 = common.BigToAddress(big.NewInt(0x316)) 47 Energi_BlacklistRegistryV1 = common.BigToAddress(big.NewInt(0x317)) 48 Energi_CompensationFundV1 = common.BigToAddress(big.NewInt(0x318)) 49 Energi_MasternodeTokenV1 = common.BigToAddress(big.NewInt(0x319)) 50 51 Energi_SystemFaucet = common.BigToAddress(big.NewInt(0x320)) 52 Energi_Ephemeral = common.HexToAddress("0x457068656d6572616c") 53 54 // NOTE: this is NOT very safe, but it optimizes significantly 55 Storage_ProxyImpl = common.BigToHash(big.NewInt(0x01)) 56 )