You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.
Is your feature request related to a problem? Please describe.
As an LP in EARN, I wish to see:
the total amount of money I have in all EARN pools, quickly and easily
the total amount of MTA I have earned and claimed since I started staking
the USD amount and pool share amount (e.g. mUSD and MTA amounts) of each pool i'm staked in
Describe the solution you'd like
On the EARN page, I wish to see the total value of my LP tokens (BPT, UNI-V2) from all pools (1), with a breakdown of the amount of money I have in each pool. I also wish to see my % of the assets in the pool (see screenshot from Zapper.fi) e.g. 1500 mUSD && 20 MTA (2)
This could be added as an extra column(s) in the 'Your pools' section, or you could modify the 'Your pools' columns completely, or simply add some new data at the top of the EARN page.
I also wish to see a running counter, for all the MTA I have earned since I started staking, across all pools (3).
(3) Might be challenging. Have a go - and if it is too difficult to accumulate the results then let us know
Is your feature request related to a problem? Please describe.
As an LP in EARN, I wish to see:
Describe the solution you'd like
On the EARN page, I wish to see the total value of my LP tokens (BPT, UNI-V2) from all pools (1), with a breakdown of the amount of money I have in each pool. I also wish to see my % of the assets in the pool (see screenshot from Zapper.fi) e.g. 1500 mUSD && 20 MTA (2)
This could be added as an extra column(s) in the 'Your pools' section, or you could modify the 'Your pools' columns completely, or simply add some new data at the top of the EARN page.
I also wish to see a running counter, for all the MTA I have earned since I started staking, across all pools (3).
(3) Might be challenging. Have a go - and if it is too difficult to accumulate the results then let us know
Additional context
To get the total MTA earned per pool, you can simply add up all the 'claimed' events from the subgraph. You then add the total claimed, to the unclaimed rewards (see https://github.com/mstable/mStable-app/blob/master/src/components/pages/Earn/StakingRewardsContractProvider.tsx#L58)
Interested in working with mStable? Check out our dApp developer role
The text was updated successfully, but these errors were encountered: