From 1d627494374af720a23931084c4a35cee934666e Mon Sep 17 00:00:00 2001 From: ronakgothi Date: Wed, 29 May 2019 20:33:23 +0530 Subject: [PATCH] updated foundation address --- cmd/puppeth/wizard_genesis.go | 10 +++++----- common/types.go | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index 1b8402766a..713dd7a03d 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -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, diff --git a/common/types.go b/common/types.go index ebcbcbf2fa..785b123618 100644 --- a/common/types.go +++ b/common/types.go @@ -33,7 +33,7 @@ const ( MasternodeVotingSMC = "xdc0000000000000000000000000000000000000088" BlockSigners = "xdc0000000000000000000000000000000000000089" RandomizeSMC = "xdc0000000000000000000000000000000000000090" - FoudationAddr = "xdc0000000000000000000000000000000000000068" + FoudationAddr = "xdc746249C61f5832C5eEd53172776b460491bDcd5C" TeamAddr = "xdc0000000000000000000000000000000000000099" VoteMethod = "0x6dd7d8ea" UnvoteMethod = "0x02aa9be2"