aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/2.0.0/forwarder/mixins/MWeth.sol
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-07-18 02:32:44 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-07-23 23:00:23 +0800
commit799ff2a5c392383c8b245ae53057593acc2534ce (patch)
tree5899d3843420c36e0e0c750f3ac47a7aab3b1e91 /packages/contracts/src/2.0.0/forwarder/mixins/MWeth.sol
parentec5f768f9b9a333fc577e0885cd15f261997a367 (diff)
downloaddexon-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.sol4
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.