Approval Streamlining #2
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The website should first check whether a sufficient approval for the token already exists, and skip the approval step if possible.
When approving, set the approval amount to 2^256-1, which is
115792089237316195423570985008687907853269984665640564039457584007913129639935When tokens are approved with this max amount, they never reduce the amount of the approval. This type of "max approval" is a permanent approval regardless of amount, and can be re-used across many swaps.