Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Remove unimplemented functions from interface
Browse files Browse the repository at this point in the history
  • Loading branch information
abandeali1 committed Aug 11, 2019
1 parent 272156c commit c9f51f4
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions contracts/exchange/contracts/src/interfaces/IMatchOrders.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c9f51f4

Please sign in to comment.