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

Staking panel CTAs and view states #347

Closed
danielattilasimon opened this issue Mar 12, 2021 · 0 comments · Fixed by #369
Closed

Staking panel CTAs and view states #347

danielattilasimon opened this issue Mar 12, 2021 · 0 comments · Fixed by #369
Assignees
Labels

Comments

@danielattilasimon
Copy link
Collaborator

Similarly to the Trove and Stability Deposit panels, Staking shall have multiple different views depending on underlying state.

Views

Three major views have been identified:

  • empty
  • read-only (non-empty)
  • adjusting

Empty

The "empty" view will show copy aimed at educating the user on Staking.

Stake LQTY to earn a share of borrowing and redemption fees. (TBD)
[ Start staking ]

Component: NoStake (new)

Adjusting

The "adjusting" view will be used to cover both an initial stake ("creation", i.e. zero current stake) and adjustments to an existing stake. However, in the latter case, extra information will be shown, such as the gains (LUSD & ETH) that will be paid out as a side-effect of the adjustment.

You are staking/withdrawing X LQTY and claiming Y ETH and Z LUSD. (TBD)
[ Cancel ] [ Confirm ]

Component: StakingManager (existing)

Read-only

The read-only view shows the user's current staked LQTY amount (non-zero) and LUSD & ETH gains available for withdrawal (if any).

[ Adjust stake ] [ Claim gains ]

Component: ReadOnlyStake (new)

States

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant