ERC1967Proxy

Verified contract

Proxy

Active on Base with 98,410 txns
Deployed by via 0xe58ac090 at 9404818
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 18 additional slots
Native
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x165c19c116d30a0e9e25c15576df106032f5655dbbaf0a5cfb0eb90572cb730d
0xf8887aba1c130140bfd890c7682394658d6fc47d1434640543970ad916bfd8b2
0xc8ad522b89f595946307f688ab5c25f86efc0d930b62e0b1354e1c575cfbe0f4
0xbe5c2ef698346d1c9248b976e614d5fafaee3e0d2e4dee0d7fa182973cc7b5ec
0xa3e12ca76e0f60da03d7732967a42615bc139bd0789fd5132c1bc38b526b9d42
0xfb94a65d48934bffbc23ca189863117eeace159d3e79cafab8190635bafbc8d6
0xff562b2c1fbe7c459483711f9e61c13eabee577f43ef95c0a5a40928555b2cde
0x974c6bfdd251677b7791d74e9b834f52d85725bc4a667c820df1f4eba6620ce2
0x36b5e0a788949ce21db68d94f59fdd1098fcb2b42f3741660c0f01c106ff3f98
0x20224d7b8ee981ff8ab389d2ba5540f0f491bf3564d5150ac1ab6120006e92dc

Functions
Getter at block 22733859
DOMAIN_SEPARATOR(view returns (bytes32 separator)
0x3b548e11622194cd4daa74fb0dabc3dbc4f72d1e67390e862362bae908407ed5
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=SMv3: OrderBook, version=1, chainId=8453, verifyingContract=0xe331a7eec851ba702aa8bf43070a178451d6d28e, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
 
proxiableUUID(view returns (bytes32)
Read-only
canExecute(struct IEngineConditionalOrder _cobytes _signatureuint256 _feeview returns (booluint8)
credit(uint128 accountIdview returns (uint256)
hasUnorderedNonceBeenUsed(uint128 _accountIduint256 _nonceview returns (bool)
isAccountDelegate(uint128 _accountIdaddress _callerview returns (bool)
isAccountOwner(uint128 _accountIdaddress _callerview returns (bool)
isMarketOpen(uint128 _marketIdview returns (bool)
isOrderFeeBelow(uint128 _marketIdint128 _sizeDeltauint256 _feeview returns (bool)
isPositionSizeAbove(uint128 _accountIduint128 _marketIdint128 _sizeview returns (bool)
isPositionSizeBelow(uint128 _accountIduint128 _marketIdint128 _sizeview returns (bool)
isPriceAbove(uint128 _marketIduint256 _priceint128 _sizeview returns (bool)
isPriceBelow(uint128 _marketIduint256 _priceint128 _sizeview returns (bool)
isTimestampAfter(uint256 _timestampview returns (bool)
isTimestampBefore(uint256 _timestampview returns (bool)
nonceBitmap(uint128 accountIduint256 indexview returns (uint256 bitmap)
verifyConditions(struct IEngineConditionalOrder _coview returns (bool)
verifySignature(struct IEngineConditionalOrder _cobytes _signatureview returns (bool)
verifySigner(struct IEngineConditionalOrder _coview returns (bool)
State-modifying
commitOrder(uint128 _perpsMarketIduint128 _accountIdint128 _sizeDeltauint128 _settlementStrategyIduint256 _acceptablePricebytes32 _trackingCodeaddress _referrerpayable returns (struct IPerpsMarketProxyData retOrderuint256 fees)
creditAccount(uint128 _accountIduint256 _amountpayable 
creditAccountZap(uint128 _accountIduint256 _amountpayable 
debitAccount(uint128 _accountIduint256 _amountpayable 
debitAccountZap(uint128 _accountIduint256 _amountpayable 
execute(struct IEngineConditionalOrder _cobytes _signatureuint256 _feepayable returns (struct IPerpsMarketProxyData retOrderuint256 synthetixFees)
fulfillOracleQuery(address EIP7412Implementerbytes signedOffchainDatapayable 
invalidateUnorderedNonces(uint128 _accountIduint256 _wordPosuint256 _maskpayable 
modifyCollateral(uint128 _accountIduint128 _synthMarketIdint256 _amountpayable 
modifyCollateralZap(uint128 _accountIdint256 _amountpayable 
multicall(bytes[] datapayable returns (bytes[])
upgradeToAndCall(address newImplementationbytes datapayable 
Events
Upgraded(address indexed implementation
ConditionalOrderExecuted(struct IPerpsMarketProxyData orderuint256 synthetixFeesuint256 executorFee
Credited(uint128 indexed accountIduint256 amount
Debited(uint128 indexed accountIduint256 amount
UnorderedNonceInvalidation(uint128 indexed accountIduint256 worduint256 mask
Upgraded(address indexed implementation
ZappedIn(uint256 amountWrappeduint256 amountMinted
ZappedOut(uint256 amountBurneduint256 amountUnwrapped
Constructor
constructor(address implementationbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
AddressEmptyCode(address target
ApprovalFailed(address tokenaddress owneraddress spenderuint256 amount
CannotExecuteOrder(uint8 reason
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
InsufficientAmount(uint256 amount
InsufficientCredit(
InvalidConditionSelector(bytes4 selector
InvalidIdSUSDC(uint128 id
InvalidNonce(
MaxConditionSizeExceeded(
NonUpgradeable(
NotSupported(
OnlyPDAO(
SUSDZeroAddress(
SpotMarketZeroAddress(
TransferFailed(address tokenaddress fromaddress touint256 amount
USDCZeroAddress(
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot
Unauthorized(
ZeroAddress(