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

ZRX Portal - Staking Simulator #316

@mintcloud

Description

@mintcloud

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions