Engine

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x46da5797 at 15065511
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 18 additional slots

No balances found for "Engine"

No transactions found for "Engine"


Functions
Getter at block 22733859
DOMAIN_SEPARATOR(view returns (bytes32 separator)
0xdb6baf012330937b63aa922b1b0fa0eafd326954487202f424c2da508ba87d72
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=0x7219cecaa0923ddfe7cdb3b782aff7a69a2ae478, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
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
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 _perpsMarketProxyaddress _spotMarketProxyaddress _sUSDProxyaddress _pDAOaddress _usdcuint128 _sUSDCId
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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(