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

[FEAT] Unstake Flow to redeem tgTokens (ie. from tgDOT back to DOT) #2336

Open
Tracked by #2316
monaiuu opened this issue May 27, 2024 · 0 comments · May be fixed by #2415
Open
Tracked by #2316

[FEAT] Unstake Flow to redeem tgTokens (ie. from tgDOT back to DOT) #2336

monaiuu opened this issue May 27, 2024 · 0 comments · May be fixed by #2415
Assignees
Labels
tangle-dapp Tangle Staking dApp

Comments

@monaiuu
Copy link
Contributor

monaiuu commented May 27, 2024

Description

Implement unstaking request flow to enable users to convert their LSTs back to the underlying staked assets.

Requirements

User Inputs/Selection:

  • LST/Parachain Selection: Users start the unstaking process by selecting the specific Liquid Staking Token (LST) and Parachain to unstake.
  • Unstake Amount: input the total amount of tgDOT to convert back to DOT.

Details Component:

  • List any applicable fees that may be incurred during the unstaking process. (consider reward fees)
  • Show the unstake period (e.g., 7 days).
  • Display the conversion rate from tgDOT to DOT. When a user initiates an unstaking request for their tgDOT, the exchange rate at that moment is used to determine the amount of DOT that will be unbonded, taking into account the accrued staking rewards and any fees.

Unstake & Withdrawal Transactions:

  • Upon confirmation of the unstake transaction, update the Overview Card to reflect the amount currently in the 'unstaking' state.
  • After the unbonding period, enable the 'withdraw' button in the Unstake tab, allowing users to transfer their DOT back to their wallet.

Rebond Transaction:

  • Provide users with the option to rebond their funds back to the staking pool.
  • When rebonding, display the current rate of minting the LST for the rebond transaction, ensuring transparency and informed decision-making.

Screenshot (UI Updates Required)

Figma Link

@yurixander yurixander changed the title [TASK[ Implement logic/UI for unstaking requests from tgDOT to DOT [TASK] Implement logic/UI for unstaking requests from tgDOT to DOT May 28, 2024
@yurixander yurixander changed the title [TASK] Implement logic/UI for unstaking requests from tgDOT to DOT [FEAT] Unstake card to redeem VTokens (ie. from tgDOT back to DOT) Jun 14, 2024
@yurixander yurixander self-assigned this Jun 14, 2024
@yurixander yurixander added the tangle-dapp Tangle Staking dApp label Jun 15, 2024
@monaiuu monaiuu changed the title [FEAT] Unstake card to redeem VTokens (ie. from tgDOT back to DOT) [FEAT] Unstake Flow to redeem tgTokens (ie. from tgDOT back to DOT) Jun 25, 2024
@yurixander yurixander linked a pull request Jul 4, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tangle-dapp Tangle Staking dApp
Projects
Status: Building 🏗️
Development

Successfully merging a pull request may close this issue.

2 participants