dexwebapp
dexwebapp copied to clipboard
Auto deduct fee from full balance transactions without user having to calculate and adjust manually.
Currently when adding liquidity to AMM pools and using the full balance of a token the transaction fails.
To make this more fluid and less problematic for users, the fee amount should be deducted from the transaction balance automatically rather than failing the transaction or have the user calculate and deduct the fee from their balance in order to successfully initiate the transaction.,
For example if the full balance was say 2000USDT for ETH/USDT pool and the fee was $10, you would simply be able to add $2000 as maximum and not have to input $1990 and leave $10 for the fee.