The-Dao
The DAO的extraBalance賬戶的地址和余額是多少
來自DAO - 創建:
- 在前 14 天,DAO 代幣以 1 ether = 100 代幣的速度創建
- 在創建期結束前的隨後幾天,每創建 100 個代幣的乙太幣數量會增加,直到最終的創建速率為 1.5 個乙太幣 = 100 個代幣。
- 超過 1 ether = 100 個代幣的多餘乙太幣將轉移到一個
extraBalance
帳戶。這個賬戶的地址和余額是多少?
在 中執行以下命令
geth console
:> var theDAOABI = [ { "type": "function", "outputs": [ { "type": "uint256", "name": "", "value": "5e+22" } ], "name": "minTokensToCreate", "inputs": [], "constant": true }, { "type": "function", "outputs": [ { "type": "uint256", "name": "", "value": "2.668900014413644230605979e+24" } ], "name": "totalSupply", "inputs": [], "constant": true }, { "type": "function", "outputs": [ { "type": "uint256", "name": "", "value": "1464426000" } ], "name": "closingTime", "inputs": [], "constant": true }, { "type": "function", "outputs": [], "name": "refund", "inputs": [], "constant": false }, { "type": "function", "outputs": [ { "type": "address", "name": "", "value": "0xda4a4626d3e16e094de3225a751aab7128e96526" } ], "name": "curator", "inputs": [], "constant": true }, { "type": "function", "outputs": [ { "type": "uint256", "name": "balance", "value": "0" } ], "name": "balanceOf", "inputs": [ { "type": "address", "name": "_owner" } ], "constant": true }, { "type": "function", "outputs": [ { "type": "uint256", "name": "_numberOfProposals", "value": "0" } ], "name": "numberOfProposals", "inputs": [], "constant": true }, { "type": "function", "outputs": [ { "type": "address", "name": "", "value": "0x807640a13483f8ac783c557fcdf27be11ea4ac7a" } ], "name": "extraBalance", "inputs": [], "constant": true }, { "type": "function", "outputs": [ { "type": "bool", "name": "", "value": true } ], "name": "isFueled", "inputs": [], "constant": true }, { "type": "function", "outputs": [ { "type": "bool", "name": "success" } ], "name": "createTokenProxy", "inputs": [ { "type": "address", "name": "_tokenHolder" } ], "constant": false }, { "type": "function", "outputs": [ { "type": "uint256", "name": "_voteID" } ], "name": "vote", "inputs": [ { "type": "uint256", "name": "_proposalID" }, { "type": "bool", "name": "_supportsProposal" } ], "constant": false }, { "type": "event", "name": "FuelingToDate", "inputs": [ { "type": "uint256", "name": "value", "indexed": false } ], "anonymous": false }, { "type": "event", "name": "ProposalAdded", "inputs": [ { "type": "uint256", "name": "proposalID", "indexed": true }, { "type": "address", "name": "recipient", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false }, { "type": "bool", "name": "newCurator", "indexed": false }, { "type": "string", "name": "description", "indexed": false } ], "anonymous": false }, { "type": "event", "name": "ProposalTallied", "inputs": [ { "type": "uint256", "name": "proposalID", "indexed": true }, { "type": "bool", "name": "result", "indexed": false }, { "type": "uint256", "name": "quorum", "indexed": false } ], "anonymous": false } ]; undefined > var theDAOAddress = "0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413"; undefined > var theDAO = eth.contract(theDAOABI).at(theDAOAddress); undefined // The account that holds the extra balances > theDAO.extraBalance() "0x807640a13483f8ac783c557fcdf27be11ea4ac7a" // Balance of the extra balance account at 17/05/2016 19:07:35 AEST > web3.fromWei(eth.getBalance("0x807640a13483f8ac783c557fcdf27be11ea4ac7a"), "ether"); 21026.433088706794416575
DAO 的餘額賬戶位於地址0x807640a13483f8ac783c557fcdf27be11ea4ac7a。
The DAO 的額外餘額賬戶在 17/05/2016 19:07:35 AEST 的餘額為 21026.433088706794416575 ETH。
2016 年 5 月 19 日更新 - etherscan.io 上現在有一個TheDAO頁面,顯示主 DAO 賬戶和額外餘額賬戶的餘額。
以下是在區塊1522378中轉移到 The DAO 帳戶的 10 個乙太幣的交易。代幣兌換率為 1.05 ETH = 100 代幣。在這種情況下,乙太幣的數量
10 x (1 - (1.00/1.05)) = 0.47619048
在內部轉移到了extraBalance
賬戶中。這與DAOHub-ExtraBalance 金額的範例相同。在這裡,超過 1 ETH = 100 個代幣的 0.47619048 多餘的乙太幣在內部轉移到了
extraBalance
賬戶:獎金
以下是查找 The DAO 賬戶餘額和創建的代幣總供應量的說明(截至 17/05/2016 01:58:03 AEST 的數字):
> web3.fromWei(eth.getBalance(theDAOAddress), "ether") 10705493.966322505531632523 > theDAO.totalSupply() 1.0705488347353040142013475e+25 > theDAO.totalSupply()/1e16 1070548834.7353041