Permit2

Verified contract

Implementation

Active on Ethereum with 186,674 txns
Deployed by via 0xf2f1d377 at 15986406
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $133,224.96
ERC-20
Value $383.36
ERC-20
Value $30.36
ERC-20
Value $3.68
ERC-20
Value $2.81
ERC-20
Value $1.89
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x484e6ef8cff701fc3cd9fa7479fe41b65e728ca4a5ae0fc5959c959280eb5e65
0x56fc036cb8d293b6285c2cf25176abd654a1553a04cb61d50ae81a0bd7acbe62
0x0ba86edbf5223f3a498dbf91a19b8fa8adb436310cafce524f4fd3734845d3b3
0x718aafc68337be7b1371f2790015d0095e24583d30909b9bccf080be69af7e39
0x96f2b6df11f1454953b916a339c29a5a8ece8648073aff69e599193655c01565
From
0x4b0f315d6601b6e82789b3e7527a45c8242a6444acae37d7417f0628991a4d28
0xb82a2a25d4b5fb4dceef7ffa0c359d903b7e6eddab5e616061d95d04d2b00aed
0x399fad657cac1f81c14c1109bfdf43568dc4223a4a7e156d6a6dd46aed0e1c7c
0x3f3633c38a107c77ae0330f1ec464b5011d05bb149b44de23d220845d1932f74
0xee6e404bbffa1582f9dd28d669fa0399430ff849aff777e8d17393de271cde0f

Functions
Getter at block 21246139
DOMAIN_SEPARATOR(view returns (bytes32)
0x866a5aba21966af95d6c7ab78eb2b2fc913915c28be3b9aa07cc04ff903e3f28
Read-only
allowance(addressaddressaddressview returns (uint160 amountuint48 expirationuint48 nonce)
nonceBitmap(addressuint256view returns (uint256)
State-modifying
approve(address tokenaddress spenderuint160 amountuint48 expiration
invalidateNonces(address tokenaddress spenderuint48 newNonce
invalidateUnorderedNonces(uint256 wordPosuint256 mask
lockdown(struct IAllowanceTransferTokenSpenderPair[] approvals
permit(address ownerstruct IAllowanceTransferPermitSingle permitSinglebytes signature
permit(address ownerstruct IAllowanceTransferPermitBatch permitBatchbytes signature
permitTransferFrom(struct ISignatureTransferPermitTransferFrom permitstruct ISignatureTransferSignatureTransferDetails transferDetailsaddress ownerbytes signature
permitTransferFrom(struct ISignatureTransferPermitBatchTransferFrom permitstruct ISignatureTransferSignatureTransferDetails[] transferDetailsaddress ownerbytes signature
permitWitnessTransferFrom(struct ISignatureTransferPermitTransferFrom permitstruct ISignatureTransferSignatureTransferDetails transferDetailsaddress ownerbytes32 witnessstring witnessTypeStringbytes signature
permitWitnessTransferFrom(struct ISignatureTransferPermitBatchTransferFrom permitstruct ISignatureTransferSignatureTransferDetails[] transferDetailsaddress ownerbytes32 witnessstring witnessTypeStringbytes signature
transferFrom(struct IAllowanceTransferAllowanceTransferDetails[] transferDetails
transferFrom(address fromaddress touint160 amountaddress token
Events
Approval(address indexed owneraddress indexed tokenaddress indexed spenderuint160 amountuint48 expiration
Lockdown(address indexed owneraddress tokenaddress spender
NonceInvalidation(address indexed owneraddress indexed tokenaddress indexed spenderuint48 newNonceuint48 oldNonce
Permit(address indexed owneraddress indexed tokenaddress indexed spenderuint160 amountuint48 expirationuint48 nonce
UnorderedNonceInvalidation(address indexed owneruint256 worduint256 mask
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AllowanceExpired(uint256 deadline
ExcessiveInvalidation(
InsufficientAllowance(uint256 amount
InvalidAmount(uint256 maxAmount
InvalidContractSignature(
InvalidNonce(
InvalidSignature(
InvalidSignatureLength(
InvalidSigner(
LengthMismatch(
SignatureExpired(uint256 signatureDeadline