multiversx/mx-exchange-sc

Display totals for farmed liquidity pool tokens

Closed this issue · 0 comments

The "Account details" screen provides a very useful summary for the assets within the exchange.

I would be helpful if we could have in that screen a total for each staked token in the farms.

Right now, the only way to get it is to hover the "i" icon on each liquidity pool and add the values manually for each farm. It's already an inconvenience and I can imagine it become even more annoying as more Farms/Tokens are added.

For example, if I have 100 EGLD in EGLD-MEX and 20 EGLD in EGLD-USDC, the total should show that I have 120 EGLD in farms. Same for MEX.

See screenshot for proposed location:

Screenshot 2021-11-26 182119

Adding new rows in the above proposed location might clutter the UI, so maybe a new "i" icon next to "Farms" to display these totals.

LE: from the source code I realize this might not be the right place for this feature request, but I was directed towards this repo from the Telegram channel.