aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-31 15:26:53 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-31 15:26:53 +0800
commitca1f926d6d137f9523a9765c047430ec39d45d86 (patch)
treea68db6ce10aa0511759612c4d3032be9d12cbee6
parent5d44a67e62eb47ba4a8664e83ed46568df5eb78f (diff)
downloaddexon-sol-tools-ca1f926d6d137f9523a9765c047430ec39d45d86.tar
dexon-sol-tools-ca1f926d6d137f9523a9765c047430ec39d45d86.tar.gz
dexon-sol-tools-ca1f926d6d137f9523a9765c047430ec39d45d86.tar.bz2
dexon-sol-tools-ca1f926d6d137f9523a9765c047430ec39d45d86.tar.lz
dexon-sol-tools-ca1f926d6d137f9523a9765c047430ec39d45d86.tar.xz
dexon-sol-tools-ca1f926d6d137f9523a9765c047430ec39d45d86.tar.zst
dexon-sol-tools-ca1f926d6d137f9523a9765c047430ec39d45d86.zip
Clarify ethAmount is in wei
-rw-r--r--packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts
index beb2d1c81..90cfbe2af 100644
--- a/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts
+++ b/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts
@@ -42,7 +42,7 @@ export class ForwarderWrapper extends ContractWrapper {
* All orders must specify WETH as the takerAsset
* @param takerAddress The user Ethereum address who would like to fill this order. Must be available via the supplied
* Provider provided at instantiation.
- * @param ethAmount The amount of eth to send with the transaction
+ * @param ethAmount The amount of eth to send with the transaction (in wei).
* @param signedFeeOrders An array of objects that conform to the SignedOrder interface. All orders must specify ZRX as makerAsset and WETH as takerAsset.
* Used to purchase ZRX for primary order fees.
* @param feePercentage The percentage of WETH sold that will payed as fee to forwarding contract feeRecipient.
@@ -103,7 +103,7 @@ export class ForwarderWrapper extends ContractWrapper {
* @param makerAssetFillAmount The amount of the order (in taker asset baseUnits) that you wish to fill.
* @param takerAddress The user Ethereum address who would like to fill this order. Must be available via the supplied
* Provider provided at instantiation.
- * @param ethAmount The amount of eth to send with the transaction
+ * @param ethAmount The amount of eth to send with the transaction (in wei).
* @param signedFeeOrders An array of objects that conform to the SignedOrder interface. All orders must specify ZRX as makerAsset and WETH as takerAsset.
* Used to purchase ZRX for primary order fees.
* @param feePercentage The percentage of WETH sold that will payed as fee to forwarding contract feeRecipient.