aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-07-14 07:19:50 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-07-23 23:00:23 +0800
commitec5f768f9b9a333fc577e0885cd15f261997a367 (patch)
tree1a7f3a97d35f522c244af09e4be28baa414b8c1f /packages/contracts/src
parent66ab0100554d4b044c7e12c667bb2afd57773302 (diff)
downloaddexon-sol-tools-ec5f768f9b9a333fc577e0885cd15f261997a367.tar
dexon-sol-tools-ec5f768f9b9a333fc577e0885cd15f261997a367.tar.gz
dexon-sol-tools-ec5f768f9b9a333fc577e0885cd15f261997a367.tar.bz2
dexon-sol-tools-ec5f768f9b9a333fc577e0885cd15f261997a367.tar.lz
dexon-sol-tools-ec5f768f9b9a333fc577e0885cd15f261997a367.tar.xz
dexon-sol-tools-ec5f768f9b9a333fc577e0885cd15f261997a367.tar.zst
dexon-sol-tools-ec5f768f9b9a333fc577e0885cd15f261997a367.zip
Rename marketSellEth => marketSellWeth
Diffstat (limited to 'packages/contracts/src')
-rw-r--r--packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol4
-rw-r--r--packages/contracts/src/2.0.0/forwarder/mixins/MForwarderCore.sol2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol b/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol
index 88ec5f472..19b1c357b 100644
--- a/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol
+++ b/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol
@@ -80,7 +80,7 @@ contract MixinForwarderCore is
// Attempt to sell 95% of WETH.
// ZRX fees are payed with this contract's balance.
- orderFillResults = marketSellEth(
+ orderFillResults = marketSellWeth(
orders,
wethAvailable,
signatures
@@ -182,7 +182,7 @@ contract MixinForwarderCore is
/// @param wethSellAmount Desired amount of WETH to sell.
/// @param signatures Proofs that orders have been created by makers.
/// @return Amounts filled and fees paid by maker and taker.
- function marketSellEth(
+ function marketSellWeth(
LibOrder.Order[] memory orders,
uint256 wethSellAmount,
bytes[] memory signatures
diff --git a/packages/contracts/src/2.0.0/forwarder/mixins/MForwarderCore.sol b/packages/contracts/src/2.0.0/forwarder/mixins/MForwarderCore.sol
index 83915c738..9dee15481 100644
--- a/packages/contracts/src/2.0.0/forwarder/mixins/MForwarderCore.sol
+++ b/packages/contracts/src/2.0.0/forwarder/mixins/MForwarderCore.sol
@@ -32,7 +32,7 @@ contract MForwarderCore is
/// @param wethSellAmount Desired amount of WETH to sell.
/// @param signatures Proofs that orders have been created by makers.
/// @return Amounts filled and fees paid by maker and taker.
- function marketSellEth(
+ function marketSellWeth(
LibOrder.Order[] memory orders,
uint256 wethSellAmount,
bytes[] memory signatures