aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-07-06 05:31:55 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-07-07 04:23:09 +0800
commit07c111d1f589bab6ee573cfcbab891bd7b81dfc5 (patch)
tree82cbf0cc85486f773dd19c1279a795ac06ea7572 /packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol
parenta2024da955ca63d3084a75927f4f1999e16bc849 (diff)
downloaddexon-sol-tools-07c111d1f589bab6ee573cfcbab891bd7b81dfc5.tar
dexon-sol-tools-07c111d1f589bab6ee573cfcbab891bd7b81dfc5.tar.gz
dexon-sol-tools-07c111d1f589bab6ee573cfcbab891bd7b81dfc5.tar.bz2
dexon-sol-tools-07c111d1f589bab6ee573cfcbab891bd7b81dfc5.tar.lz
dexon-sol-tools-07c111d1f589bab6ee573cfcbab891bd7b81dfc5.tar.xz
dexon-sol-tools-07c111d1f589bab6ee573cfcbab891bd7b81dfc5.tar.zst
dexon-sol-tools-07c111d1f589bab6ee573cfcbab891bd7b81dfc5.zip
Remove TODOs that won't be addressed
Diffstat (limited to 'packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol')
-rw-r--r--packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol b/packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol
index ba687543a..56b309a1b 100644
--- a/packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol
+++ b/packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol
@@ -41,7 +41,6 @@ contract MixinMatchOrders is
/// @param leftSignature Proof that order was created by the left maker.
/// @param rightSignature Proof that order was created by the right maker.
/// @return matchedFillResults Amounts filled and fees paid by maker and taker of matched orders.
- /// TODO: Make this function external once supported by Solidity (See Solidity Issues #3199, #1603)
function matchOrders(
LibOrder.Order memory leftOrder,
LibOrder.Order memory rightOrder,
@@ -184,7 +183,6 @@ contract MixinMatchOrders is
leftTakerAssetFilledAmount = leftTakerAssetAmountRemaining;
// The right order receives an amount proportional to how much was spent.
- // TODO: Can we ensure rounding error is in the correct direction?
rightTakerAssetFilledAmount = getPartialAmount(
rightOrder.takerAssetAmount,
rightOrder.makerAssetAmount,
@@ -195,7 +193,6 @@ contract MixinMatchOrders is
rightTakerAssetFilledAmount = rightTakerAssetAmountRemaining;
// The left order receives an amount proportional to how much was spent.
- // TODO: Can we ensure rounding error is in the correct direction?
leftTakerAssetFilledAmount = getPartialAmount(
rightOrder.makerAssetAmount,
rightOrder.takerAssetAmount,