From 26e4d661638e5a67087ff37427f6cb689063d64a Mon Sep 17 00:00:00 2001 From: Amir Bandeali Date: Sun, 11 Aug 2019 15:52:57 -0700 Subject: [PATCH] Remove unimplemented functions from interface --- .../contracts/src/interfaces/IMatchOrders.sol | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/contracts/exchange/contracts/src/interfaces/IMatchOrders.sol b/contracts/exchange/contracts/src/interfaces/IMatchOrders.sol index fd8b67373f..9bcfcfd37d 100644 --- a/contracts/exchange/contracts/src/interfaces/IMatchOrders.sol +++ b/contracts/exchange/contracts/src/interfaces/IMatchOrders.sol @@ -60,26 +60,6 @@ contract IMatchOrders { public returns (LibFillResults.BatchMatchedFillResults memory batchMatchedFillResults); - /// @dev Calculates fill amounts for the matched orders. - /// Each order is filled at their respective price point. However, the calculations are - /// carried out as though the orders are both being filled at the right order's price point. - /// The profit made by the leftOrder order goes to the taker (who matched the two orders). - /// @param leftOrder First order to match. - /// @param rightOrder Second order to match. - /// @param leftOrderTakerAssetFilledAmount Amount of left order already filled. - /// @param rightOrderTakerAssetFilledAmount Amount of right order already filled. - /// @param matchedFillResults Amounts to fill and fees to pay by maker and taker of matched orders. - function calculateMatchedFillResults( - LibOrder.Order memory leftOrder, - LibOrder.Order memory rightOrder, - uint256 leftOrderTakerAssetFilledAmount, - uint256 rightOrderTakerAssetFilledAmount, - bool shouldMaximallyFillOrders - ) - public - pure - returns (LibFillResults.MatchedFillResults memory matchedFillResults); - /// @dev Match two complementary orders that have a profitable spread. /// Each order is filled at their respective price point. However, the calculations are /// carried out as though the orders are both being filled at the right order's price point.