Withdraw or claim from sLEO contract

For those who have staked LEO tokens on LeoDex and now aren't able to see their staked tokens, or even the small rewards they still have there, I decided it should be the holder's choice what happens with their tokens.

For those who haven't followed it, sLEO is no longer getting rewards. From what I understand, it is now being used for buybacks instead. See the screenshot below, similar to the LeoStrategy tokens.

image.png

I kept my tokens staked because we were told that while the switch happened from the old staking contract to the new one, the rewards would keep stacking up and we would get them later. I now think that we will never get those rewards, so I decided I wanted to unstake my tokens.

I could have done this like somebody else did, directly from the contract page itself, but then I thought maybe I can help others who are in the same situation.

So I started checking the contract with GPT, asked some questions about it, and we made a very simple page that only exposes the normal user actions:

  • claim rewards
  • withdraw + claim
  • exit

I intentionally did not include the withdraw-without-rewards function, because nobody should accidentally use that.

I tried to add as many different wallets as possible, so when you connect to the page you can see what you have in the contract and what rewards you can claim.

Below you can see what the page looks like. If you have not unstaked or claimed yet, you will see your values in the middle.

image.png

In the screenshot below you can see the 3 transactions I did. 0x135... is my address. I first did a small test with just 1 LEO withdraw, then did a claim, and then exit. The separate claim was not really needed, because withdraw also claims rewards.

image.png

For those who feel the same and just want to get their tokens back, I made this as a free hosted page:

https://sleo-contract.netlify.app

The code is here:

https://github.com/jgeerinckx/sleo-contract

This is not an official LeoDex or Inleo tool. It is only a simple frontend for the verified Arbitrum contract. Please check the contract address before signing anything:

0xab3657d48d4bcaaa4bb3cd24a3d0dfccd70ede5c



0
0
0.000
0 comments