diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-06 20:54:17 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-06 20:54:17 +0800 |
commit | 54ac354809c493cedfec5cd19b4707341b2c9f93 (patch) | |
tree | 557b4259f54b7634076bd58a7db9a8cde68b0bf5 /src | |
parent | f38d2f80a6e3af4ff7e2454d42abdf2a389e4303 (diff) | |
download | dexon-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.ts | 10 |
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', +} |