mstable/mStable-app

Add more detailed Basket stats

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Right now there is a lack of clarity on the Basket composition, presently and historically. We want to show users some more information about the contents of the Basket of a given mAsset.

Describe the solution you'd like

Provide 2 of 3 of the following additional stats:

  • Total amount of bAsset held in the current basket vs total supply of the bAsset itself
    • Bonus - if we are the top holder of the bAsset, then show that with an icon! (This might require external lookup or public subgraph as opposed to just using the contracts)
  • Breakdown of APY being generated by each bAsset in the lending protocol
    • e.g. 18m USDT is currently earning 6% APY - this adds 24% to the SAVE APY
  • Historic basket composition data using DuneAnalytics - create on DuneAnalytics and embed as a 'historic' view of the Basket. See post here for details

Bonus

Think of some other stats that the users would like to see on the analytics page

Additional context

  • Graphs should try to maintain theme and styling with the rest of the app
  • Reach out to the mStable team if you need more information