aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/index.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-09-26 06:31:41 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:12:11 +0800
commit97fc4257a068fe96fc6b382a3564b1bc054bd2fd (patch)
treeb4cddaee1a6d0b71c3c19c39a9c8d1b5b4437215 /packages/pipeline/src/index.ts
parent25f1b7701fa1c5402e7d6f91cccdbd63bb9a525c (diff)
downloaddexon-sol-tools-97fc4257a068fe96fc6b382a3564b1bc054bd2fd.tar
dexon-sol-tools-97fc4257a068fe96fc6b382a3564b1bc054bd2fd.tar.gz
dexon-sol-tools-97fc4257a068fe96fc6b382a3564b1bc054bd2fd.tar.bz2
dexon-sol-tools-97fc4257a068fe96fc6b382a3564b1bc054bd2fd.tar.lz
dexon-sol-tools-97fc4257a068fe96fc6b382a3564b1bc054bd2fd.tar.xz
dexon-sol-tools-97fc4257a068fe96fc6b382a3564b1bc054bd2fd.tar.zst
dexon-sol-tools-97fc4257a068fe96fc6b382a3564b1bc054bd2fd.zip
Use multi-primary keys for event and filter null logIndexes
Diffstat (limited to 'packages/pipeline/src/index.ts')
-rw-r--r--packages/pipeline/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/index.ts b/packages/pipeline/src/index.ts
index c68df95bf..67b1f6fb2 100644
--- a/packages/pipeline/src/index.ts
+++ b/packages/pipeline/src/index.ts
@@ -1,13 +1,13 @@
+import * as R from 'ramda';
import 'reflect-metadata';
import { createConnection } from 'typeorm';
import { Etherscan } from './data_sources/etherscan';
+import { parseExchangeEvents } from './data_types/events/exchange_events';
import { ExchangeCancelEvent } from './entities/ExchangeCancelEvent';
import { ExchangeFillEvent } from './entities/ExchangeFillEvent';
import { config } from './ormconfig';
-import { parseExchangeEvents } from './data_types/events/exchange_events';
-
const etherscan = new Etherscan(process.env.ETHERSCAN_API_KEY as string);
const EXCHANGE_ADDRESS = '0x4f833a24e1f95d70f028921e27040ca56e09ab0b';