diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-08 00:02:48 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-08 00:02:48 +0800 |
commit | 6058a74da54e916e970912d942954d55922cef95 (patch) | |
tree | b6250f38ea78ca24740588126bd64b5a446ad806 /packages/order-utils/src/abstract | |
parent | e0bc01eea1c20e0afda296f331c6a475e062b59c (diff) | |
download | dexon-0x-contracts-6058a74da54e916e970912d942954d55922cef95.tar dexon-0x-contracts-6058a74da54e916e970912d942954d55922cef95.tar.gz dexon-0x-contracts-6058a74da54e916e970912d942954d55922cef95.tar.bz2 dexon-0x-contracts-6058a74da54e916e970912d942954d55922cef95.tar.lz dexon-0x-contracts-6058a74da54e916e970912d942954d55922cef95.tar.xz dexon-0x-contracts-6058a74da54e916e970912d942954d55922cef95.tar.zst dexon-0x-contracts-6058a74da54e916e970912d942954d55922cef95.zip |
Update naming in orderStateUtils to use asset over token, also removed cancelledAmount since in V2 it's binary.
Diffstat (limited to 'packages/order-utils/src/abstract')
-rw-r--r-- | packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts b/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts index f54bed6f1..ec398a11e 100644 --- a/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts +++ b/packages/order-utils/src/abstract/abstract_order_filled_cancelled_fetcher.ts @@ -2,7 +2,6 @@ import { BigNumber } from '@0xproject/utils'; export abstract class AbstractOrderFilledCancelledFetcher { public abstract async getFilledTakerAmountAsync(orderHash: string): Promise<BigNumber>; - public abstract async getCancelledTakerAmountAsync(orderHash: string): Promise<BigNumber>; - public abstract async getUnavailableTakerAmountAsync(orderHash: string): Promise<BigNumber>; + public abstract async isOrderCancelledAsync(orderHash: string): Promise<boolean>; public abstract getZRXTokenAddress(): string; } |