aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/types.ts23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index 0c661915e..a14115ef5 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -68,3 +68,26 @@ export interface ContractEvent {
event: string;
args: any;
}
+
+export interface Order {
+ maker: string;
+ taker?: string;
+
+ makerFee: BigNumber.BigNumber;
+ takerFee: BigNumber.BigNumber;
+
+ makerTokenAmount: BigNumber.BigNumber;
+ takerTokenAmount: BigNumber.BigNumber;
+
+ makerTokenAddress: string;
+ takerTokenAddress: string;
+
+ salt: BigNumber.BigNumber;
+ fillAmount: BigNumber.BigNumber;
+ feeRecipient: string;
+ expirationUnixTimestampSec: BigNumber.BigNumber;
+}
+
+export interface SignedOrder extends Order {
+ ecSignature: ECSignature;
+}