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

SAVE calculator #148

Open
superduck35 opened this issue Aug 13, 2020 · 0 comments
Open

SAVE calculator #148

superduck35 opened this issue Aug 13, 2020 · 0 comments
Labels
challenge Part of the mStable tech challenge enhancement New feature or request

Comments

@superduck35
Copy link
Contributor

superduck35 commented Aug 13, 2020

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

@superduck35 superduck35 added enhancement New feature or request challenge Part of the mStable tech challenge labels Aug 13, 2020
@krzysu krzysu mentioned this issue Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
challenge Part of the mStable tech challenge enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant