aboutsummaryrefslogtreecommitdiffstats
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
parentf38d2f80a6e3af4ff7e2454d42abdf2a389e4303 (diff)
downloaddexon-sol-tools-54ac354809c493cedfec5cd19b4707341b2c9f93.tar
dexon-sol-tools-54ac354809c493cedfec5cd19b4707341b2c9f93.tar.gz
dexon-sol-tools-54ac354809c493cedfec5cd19b4707341b2c9f93.tar.bz2
dexon-sol-tools-54ac354809c493cedfec5cd19b4707341b2c9f93.tar.lz
dexon-sol-tools-54ac354809c493cedfec5cd19b4707341b2c9f93.tar.xz
dexon-sol-tools-54ac354809c493cedfec5cd19b4707341b2c9f93.tar.zst
dexon-sol-tools-54ac354809c493cedfec5cd19b4707341b2c9f93.zip
Add types for TradeSide and TransferType
-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',
+}