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/ExchangeCancelEvent.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/ExchangeCancelEvent.ts')
-rw-r--r-- | packages/pipeline/src/entities/ExchangeCancelEvent.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/pipeline/src/entities/ExchangeCancelEvent.ts b/packages/pipeline/src/entities/ExchangeCancelEvent.ts index 7010ab9f2..698b9e2ec 100644 --- a/packages/pipeline/src/entities/ExchangeCancelEvent.ts +++ b/packages/pipeline/src/entities/ExchangeCancelEvent.ts @@ -1,15 +1,16 @@ -import { BaseEntity, Column, Entity, PrimaryColumn } from 'typeorm'; +import { Column, Entity, PrimaryColumn } from 'typeorm'; import { AssetType } from '../types'; @Entity() -export class ExchangeCancelEvent extends BaseEntity { +export class ExchangeCancelEvent { @PrimaryColumn() public contractAddress!: string; @PrimaryColumn() public logIndex!: number; @PrimaryColumn() public blockNumber!: number; @Column() public rawData!: string; + // TODO(albrow): Include transaction hash @Column() public makerAddress!: string; @Column({ nullable: true, type: String }) public takerAddress!: string; |