aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities/ExchangeCancelEvent.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-19 08:44:48 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 06:24:48 +0800
commit3a19faa5ff8a66395c5eb8d1400338cefaa21187 (patch)
treef35c9bbef19ebcef15e92f5f306040727d3b91a4 /packages/pipeline/src/entities/ExchangeCancelEvent.ts
parentbbe1a843ef44e518fc957ea36325d5a730502de5 (diff)
downloaddexon-0x-contracts-3a19faa5ff8a66395c5eb8d1400338cefaa21187.tar
dexon-0x-contracts-3a19faa5ff8a66395c5eb8d1400338cefaa21187.tar.gz
dexon-0x-contracts-3a19faa5ff8a66395c5eb8d1400338cefaa21187.tar.bz2
dexon-0x-contracts-3a19faa5ff8a66395c5eb8d1400338cefaa21187.tar.lz
dexon-0x-contracts-3a19faa5ff8a66395c5eb8d1400338cefaa21187.tar.xz
dexon-0x-contracts-3a19faa5ff8a66395c5eb8d1400338cefaa21187.tar.zst
dexon-0x-contracts-3a19faa5ff8a66395c5eb8d1400338cefaa21187.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.ts5
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;