shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
158 stars 180 forks source link

USDT approval flow #7156

Open 0xean opened 2 weeks ago

0xean commented 2 weeks ago

USDT requires users to have zero approval before changing it to another value. We should consider this in all approval flows with the token to properly handle this. It will require 2 transactions for a user who needs approve a higher amount.

For example Approval amount needed is 100:

AC

related https://github.com/shapeshift/web/issues/7059

reallybeard commented 6 days ago

Figma reference here: https://www.figma.com/design/ZkRqq0Bk1glXqIW776IAtr/Portals?node-id=538-5320&t=zgFb47wWZnHZ5pVr-0