<100 subscribers
Share Dialog
Share Dialog
I wrote this tutorial as a guide to those who are stuck on the deprecated AST contract.
Navigate to the deprecated staking contract in etherscan (or the V2 contract) -> contract -> read contract
Under balanceOf, input your address and click query (querying the chain does not require gas)
Check to ensure that the amount tallies with the amount of AST you have staked
Note: The amount displayed is multiplied by 10,000 to account for the decimal places

Under available, input your address and under index, input 0
This number represents the amount of AST available to be unstaked currently. Make sure that this number tallies with the number of AST in balanceOf if you want to withdraw the full amount.
Note: If you have made multiple stakes into this contract, you can check the balance available for each staking event by changing index.

If the number does not tally, either, you have to wait longer to unstake the full amount (20 weeks), or you had staked in multiple batches. Check your historical interactions with this contract in etherscan to find out when you staked, and how many stakes you had made.
Finally, to unstake, head to write contract and scroll to the unstake function.
Input the amount you wish to unstake (it has to be less than the available balance from above). If you had staked multiple times, you can batch unstake by providing the input in an array format [unstake1,unstake2,unstake3...].
Sign the transaction with your web3 wallet and pay the gas fee to unstake.
Note: Remember to multiply the AST you wish to unstake by 10,000 to account for decimals!


I wrote this tutorial as a guide to those who are stuck on the deprecated AST contract.
Navigate to the deprecated staking contract in etherscan (or the V2 contract) -> contract -> read contract
Under balanceOf, input your address and click query (querying the chain does not require gas)
Check to ensure that the amount tallies with the amount of AST you have staked
Note: The amount displayed is multiplied by 10,000 to account for the decimal places

Under available, input your address and under index, input 0
This number represents the amount of AST available to be unstaked currently. Make sure that this number tallies with the number of AST in balanceOf if you want to withdraw the full amount.
Note: If you have made multiple stakes into this contract, you can check the balance available for each staking event by changing index.

If the number does not tally, either, you have to wait longer to unstake the full amount (20 weeks), or you had staked in multiple batches. Check your historical interactions with this contract in etherscan to find out when you staked, and how many stakes you had made.
Finally, to unstake, head to write contract and scroll to the unstake function.
Input the amount you wish to unstake (it has to be less than the available balance from above). If you had staked multiple times, you can batch unstake by providing the input in an array format [unstake1,unstake2,unstake3...].
Sign the transaction with your web3 wallet and pay the gas fee to unstake.
Note: Remember to multiply the AST you wish to unstake by 10,000 to account for decimals!


agrimony
agrimony
No comments yet