Libraries
Order
Order Library
Order
isExpired
isExpired
Determines whether an order is expired by checking if its cancel timestamp is set and is less than the current block timestamp.
isNull
isNull
Checks if an order is null by verifying if its ID is equal to the predefined NULL_ORDER_ID
.
assertExists
assertExists
Asserts that an order exists by checking if it is not null. If the order is null, it reverts with an OrderNotFound
error.