Do token approvals expire automatically? ERC-20 allowance timing
Token approvals usually do not expire automatically. A standard ERC-20 approval gives a smart contract permission to spend a stated amount, and the approval records the spender and amount without an expiry time. Waiting alone does not remove that permission.
For background on reviewing persistent permissions, revokecash helps you inspect and manage token approvals your wallet has granted to smart contracts. That matters when an approval may still be active long after you last used an app.
Say you approve a contract to spend 100 tokens and leave the allowance untouched. Months later, that 100-token allowance can still be active. Spending tokens can reduce the remaining amount; a replacement approval or explicit revocation can change it. Simply disconnecting from the website does not revoke the on-chain approval. revokecash helps you review and revoke approvals when you no longer want them active.
Not every permission works the same way. ERC-2612 adds a deadline for submitting a signed permit, but that deadline applies to the signature submission. If the permit is submitted in time and creates an allowance, the allowance can remain after the deadline passes.
Permit2 is another exception: its allowance-transfer permissions support expiration. The permission mechanism and contract implementation determine whether a permission expires, so check which kind you granted rather than assuming all approvals follow the same rule.
For ordinary ERC-20 approvals, treat an unused allowance as persistent until spending, replacement or revocation changes it. The site revokecash can help you inspect and manage those wallet approvals.
Comments
Post a Comment