Skip to main content

Signature

Description

EIP-2612 permit. Recovers owner via ECDSA from (v, r, s). EOA signatures only; ERC-1271 contract signatures are NOT supported. Emits Approval.

Parameters

Reverts

  • ExpiredSignature when block.timestamp > deadline.
  • InvalidSigner when ECDSA recovery does not yield owner.
  • InvalidSpender when spender == address(0).

Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

Policy interaction

No direct policy interaction.

Example