aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-16 05:09:44 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 06:24:48 +0800
commit0397ff8b2206ab4e9308a524d635ec37ec9dda99 (patch)
tree38296a636c37d55542dcccae28ae770002dc5470 /packages/pipeline/src/entities
parent1a2586208617efca8d26f9c7ac31a46d16a52aba (diff)
downloaddexon-sol-tools-0397ff8b2206ab4e9308a524d635ec37ec9dda99.tar
dexon-sol-tools-0397ff8b2206ab4e9308a524d635ec37ec9dda99.tar.gz
dexon-sol-tools-0397ff8b2206ab4e9308a524d635ec37ec9dda99.tar.bz2
dexon-sol-tools-0397ff8b2206ab4e9308a524d635ec37ec9dda99.tar.lz
dexon-sol-tools-0397ff8b2206ab4e9308a524d635ec37ec9dda99.tar.xz
dexon-sol-tools-0397ff8b2206ab4e9308a524d635ec37ec9dda99.tar.zst
dexon-sol-tools-0397ff8b2206ab4e9308a524d635ec37ec9dda99.zip
Add transactionHash to CancelUpToEvent and CancelEvent entities
Diffstat (limited to 'packages/pipeline/src/entities')
-rw-r--r--packages/pipeline/src/entities/exchange_cancel_event.ts3
-rw-r--r--packages/pipeline/src/entities/exchange_cancel_up_to_event.ts2
2 files changed, 4 insertions, 1 deletions
diff --git a/packages/pipeline/src/entities/exchange_cancel_event.ts b/packages/pipeline/src/entities/exchange_cancel_event.ts
index 781e1c4bb..5a40ba799 100644
--- a/packages/pipeline/src/entities/exchange_cancel_event.ts
+++ b/packages/pipeline/src/entities/exchange_cancel_event.ts
@@ -14,7 +14,8 @@ export class ExchangeCancelEvent {
@Column({ name: 'raw_data' })
public rawData!: string;
- // TODO(albrow): Include transaction hash
+ @Column({ name: 'transaction_hash' })
+ public transactionHash!: string;
@Column({ name: 'maker_address' })
public makerAddress!: string;
@Column({ nullable: true, type: String, name: 'taker_address' })
diff --git a/packages/pipeline/src/entities/exchange_cancel_up_to_event.ts b/packages/pipeline/src/entities/exchange_cancel_up_to_event.ts
index 752631b85..9b1c6174a 100644
--- a/packages/pipeline/src/entities/exchange_cancel_up_to_event.ts
+++ b/packages/pipeline/src/entities/exchange_cancel_up_to_event.ts
@@ -16,6 +16,8 @@ export class ExchangeCancelUpToEvent {
@Column({ name: 'raw_data' })
public rawData!: string;
+ @Column({ name: 'transaction_hash' })
+ public transactionHash!: string;
@Column({ name: 'maker_address' })
public makerAddress!: string;
@Column({ name: 'sender_address' })