Permit2

Verified contract

Implementation

Active on Ethereum with 186,748 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,075.24
ERC-20
Value $407.14
ERC-20
Value $30.64
ERC-20
Value $3.73
ERC-20
Value $3.11
ERC-20
Value $1.89
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x48633df57e11c01cd68b1ef6ff1343a9b329ffc97c429a4350e886a456ec37ea
0x0c0d07149c52522b6df3d508423a9a96d91a70a6e48410b38848d1b1a65dc0da
0x1538331d11f406b5f7dab7b257c1cf637294f40e725e5b6435ed25fcf2d6b28e
0x4d000679d61b74dc5e488cf0ba0bdff2c52d8de3531bc749a8dc060679b9ec29
0x2281bff961ebb2884d805a6def5ae0462958a3718e5c17a61b87c567b2b6b4ee
0x0c34cb2d9394165b673360a93882242f22c5e7d9e95b6accfe52e44eb2740730
0xd04139ac058c3aeeaab51954195ae6f098cfafa9c8b61cc147ea2e199935300b
0xdbaa920e2169358797f481e8389e6e69ea5d9a9991a503c318d833857aea6aec
0x7f3763c4cfede9264e30e5d033fe51a04d2d19f4d9a4befc6fa6104d6109cea1
0x22e957faefa7fe62221a10313481945d83c039291b3f1f6ff8b376356a871d25

Functions
Getter at block 21247618
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