diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-18 02:32:44 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-07-23 23:00:23 +0800 |
commit | 799ff2a5c392383c8b245ae53057593acc2534ce (patch) | |
tree | 5899d3843420c36e0e0c750f3ac47a7aab3b1e91 /packages/contracts/src/2.0.0/forwarder/mixins/MWeth.sol | |
parent | ec5f768f9b9a333fc577e0885cd15f261997a367 (diff) | |
download | dexon-sol-tools-799ff2a5c392383c8b245ae53057593acc2534ce.tar.gz dexon-sol-tools-799ff2a5c392383c8b245ae53057593acc2534ce.tar.zst dexon-sol-tools-799ff2a5c392383c8b245ae53057593acc2534ce.zip |
Fix rounding error issues, use different logic when makerAsset is ZRX
Diffstat (limited to 'packages/contracts/src/2.0.0/forwarder/mixins/MWeth.sol')
-rw-r--r-- | packages/contracts/src/2.0.0/forwarder/mixins/MWeth.sol | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/contracts/src/2.0.0/forwarder/mixins/MWeth.sol b/packages/contracts/src/2.0.0/forwarder/mixins/MWeth.sol index 7cbc115e9..88e77be4e 100644 --- a/packages/contracts/src/2.0.0/forwarder/mixins/MWeth.sol +++ b/packages/contracts/src/2.0.0/forwarder/mixins/MWeth.sol @@ -22,10 +22,8 @@ pragma solidity 0.4.24; contract MWeth { /// @dev Converts message call's ETH value into WETH. - /// @return 95% of ETH converted to WETH. function convertEthToWeth() - internal - returns (uint256 wethAvailable); + internal; /// @dev Transfers feePercentage of WETH spent on primary orders to feeRecipient. /// Refunds any excess ETH to msg.sender. |