51 large

How do I convert my The DAO tokens into ethers using the withdrawal contract after the hard fork?

rubyu2 · 于 发布 · 最后由 colorbit回复 · 1315 次阅读

Withdrawing Using Ethereum Wallet

Make sure that you have downloaded Ethereum Wallet 0.8.1 or later.

Start Ethereum Wallet and select "Yes" to the question "Do you want to activate the chain in which funds linked to the exploit are restored to a contract where they can be withdrawn by The DAO token holders?".

If you have not already added a watch on The DAO contract, see The DAO - How to add and watch the DAO contract.中文教程见:http://ethfans.org/topics/265 This step will give you access to approve the transfer of DAOs to the Withdrawal contract.

Add a watch on The DAO Withdrawal contact. Use the same procedure as in the link directly above, but set:

  • Contract Name: The DAO Withdrawal
  • Contract Address: 0xbf4ed7b27f1d666546e30d74d50d173d20bca754
  • JSON Interface: [{"constant":false,"inputs":[],"name":"trusteeWithdraw","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"mainDAO","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[],"name":"trustee","outputs":[{"name":"","type":"address"}],"type":"function"}]

NOTE that the steps below have not been tested yet and I'll update this answer when I've tested it after the hard fork

  1. Get the balance of your accounts The DAO token balance by calling The DAO's balanceOf()with your account as the parameter.
  2. Execute The DAO's approve() function with following parameters:
    • The Withdrawal contract address 0xbf4ed7b27f1d666546e30d74d50d173d20bca754; and
    • The DAO token balance of the address from step 1. above.
  3. Execute The DAO Withdrawal's withdraw() function.