aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/types.ts14
1 files changed, 9 insertions, 5 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;