This contract is being backfilled. You may encounter incomplete storage history.

UniversalPermit2Adapter

Verified contract

Active on Ethereum with 225 txns
Deployed by via 0xd22b2fc3 at 19450445
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
Native
Value $6.06
ERC-20
Value $0
0x18cec555f1458fceef8364551817acee48e02d7f617814114a98d4c90ffa9e44
0xbfc75d161711708989643af859a80928158feaf865f8bd24023173659e2e1220
0xc6a2e9ac9513929768f80cfd1b2e409287c88ba166ca3d61ea134d81c8ec4c60
0x8b65fae40d14c458fa179acfa2e151660f2416b91c3139a48e30b8134c6d8d5a
0x784d547c1a10c0db020754208140d40c3056383a9bed87ec72cec7915df79e5f
0x06c3f4d281336ebc06cb823f5580f3949be54023bc3293ef213d7a976f3dd6a2
0x3cb444db8c2efff96e408c07e207bdde25761b126f2ad8fe2340ec5606978eaa
0x466a49e8c5008cd2174c38f63e96cb144174e5c75e66218d8563b2e9b760b03e
0x76a25969cf75a9d6e7152ce3c48ea37abdb4488b787fa0280b75109c562589b3
0xea23102c1e50d6b0591c6ac3bada7397db57edf361fe276d43ebef778e314ef5

Functions
Getter at block 20795396
NATIVE_TOKEN(view returns (address)
0x0000000000000000000000000000000000000000
PERMIT2(view returns (address)
0x000000000022d473030f116ddee9f6b43ac78ba3
Read-only
isValidSignature(bytes32bytesview returns (bytes4 magicValue)
supportsInterface(bytes4 _interfaceIdview returns (bool)
State-modifying
buyOrderSwap(struct ISwapPermit2AdapterBuyOrderSwapParams _paramspayable returns (uint256 _amountInuint256 _amountOut)
executeWithBatchPermit(struct IArbitraryExecutionPermit2AdapterBatchPermit _batchPermitstruct IArbitraryExecutionPermit2AdapterAllowanceTarget[] _allowanceTargetsstruct IArbitraryExecutionPermit2AdapterContractCall[] _contractCallsstruct IArbitraryExecutionPermit2AdapterTransferOut[] _transferOutuint256 _deadlinepayable returns (bytes[] _executionResultsuint256[] _tokenBalances)
executeWithPermit(struct IArbitraryExecutionPermit2AdapterSinglePermit _permitstruct IArbitraryExecutionPermit2AdapterAllowanceTarget[] _allowanceTargetsstruct IArbitraryExecutionPermit2AdapterContractCall[] _contractCallsstruct IArbitraryExecutionPermit2AdapterTransferOut[] _transferOutuint256 _deadlinepayable returns (bytes[] _executionResultsuint256[] _tokenBalances)
sellOrderSwap(struct ISwapPermit2AdapterSellOrderSwapParams _paramspayable returns (uint256 _amountInuint256 _amountOut)
simulate(bytes[] _callspayable returns (struct ISimulationAdapterSimulationResult[] _results)
simulateAndRevert(bytes _callpayable 
Events
Swapped(address calleruint8 swapTypeaddress tokenInaddress tokenOutuint256 amountInuint256 amountOutaddress swapperbytes misc
Constructor
constructor(address _permit2
Fallback and receive
receive(
Errors
InvalidContractCall(
ReceivedTooLittleTokenOut(uint256 receiveduint256 expected
SimulatedCall(struct ISimulationAdapterSimulationResult result
TransactionDeadlinePassed(uint256 currentuint256 deadline