aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-06 20:54:17 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-06 20:54:17 +0800
commit54ac354809c493cedfec5cd19b4707341b2c9f93 (patch)
tree557b4259f54b7634076bd58a7db9a8cde68b0bf5 /src
parentf38d2f80a6e3af4ff7e2454d42abdf2a389e4303 (diff)
downloaddexon-0x-contracts-54ac354809c493cedfec5cd19b4707341b2c9f93.tar.gz
dexon-0x-contracts-54ac354809c493cedfec5cd19b4707341b2c9f93.tar.zst
dexon-0x-contracts-54ac354809c493cedfec5cd19b4707341b2c9f93.zip
Add types for TradeSide and TransferType
Diffstat (limited to 'src')
-rw-r--r--src/types.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index 44094f442..8c0bc1cf9 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -466,3 +466,13 @@ export interface OrderTransactionOpts {
}
export type FilterObject = Web3.FilterObject;
+
+export enum TradeSide {
+ Maker = 'maker',
+ Taker = 'taker',
+}
+
+export enum TransferType {
+ Trade = 'trade',
+ Fee = 'fee',
+}