zkBob / zkbob-ui

Apache License 2.0
3 stars 2 forks source link

Optional infinite approval for USDT on Tron #248

Open r0wdy1 opened 10 months ago

r0wdy1 commented 10 months ago

Currently users are forced to call approve every time they make a deposit, which is very inconvenient and leads to unnecessary costs.

  1. The default behavior must be changed so that approve must be called with maximum value
  2. There should be a switch in settings to return to current "exact" behavior
  3. When user is suggested to approve , if switch is in "max" mode , there should be a warning message about potential risks
  4. When user is suggested to approve , if switch is in "exact" mode , there should be a warning message about potential additional costs image