ebtc-protocol / ebtc-bugs-and-issues

A place to report bugs and issues related to all ebtc products
0 stars 0 forks source link

Max button on debt payback #2

Closed xadcv closed 10 months ago

xadcv commented 11 months ago

Is your feature request related to a problem? Please describe. Clearing debt should be possible without having to check the number of decimals left in a position.

Describe the solution you'd like Just requires a 'Max' button on the input field for eBTC debt to select the balanceOf eBTC tokens

Describe alternatives you've considered Leaving it up to the user and hiding everything past 2 decimal places will leave dust on people's wallets

image

mrbasado commented 10 months ago

@xadcv Thank you for your feedback! we have added max buttons on Debt->Pay back and Collateral->Withdraw.