aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities/exchange_cancel_event.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-16 05:09:44 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:16:50 +0800
commit09a0ca659eca08cb20bb1096abf19f9ca4ef86c1 (patch)
treecdf2a1de435e9d287de7d6aa5f9863a433b6ee0d /packages/pipeline/src/entities/exchange_cancel_event.ts
parent1d189d112e303aeab898aad4a214f3e8b2ff710a (diff)
downloaddexon-0x-contracts-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.tar.gz
dexon-0x-contracts-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.tar.zst
dexon-0x-contracts-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.zip
Add transactionHash to CancelUpToEvent and CancelEvent entities
Diffstat (limited to 'packages/pipeline/src/entities/exchange_cancel_event.ts')
-rw-r--r--packages/pipeline/src/entities/exchange_cancel_event.ts3
1 files changed, 2 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' })