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

[Data Source] Create Stake / Delegate CTA + Stake modal #47

Open
7 tasks
FrancoAguzzi opened this issue Aug 18, 2024 · 0 comments
Open
7 tasks

[Data Source] Create Stake / Delegate CTA + Stake modal #47

FrancoAguzzi opened this issue Aug 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@FrancoAguzzi
Copy link
Contributor

FrancoAguzzi commented Aug 18, 2024

Stake CTA + modal

  • The stake CTA should display "Stake" label if user is a keyper
  • The stake CTA should display "Delegate" label if user is a keyper
  • The stake modal should display a Select Keyper Dropdown, a Number Input Slider, a table with Lock Period information, Expected Rewards and Average stkSHU - SHU conversion rate and a table with the step-by-step information on how to stake / delegate some amount of SHU
  • The click of stake modal main CTA should trigger, at first, an amount approval request to user's wallet, and, if first transaction ran successfully, the Staking / Delegate SC call to do the stake
  • If transaction fails, a toast message should be shown
  • If transaction succeeds, a toast message should be shown
  • By the end of the transaction, a "Refresh page" toast message should be displayed
@FrancoAguzzi FrancoAguzzi self-assigned this Aug 26, 2024
@FrancoAguzzi FrancoAguzzi added the enhancement New feature or request label Aug 26, 2024
@FrancoAguzzi FrancoAguzzi changed the title [Data Source] Create Stake CTA + Stake modal [Data Source] Create Stake / Delegate CTA + Stake modal Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In review
Development

No branches or pull requests

1 participant