aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/types.ts14
-rw-r--r--test/order_watcher_test.ts6
2 files changed, 12 insertions, 8 deletions
diff --git a/src/types.ts b/src/types.ts
index 52b22516b..89ee4141f 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -480,17 +480,21 @@ export enum TransferType {
Fee = 'fee',
}
-export interface OrderStateValid {
- isValid: true;
- orderHash: string;
+export interface OrderState {
makerBalance: BigNumber;
- makerAllowance: BigNumber;
+ makerProxyAllowance: BigNumber;
makerFeeBalance: BigNumber;
- makerFeeAllowance: BigNumber;
+ makerFeeProxyAllowance: BigNumber;
filledMakerTokenAmount: BigNumber;
cancelledMakerTokenAmount: BigNumber;
}
+export interface OrderStateValid {
+ isValid: true;
+ orderHash: string;
+ orderState: OrderState;
+}
+
export interface OrderStateInvalid {
isValid: false;
orderHash: string;
diff --git a/test/order_watcher_test.ts b/test/order_watcher_test.ts
index f273a1d84..e62b1aab2 100644
--- a/test/order_watcher_test.ts
+++ b/test/order_watcher_test.ts
@@ -36,7 +36,7 @@ describe('EventWatcher', () => {
stubs = [];
orderStateWatcher.unsubscribe();
});
- it.only('', (done: DoneCallback) => {
- orderStateWatcher.subscribe(console.log);
- }).timeout(1000000000000);
+ it.skip('TODO', () => {
+ // TODO
+ });
});