diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-12 07:16:05 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-13 01:19:40 +0800 |
commit | 8f911206f7d9475d040e41458f28898604b79e62 (patch) | |
tree | 0eede93454b4ae266be968681fd6295b0629911f /packages/pipeline/src/ormconfig.ts | |
parent | 3496725db659e69df8394510b86d564105acac4e (diff) | |
download | dexon-sol-tools-8f911206f7d9475d040e41458f28898604b79e62.tar.gz dexon-sol-tools-8f911206f7d9475d040e41458f28898604b79e62.tar.zst dexon-sol-tools-8f911206f7d9475d040e41458f28898604b79e62.zip |
Refactor event scraping and add support for scraping ERC20 approval events (#1401)
* Refactor event scraping and add support for scraping ERC20 approval events
* Add tests for data_sources/contract-wrappers/utils
Diffstat (limited to 'packages/pipeline/src/ormconfig.ts')
-rw-r--r-- | packages/pipeline/src/ormconfig.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/pipeline/src/ormconfig.ts b/packages/pipeline/src/ormconfig.ts index b60703790..27991c430 100644 --- a/packages/pipeline/src/ormconfig.ts +++ b/packages/pipeline/src/ormconfig.ts @@ -3,6 +3,7 @@ import { ConnectionOptions } from 'typeorm'; import { Block, DexTrade, + ERC20ApprovalEvent, ExchangeCancelEvent, ExchangeCancelUpToEvent, ExchangeFillEvent, @@ -22,6 +23,7 @@ const entities = [ ExchangeCancelEvent, ExchangeCancelUpToEvent, ExchangeFillEvent, + ERC20ApprovalEvent, OHLCVExternal, Relayer, SraOrder, |