diff options
Diffstat (limited to 'packages/contract-wrappers/src/stores')
-rw-r--r-- | packages/contract-wrappers/src/stores/order_filled_cancelled_lazy_store.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/contract-wrappers/src/stores/order_filled_cancelled_lazy_store.ts b/packages/contract-wrappers/src/stores/order_filled_cancelled_lazy_store.ts index b554191a2..3d96a95f3 100644 --- a/packages/contract-wrappers/src/stores/order_filled_cancelled_lazy_store.ts +++ b/packages/contract-wrappers/src/stores/order_filled_cancelled_lazy_store.ts @@ -64,10 +64,12 @@ export class OrderFilledCancelledLazyStore implements AbstractOrderFilledCancell this._filledTakerAmount = {}; this._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; } } |