Skip to content
This repository was archived by the owner on Jul 21, 2021. It is now read-only.
This repository was archived by the owner on Jul 21, 2021. It is now read-only.

SAVE calculator #148

@superduck35

Description

@superduck35

Is your feature request related to a problem? Please describe.

Users want to see exactly how much mUSD they might have earned since entering the SAVE contract. Currently the only metric is a very volatile APY.

Describe the solution you'd like

A new page - app.mstable.org/save/calculator

A nice way to visualise and calculate the two questions:

  1. "If I had put in X mUSD into the savings contract at Y date, how much mUSD would I have now?"
  2. "If I put in X mUSD into the savings contract now, how much am I likely to have at Y date in the future?

Bonus points
Innovate - make this fun and engaging.

Some ideas off the top of my head:

  • making the inputs as sliders or something to make it super easy to change
  • comparing against other services.. like 'You would earn an extra $8000 compared to a BANK @ 0.2% APY "
  • fun visualisation.. like stacking up the mUSD tokens.. at some point they become mUSD money bags.. etc
  • visualising the output and gains in a chart

Help

The exchangeRate variable produced by the SavingsContract continually goes up, and makes the credits a user owns worth more mUSD. To get the increase in an mUSD value between two dates, you can take the two exchange rates, and work out the percentage increase in exchange rate, applying that to the mUSD holdings. This increase can be used to extrapolate future returns by converting it into the APY number (this is how we work out the APY in the app currently).

Additional context

This should:

  • look nice, in keeping with the general theme of the app
  • encourage users to deposit into the SAVE contract

Feel free to reach out to the team for any further information.

Interested in working with mStable? Check out our dApp developer role

Metadata

Metadata

Assignees

No one assigned

    Labels

    challengePart of the mStable tech challengeenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions