aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-08-24 07:28:03 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-08-25 09:20:25 +0800
commit0a6f107243eb7df309766cc83942e667ce28e858 (patch)
tree3143adb81e00f3f4b425a778ce920ed9429c2023 /packages
parenta93f95c55ea43bc89d0633190590865d9723b2f9 (diff)
downloaddexon-sol-tools-0a6f107243eb7df309766cc83942e667ce28e858.tar
dexon-sol-tools-0a6f107243eb7df309766cc83942e667ce28e858.tar.gz
dexon-sol-tools-0a6f107243eb7df309766cc83942e667ce28e858.tar.bz2
dexon-sol-tools-0a6f107243eb7df309766cc83942e667ce28e858.tar.lz
dexon-sol-tools-0a6f107243eb7df309766cc83942e667ce28e858.tar.xz
dexon-sol-tools-0a6f107243eb7df309766cc83942e667ce28e858.tar.zst
dexon-sol-tools-0a6f107243eb7df309766cc83942e667ce28e858.zip
Added temporary @todo to MixinMatchOrders
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol8
1 files changed, 4 insertions, 4 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 a0696c616..8f289ee85 100644
--- a/packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol
+++ b/packages/contracts/src/2.0.0/protocol/Exchange/MixinMatchOrders.sol
@@ -209,24 +209,24 @@ contract MixinMatchOrders is
);
// Compute fees for left order
- matchedFillResults.left.makerFeePaid = getPartialAmount(
+ matchedFillResults.left.makerFeePaid = getPartialAmountFloor(
matchedFillResults.left.makerAssetFilledAmount,
leftOrder.makerAssetAmount,
leftOrder.makerFee
);
- matchedFillResults.left.takerFeePaid = getPartialAmount(
+ matchedFillResults.left.takerFeePaid = getPartialAmountFloor(
matchedFillResults.left.takerAssetFilledAmount,
leftOrder.takerAssetAmount,
leftOrder.takerFee
);
// Compute fees for right order
- matchedFillResults.right.makerFeePaid = getPartialAmount(
+ matchedFillResults.right.makerFeePaid = getPartialAmountFloor(
matchedFillResults.right.makerAssetFilledAmount,
rightOrder.makerAssetAmount,
rightOrder.makerFee
);
- matchedFillResults.right.takerFeePaid = getPartialAmount(
+ matchedFillResults.right.takerFeePaid = getPartialAmountFloor(
matchedFillResults.right.takerAssetFilledAmount,
rightOrder.takerAssetAmount,
rightOrder.takerFee