0xcalldata

approve(address,address,uint160,uint48)

approve(address,address,uint160,uint48) is a function in the Permit2 ABI (4-byte selector 0x87517c45). It takes 4 parameters. Encode its calldata from typed inputs, or paste calldata to decode it.

Selector
0x87517c45
Mutability
nonpayable

Parameters

NameType
tokenaddress
spenderaddress
amountuint160
expirationuint48

Example calldata

0x87517c450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Other Permit2 functions