Skip to main content
Related concept

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. Dev: Reverts with ExpiredSignature when block.timestamp > deadline. Dev: Reverts with InvalidSigner when ECDSA recovery does not yield owner. Dev: Reverts with InvalidSpender when spender == address(0). Param: owner Token holder granting the allowance. Param: spender Account being granted the allowance. Param: value Allowance amount. Param: deadline Unix timestamp after which the signature is invalid. Param: v ECDSA recovery byte. Param: r ECDSA signature r component. Param: s ECDSA signature s component.

Access control

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

Policy interaction

No direct policy interaction.

Example