diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-09-26 03:54:10 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:04:24 +0800 |
commit | c99b71f35442ba605a7a38f9504697dcae78e571 (patch) | |
tree | 6279c5c2cf6cef8d3b460e0ab4d20fa45618e24c /packages/pipeline/src/entities | |
parent | 0133bec07d84c5b73d17a5b9fd0ab1c2ded88f8c (diff) | |
download | dexon-sol-tools-c99b71f35442ba605a7a38f9504697dcae78e571.tar dexon-sol-tools-c99b71f35442ba605a7a38f9504697dcae78e571.tar.gz dexon-sol-tools-c99b71f35442ba605a7a38f9504697dcae78e571.tar.bz2 dexon-sol-tools-c99b71f35442ba605a7a38f9504697dcae78e571.tar.lz dexon-sol-tools-c99b71f35442ba605a7a38f9504697dcae78e571.tar.xz dexon-sol-tools-c99b71f35442ba605a7a38f9504697dcae78e571.tar.zst dexon-sol-tools-c99b71f35442ba605a7a38f9504697dcae78e571.zip |
Re-organize event parsing and decoding
Diffstat (limited to 'packages/pipeline/src/entities')
-rw-r--r-- | packages/pipeline/src/entities/ExchangeFillEvent.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/entities/ExchangeFillEvent.ts b/packages/pipeline/src/entities/ExchangeFillEvent.ts index 1716c60d1..a7e817240 100644 --- a/packages/pipeline/src/entities/ExchangeFillEvent.ts +++ b/packages/pipeline/src/entities/ExchangeFillEvent.ts @@ -1,9 +1,9 @@ -import { Column, Entity, PrimaryColumn } from 'typeorm'; +import { BaseEntity, Column, Entity, PrimaryColumn } from 'typeorm'; export type ExchangeFillEventAssetType = 'erc20' | 'erc721'; @Entity() -export class ExchangeFillEvent { +export class ExchangeFillEvent extends BaseEntity { @PrimaryColumn() public logIndex!: number; @Column() public address!: string; |