yam-finance/yam-www

Significant amounts of Sushi LP tokens are truncated to 0

Closed this issue · 3 comments

Describe the bug:
If 0.000015 YAM/ETH SLP tokens are worth ~10,000 USD, it should not be truncated to 0 and treated as dust on the farming page. See screenshot.
Note that this does not impact a users ability to stake or unstake as the LP tokens are visible in the modals that come up.

To Reproduce:
Steps to reproduce the behavior:

  1. Go to https://yam.finance/farm
  2. Connect to a wallet with .0000015 SLP tokens
  3. Observe error as no tokens are displayed on a $10,000 USD position

Expected behavior:
Preferable solutions:

  • To see the amount of Yam/ETH in the SLP position
  • Display the value in terms of USD/YAM/ETH vs LP tokens.

Least preferable, but acceptable fix:

  • Display more decimals

Screenshots:
image
Device:

  • Smartphone: [no]
  • OS: [Windows]
  • Browser [Chrome]
  • Version [92.0]

Please add the screenshot of popup

Please add the screenshot of popup

Sure, but let me be clear that there is no bug in the popup view.

2021-08-06 13_03_36-Window

yeah, just wanna see how the token amount shows on popup.