aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/fetchers
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contract-wrappers/src/fetchers')
-rw-r--r--packages/contract-wrappers/src/fetchers/simple_order_filled_cancelled_fetcher.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/contract-wrappers/src/fetchers/simple_order_filled_cancelled_fetcher.ts b/packages/contract-wrappers/src/fetchers/simple_order_filled_cancelled_fetcher.ts
index b6f31b205..52d0a100c 100644
--- a/packages/contract-wrappers/src/fetchers/simple_order_filled_cancelled_fetcher.ts
+++ b/packages/contract-wrappers/src/fetchers/simple_order_filled_cancelled_fetcher.ts
@@ -25,10 +25,12 @@ export class SimpleOrderFilledCancelledFetcher implements AbstractOrderFilledCan
const cancelledTakerAmount = this._exchangeWrapper.getCancelledTakerAmountAsync(orderHash, methodOpts);
return cancelledTakerAmount;
}
- public async getUnavailableTakerAmountAsync(orderHash: string) {
- return this._exchangeWrapper.getUnavailableTakerAmountAsync(orderHash);
+ public async getUnavailableTakerAmountAsync(orderHash: string): Promise<BigNumber> {
+ const unavailableTakerAmount = await this._exchangeWrapper.getUnavailableTakerAmountAsync(orderHash);
+ return unavailableTakerAmount;
}
public getZRXTokenAddress(): string {
- return this._exchangeWrapper.getZRXTokenAddress();
+ const zrxToken = this._exchangeWrapper.getZRXTokenAddress();
+ return zrxToken;
}
}