aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/2.0.0/protocol
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-07-11 06:41:33 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-07-23 23:00:23 +0800
commit6fb157488cf337a1b3c96fc4a9b04d81098bd27d (patch)
tree4d0eae30f24e1dea0a90d0971a3e60a1e3e287bb /packages/contracts/src/2.0.0/protocol
parent814518dd8094d03908d77e39faa21b8758f1552b (diff)
downloaddexon-sol-tools-6fb157488cf337a1b3c96fc4a9b04d81098bd27d.tar.gz
dexon-sol-tools-6fb157488cf337a1b3c96fc4a9b04d81098bd27d.tar.zst
dexon-sol-tools-6fb157488cf337a1b3c96fc4a9b04d81098bd27d.zip
Update transferEthFeeAndRefund, add check to ERC721 transfer
Diffstat (limited to 'packages/contracts/src/2.0.0/protocol')
-rw-r--r--packages/contracts/src/2.0.0/protocol/Exchange/libs/LibMath.sol6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/src/2.0.0/protocol/Exchange/libs/LibMath.sol b/packages/contracts/src/2.0.0/protocol/Exchange/libs/LibMath.sol
index 46c13d390..fa09da6ac 100644
--- a/packages/contracts/src/2.0.0/protocol/Exchange/libs/LibMath.sol
+++ b/packages/contracts/src/2.0.0/protocol/Exchange/libs/LibMath.sol
@@ -33,7 +33,8 @@ contract LibMath is
function getPartialAmount(
uint256 numerator,
uint256 denominator,
- uint256 target)
+ uint256 target
+ )
internal
pure
returns (uint256 partialAmount)
@@ -53,7 +54,8 @@ contract LibMath is
function isRoundingError(
uint256 numerator,
uint256 denominator,
- uint256 target)
+ uint256 target
+ )
internal
pure
returns (bool isError)