aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 18:12:27 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 21:58:42 +0800
commit91e8c00076fda1713b7ca10d8cae64250cda6093 (patch)
treed56a61b0f4734960ffe44039fb820b14c3ce4316 /packages/contract-wrappers
parent20bf4d8ef98fe129337bc39d73200bde9868b114 (diff)
downloaddexon-0x-contracts-91e8c00076fda1713b7ca10d8cae64250cda6093.tar
dexon-0x-contracts-91e8c00076fda1713b7ca10d8cae64250cda6093.tar.gz
dexon-0x-contracts-91e8c00076fda1713b7ca10d8cae64250cda6093.tar.bz2
dexon-0x-contracts-91e8c00076fda1713b7ca10d8cae64250cda6093.tar.lz
dexon-0x-contracts-91e8c00076fda1713b7ca10d8cae64250cda6093.tar.xz
dexon-0x-contracts-91e8c00076fda1713b7ca10d8cae64250cda6093.tar.zst
dexon-0x-contracts-91e8c00076fda1713b7ca10d8cae64250cda6093.zip
Fix comments
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
index 439e2862b..754369037 100644
--- a/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
+++ b/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
@@ -56,23 +56,23 @@ export class ExchangeWrapper extends ContractWrapper {
return assetProxy;
}
/**
- * Retrieve the takerAmount of an order that has already been filled.
+ * Retrieve the takerAssetAmount of an order that has already been filled.
* @param orderHash The hex encoded orderHash for which you would like to retrieve the filled takerAmount.
* @param methodOpts Optional arguments this method accepts.
- * @return The amount of the order (in taker tokens) that has already been filled.
+ * @return The amount of the order (in taker asset base units) that has already been filled.
*/
- public async getFilledTakerAmountAsync(orderHash: string, methodOpts: MethodOpts = {}): Promise<BigNumber> {
+ public async getFilledTakerAssetAmountAsync(orderHash: string, methodOpts: MethodOpts = {}): Promise<BigNumber> {
assert.doesConformToSchema('orderHash', orderHash, schemas.orderHashSchema);
assert.doesConformToSchema('methodOpts', methodOpts, methodOptsSchema);
const exchangeContract = await this._getExchangeContractAsync();
const txData = {};
- const fillAmountInBaseUnits = await exchangeContract.filled.callAsync(
+ const filledTakerAssetAmountInBaseUnits = await exchangeContract.filled.callAsync(
orderHash,
txData,
methodOpts.defaultBlock,
);
- return fillAmountInBaseUnits;
+ return filledTakerAssetAmountInBaseUnits;
}
/**
* Retrieve the current context address