Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

ZRX Portal - Staking Simulator #316

Open
mintcloud opened this issue Jul 21, 2020 · 0 comments · May be fixed by #349
Open

ZRX Portal - Staking Simulator #316

mintcloud opened this issue Jul 21, 2020 · 0 comments · May be fixed by #349

Comments

@mintcloud
Copy link
Contributor

mintcloud commented Jul 21, 2020

One of the most requested features by ZRX Portal users is a tool that helps them simulate rewards based on a prospective stake.
The design team at 0xLabs prepared mocks of a sliding widget to be added to the Portal.

Designs

https://www.figma.com/file/hYG4xEMFrugLn6jnUmsOvH/Staking-Dashboard-(staking-calculator)?node-id=3728%3A0

Behavior

Refer to prototype mode in the Figma file.
The widget slides laterally from the right. It's pre-populated with staking pool data, in condensed view. The additional data is available when clicking on 'more settings'.
At the bottom, the reward and the yearly return is estimated and returned to the user.

It's possible to manually enter values. When pool-related metrics are manually entered, the dropdown menu switched to 'Manual'.

Data (WIP)

Here's a rough mapping of the 0xAPI endpoints to be used to calculate the different fields

Access

This widget is contextually available in multiple locations in the Portal:

  • in the staking pool page, via a dedicated CTA button.
  • in the account page, via a 'Calculate Rewards' button near the estimated reward for the staked pool. This section will have to be updated as well (as per designs)
@iamonuwa iamonuwa linked a pull request Oct 4, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant