@@ -96,6 +96,21 @@ interface IOrderMixin {
9696 */
9797 function rawRemainingInvalidatorForOrder (address maker , bytes32 orderHash ) external view returns (uint256 remainingRaw );
9898
99+ /**
100+ * @notice Returns order hash, hashed with limit order protocol contract EIP712
101+ * @param order Order
102+ * @return orderHash Hash of the order
103+ */
104+ function hashOrder (IOrderMixin.Order calldata order ) external view returns (bytes32 orderHash );
105+
106+ /**
107+ * @notice Delegates execution to custom implementation. Could be used to validate if `transferFrom` works properly
108+ * @dev The function always reverts and returns the simulation results in revert data.
109+ * @param target Addresses that will be delegated
110+ * @param data Data that will be passed to delegatee
111+ */
112+ function simulate (address target , bytes calldata data ) external ;
113+
99114 /**
100115 * @notice Cancels order's quote
101116 * @param makerTraits Order makerTraits
@@ -117,21 +132,6 @@ interface IOrderMixin {
117132 */
118133 function bitsInvalidateForOrder (MakerTraits makerTraits , uint256 additionalMask ) external ;
119134
120- /**
121- * @notice Returns order hash, hashed with limit order protocol contract EIP712
122- * @param order Order
123- * @return orderHash Hash of the order
124- */
125- function hashOrder (IOrderMixin.Order calldata order ) external view returns (bytes32 orderHash );
126-
127- /**
128- * @notice Delegates execution to custom implementation. Could be used to validate if `transferFrom` works properly
129- * @dev The function always reverts and returns the simulation results in revert data.
130- * @param target Addresses that will be delegated
131- * @param data Data that will be passed to delegatee
132- */
133- function simulate (address target , bytes calldata data ) external ;
134-
135135 /**
136136 * @notice Fills order's quote, fully or partially (whichever is possible).
137137 * @param order Order quote to fill
0 commit comments