mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 21:54:30 +00:00
Merge pull request #88 from XinFinOrg/develop
updated foundation address
This commit is contained in:
commit
fed1401642
2 changed files with 6 additions and 6 deletions
|
|
@ -171,7 +171,7 @@ func (w *wizard) makeGenesis() {
|
|||
genesis.Config.XDPoS.Gap = uint64(w.readDefaultInt(450))
|
||||
|
||||
fmt.Println()
|
||||
fmt.Println("What is foundation wallet address? (default = xdc0000000000000000000000000000000000000068)")
|
||||
fmt.Println("What is foundation wallet address? (default = xdc746249C61f5832C5eEd53172776b460491bDcd5C)")
|
||||
genesis.Config.XDPoS.FoudationWalletAddr = w.readDefaultAddress(common.HexToAddress(common.FoudationAddr))
|
||||
|
||||
// Validator Smart Contract Code
|
||||
|
|
@ -232,7 +232,7 @@ func (w *wizard) makeGenesis() {
|
|||
storage = make(map[common.Hash]common.Hash)
|
||||
contractBackend.ForEachStorageAt(ctx, multiSignWalletAddr, nil, f)
|
||||
fBalance := big.NewInt(0) // 3 billion
|
||||
fBalance.Add(fBalance, big.NewInt(3*1000*1000*1000))
|
||||
fBalance.Add(fBalance, big.NewInt(0*1000*1000*1000))
|
||||
fBalance.Mul(fBalance, big.NewInt(1000000000000000000))
|
||||
genesis.Alloc[common.HexToAddress(common.FoudationAddr)] = core.GenesisAccount{
|
||||
Balance: fBalance,
|
||||
|
|
@ -299,7 +299,7 @@ func (w *wizard) makeGenesis() {
|
|||
contractBackend.ForEachStorageAt(ctx, multiSignWalletTeamAddr, nil, f)
|
||||
// Team balance.
|
||||
balance := big.NewInt(0) // 20 billion
|
||||
balance.Add(balance, big.NewInt(20*1000*1000*1000))
|
||||
balance.Add(balance, big.NewInt(30*1000*1000))
|
||||
balance.Mul(balance, big.NewInt(1000000000000000000))
|
||||
subBalance := big.NewInt(0) // i * 50k
|
||||
subBalance.Add(subBalance, big.NewInt(int64(len(signers))*10*1000*1000))
|
||||
|
|
@ -312,10 +312,10 @@ func (w *wizard) makeGenesis() {
|
|||
}
|
||||
|
||||
fmt.Println()
|
||||
fmt.Println("What is swap wallet address for fund 14.5Billion XDC?")
|
||||
fmt.Println("What is swap wallet address for fund 37.47Billion XDC?")
|
||||
swapAddr := *w.readAddress()
|
||||
baseBalance := big.NewInt(0) // 14.5Billion
|
||||
baseBalance.Add(baseBalance, big.NewInt(145*1000*1000*100))
|
||||
baseBalance.Add(baseBalance, big.NewInt(3747*1000*1000*10))
|
||||
baseBalance.Mul(baseBalance, big.NewInt(1000000000000000000))
|
||||
genesis.Alloc[swapAddr] = core.GenesisAccount{
|
||||
Balance: baseBalance,
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ const (
|
|||
MasternodeVotingSMC = "xdc0000000000000000000000000000000000000088"
|
||||
BlockSigners = "xdc0000000000000000000000000000000000000089"
|
||||
RandomizeSMC = "xdc0000000000000000000000000000000000000090"
|
||||
FoudationAddr = "xdc0000000000000000000000000000000000000068"
|
||||
FoudationAddr = "xdc746249C61f5832C5eEd53172776b460491bDcd5C"
|
||||
TeamAddr = "xdc0000000000000000000000000000000000000099"
|
||||
VoteMethod = "0x6dd7d8ea"
|
||||
UnvoteMethod = "0x02aa9be2"
|
||||
|
|
|
|||
Loading…
Reference in a new issue