aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/md
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-10-18 01:33:05 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-10-18 01:33:05 +0800
commit75e3b44d9e2028eb8d07356c8939450240e35958 (patch)
tree53939a7c103e261df67d935ecc4989aeb41d46e4 /packages/website/md
parent84057934c6cda3fe3e4f86cf686b163db017cf9e (diff)
downloaddexon-sol-tools-75e3b44d9e2028eb8d07356c8939450240e35958.tar
dexon-sol-tools-75e3b44d9e2028eb8d07356c8939450240e35958.tar.gz
dexon-sol-tools-75e3b44d9e2028eb8d07356c8939450240e35958.tar.bz2
dexon-sol-tools-75e3b44d9e2028eb8d07356c8939450240e35958.tar.lz
dexon-sol-tools-75e3b44d9e2028eb8d07356c8939450240e35958.tar.xz
dexon-sol-tools-75e3b44d9e2028eb8d07356c8939450240e35958.tar.zst
dexon-sol-tools-75e3b44d9e2028eb8d07356c8939450240e35958.zip
Update asset-buyer usage wording
Diffstat (limited to 'packages/website/md')
-rw-r--r--packages/website/md/docs/asset_buyer/usage.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/md/docs/asset_buyer/usage.md b/packages/website/md/docs/asset_buyer/usage.md
index 93c681f40..6462d938e 100644
--- a/packages/website/md/docs/asset_buyer/usage.md
+++ b/packages/website/md/docs/asset_buyer/usage.md
@@ -25,8 +25,8 @@ const erc20TokenAddress = '0x5fa3c....';
const amountToBuy = new BigNumber(50000000000000000000);
const buyQuote = await assetBuyer.getBuyQuoteForERC20TokenAddressAsync(erc20TokenAddress, amountToBuy);
const quoteInfo = buyQuote.worstCaseQuoteInfo;
-console.log(quoteInfo.ethAmount); // the total amount the user needs to pay to buy the desired amount (including fees)
-console.log(quoteInfo.feeAmount); // a portion of the total ethAmount above that was used to buy fees
+console.log(quoteInfo.ethAmount); // the total amount the user needs to pay to buy the desired amount (including ZRX fees)
+console.log(quoteInfo.feeAmount); // a portion of the total ethAmount above that was used to buy affiliate fees
console.log(quoteInfo.ethPerAssetPrice); // the rate that this quote provides (e.g. 0.0035ETH / REP)
```