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

My Stakes - DIVA Governance Dashbaord #766

Open
11 tasks
Ayaz1997 opened this issue Jan 26, 2023 · 0 comments
Open
11 tasks

My Stakes - DIVA Governance Dashbaord #766

Ayaz1997 opened this issue Jan 26, 2023 · 0 comments
Labels
design good first issue Good for newcomers

Comments

@Ayaz1997
Copy link

Ayaz1997 commented Jan 26, 2023

Context

This issue focuses on the My Stakes page for the DIVA Governance dashboard and its features.
The Overview and My Stakes tab can be switched and when a wallet is connected user can see
details of their staking towards a candidate. They can also add more tokens for stake on an existing candidate or unstake their tokens after a certain period of time.

Following is the list of features:

  • Default profile image of candidate's wallet

  • Staked to - candidate's wallet address/ENS

  • Staked - the amount of $DIVA tokens staked towards the candidate's address

  • Staked since - total duration since the token was staked

  • Min unstake duration - minimum time period before which the tokens cannot be unstaked

    • if Staked since < Min stake duration -> disable unstake
    • if Staked since >= Min stake duration -> enable unstake
  • More info - click to view the candidate's profile details

  • Stake -> click to open pop-up -> enter amount of tokens to stake -> confirm stake -> complete transaction on wallet

  • Unstake -> click to open pop-up -> enter amount of tokens to unstake -> view current stake balance with max click button -> confirm Unstake -> complete transaction on wallet

Design Mockup

Design - https://www.figma.com/file/CqOXnCH2EMUKRfVxfnUccz/DIVA-Governance-Dashboard?node-id=86%3A739&t=fudsuPmBYLQ1xGec-4

Prototype - https://www.figma.com/proto/CqOXnCH2EMUKRfVxfnUccz/DIVA-Governance-Dashboard?node-id=86%3A739&scaling=min-zoom&page-id=0%3A1&starting-point-node-id=128%3A419

Wallet not connected
image

Wallet connected
image

Stake $DIVA
image

Unstake $DIVA
image

More info (view candidate's profile)
image

Acceptance Criteria

  • The design matches with mockup provided
  • The app functionality is according to the specs provided
  • Has been tested and reviewed based on the specs
@Ayaz1997 Ayaz1997 added good first issue Good for newcomers design labels Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant