Fujicracy / fuji-v2

Cross-chain money market aggregator
https://fuji-v2-frontend.vercel.app
15 stars 10 forks source link

Very small balances #668

Closed brozorec closed 10 months ago

brozorec commented 10 months ago

Problem

When I have a very small amount, the balance is displayed with an E notation. When I click the max button, the input fills with a huge number.

Solution

Display "Balance: < 0.0001" where 0.0001 is the DUST constant. When the user hits the max button, fill with the actual amount.

image