官方的 MASTR 标志 MASTR 支持这项工作
目录
← 知识库首页

Technical reference

ERC-2612: a permit deadline is not an allowance expiry

The time limit governs submission of the signature, not necessarily the life of the resulting approval.

Source-based reference · Updated 12 September 2026

研究文章和参考条目以英语发布。导航提供七种语言。

本文目录
  1. What a permit changes
  2. Two different clocks
  3. After an unexpected signature
  4. Sources

What a permit changes

ERC-2612 lets an owner sign an approval containing a spender, value, nonce and deadline. A valid submitted permit updates the owner's allowance and advances the nonce. The owner need not submit the onchain transaction personally; another party can relay the signature.

A deadline is not an expiry. Owner signs a permit with a deadline. Permit is accepted before the deadline. The resulting allowance can remain active.
A deadline is not an expiry. Owner signs a permit with a deadline. Permit is accepted before the deadline. The resulting allowance can remain active.
查看完整图表

Two different clocks

The deadline limits when the permit may be accepted. Once accepted, the resulting ERC-20 allowance does not automatically disappear when that deadline passes. For example, a permit accepted just before noon can leave spending authority after noon. Treating the signing deadline as the approval's expiry misstates the exposure.

After an unexpected signature

Identify the token contract and spender, determine whether the permit has been submitted, and inspect the resulting allowance. A revoked allowance and an unused signed permit are different states. An unexpired authorisation that still has the expected nonce may remain submit-able. A response must account for both the current approval and outstanding signatures.

Sources

相关阅读

诈骗模式

Permit phishing

An offchain signature authorises a token allowance without an immediate gas payment.

MASTR

支持独立研究

这里的调查、原始证据和指南均可免费阅读。自愿捐赠帮助支付研究成本,让 MASTR 能够继续提供工具。

打开钱包