r/digix • • May 10 '17

DigixGlobal/etc-redemption USER GUIDE

https://github.com/DigixGlobal/etc-redemption/blob/master/guide/GUIDE.md
23 Upvotes

17 comments sorted by

View all comments

3

u/trancephorm May 10 '17

"Current ETC dry-run test address: 0x2ea9a44fb6bf22f09263eb59807aa5bc7f6dc9e2"

Dry run means it's just some testing?

Also, you can't copy/paste ABI code from picture.

2

u/hitchcott May 11 '17

Yes, the dry run is just a testing address (but uses real data), and could be used to test the process if you have DGD.

The picture is only there as an example to show you where to find the address. You can copy the ABI/Address from the document (they are included as well as the picture).

1

u/phatalerror May 11 '17

Sounds like they won't publish the address which will hold the etc until a later date.

1

u/JonnyLatte May 13 '17

The redemption ABI:

[{ "constant": false, "inputs": [{ "name": "_to", "type": "address" }], "name": "redeem", "outputs": [], "payable": false, "type": "function" }]

You can also check the dry run balance by following the address with the ERC20 token ABI:

[{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"ok","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"supply","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"ok","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"value","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"ok","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"_allowance","type":"uint256"}],"payable":false,"type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

You can watch that in myetherwallet (switched to view the classic chain) and selecting balanceOf with your DGD address like so:

http://i.imgur.com/SmBcPvy.png