diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-09-26 03:54:10 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:24:06 +0800 |
commit | fe523e1f3f765077bdaf4dfc345c9dca67693668 (patch) | |
tree | 240544ddca2ecc3e96dfd7079b3192bb3827bb97 /packages/pipeline/src/entities | |
parent | 9e9104578c8526ff48ecdda8b87d61ccb3d66a2d (diff) | |
download | dexon-sol-tools-fe523e1f3f765077bdaf4dfc345c9dca67693668.tar dexon-sol-tools-fe523e1f3f765077bdaf4dfc345c9dca67693668.tar.gz dexon-sol-tools-fe523e1f3f765077bdaf4dfc345c9dca67693668.tar.bz2 dexon-sol-tools-fe523e1f3f765077bdaf4dfc345c9dca67693668.tar.lz dexon-sol-tools-fe523e1f3f765077bdaf4dfc345c9dca67693668.tar.xz dexon-sol-tools-fe523e1f3f765077bdaf4dfc345c9dca67693668.tar.zst dexon-sol-tools-fe523e1f3f765077bdaf4dfc345c9dca67693668.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; |