diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-19 08:44:48 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:04:24 +0800 |
commit | 9c35d5369491ae5b62101b680b947e4f6fe64821 (patch) | |
tree | 8cfe1819f05d728f840cd32176ef007b39753860 /packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts | |
parent | 8701f9a7b0bdf25e8075db52061df449a0b1a93b (diff) | |
download | dexon-sol-tools-9c35d5369491ae5b62101b680b947e4f6fe64821.tar dexon-sol-tools-9c35d5369491ae5b62101b680b947e4f6fe64821.tar.gz dexon-sol-tools-9c35d5369491ae5b62101b680b947e4f6fe64821.tar.bz2 dexon-sol-tools-9c35d5369491ae5b62101b680b947e4f6fe64821.tar.lz dexon-sol-tools-9c35d5369491ae5b62101b680b947e4f6fe64821.tar.xz dexon-sol-tools-9c35d5369491ae5b62101b680b947e4f6fe64821.tar.zst dexon-sol-tools-9c35d5369491ae5b62101b680b947e4f6fe64821.zip |
Update script to work with existing v1 pipeline data
Diffstat (limited to 'packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts')
-rw-r--r-- | packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts b/packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts index 03a02b069..3ca75ccf7 100644 --- a/packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts +++ b/packages/pipeline/src/entities/ExchangeCancelUpToEvent.ts @@ -1,11 +1,12 @@ -import { BaseEntity, Column, Entity, PrimaryColumn } from 'typeorm'; +import { Column, Entity, PrimaryColumn } from 'typeorm'; @Entity() -export class ExchangeCancelUpToEvent extends BaseEntity { +export class ExchangeCancelUpToEvent { @PrimaryColumn() public contractAddress!: string; @PrimaryColumn() public logIndex!: number; @PrimaryColumn() public blockNumber!: number; + // TODO(albrow): Include transaction hash @Column() public rawData!: string; @Column() public makerAddress!: string; |