Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO Add the WhiteHatWithdraw contract for ETC #1

Open
0xTycoon opened this issue Apr 3, 2021 · 0 comments
Open

TODO Add the WhiteHatWithdraw contract for ETC #1

0xTycoon opened this issue Apr 3, 2021 · 0 comments

Comments

@0xTycoon
Copy link
Owner

0xTycoon commented Apr 3, 2021

Address at 0x9f5304DA62A5408416Ea58A17a92611019bD5ce3

https://blockscout.com/etc/mainnet/address/0x9f5304DA62A5408416Ea58A17a92611019bD5ce3/contracts

Methods to call

  • (optional) Check amount whitehatWithdraw.getPaidOut(myAccount);
  • (optional) whitehatWithdraw.calculateWithdraw(myAccount);
  • withdraw with whitehatWithdraw.withdraw(myAccount, percentageWHGDonation, {from: myAccount, value: 0, gas:200000});

ABI

[{"constant":true,"inputs":[{"name":"_dth","type":"address"}],"name":"calculateWithdraw","outputs":[{"name":"","type":"uint256"}],"type":"function"}, {"constant":true,"inputs":[{"name":"_account","type":"address"}],"name":"getPaidOut","outputs":[{"name":"","type":"uint256"}],"type":"function"}, {"constant":false,"inputs":[{"name":"_beneficiary","type":"address"},{"name":"_percentageWHG","type":"uint256"}],"name":"withdraw","outputs":[],"type":"function"}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant