Skip to main content

Permit2 Contract

Permit2 is the shared token approval manager. Users approve tokens to Permit2 once, then grant scoped permissions to specific spenders. For the concept overview, see Permit2 Concepts.

Key Functions

approve

Grants a spender permission to transfer a specific token on behalf of the caller via Permit2.
Example:

allowance

Queries the current permission for a given owner-token-spender tuple.
Example:

ABI

Integration Pattern