Manual Unstaking from the deprecated AST Staking contract

I wrote this tutorial as a guide to those who are stuck on the deprecated AST contract.

Manual Unstaking

Navigate to the deprecated staking contract in etherscan (or the V2 contract) -> contract -> read contract

Check the AST balance in the 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

Check your AST balance in the deprecated contract
Check your AST balance in the deprecated contract

Check the balance available to unstake

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.

Check your AST balance available to unstake. If you have made multiple stakes, you can change the index to cycle through the various stakes
Check your AST balance available to unstake. If you have made multiple stakes, you can change the index to cycle through the various stakes

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.

Unstake

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!

Connect your wallet to etherscan
Connect your wallet to etherscan
Enter the amount you wish to unstake, and hit "Write". You will have to pay a gas fee to unstake
Enter the amount you wish to unstake, and hit "Write". You will have to pay a gas fee to unstake