aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/parsers
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/parsers
parent1d189d112e303aeab898aad4a214f3e8b2ff710a (diff)
downloaddexon-sol-tools-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.tar
dexon-sol-tools-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.tar.gz
dexon-sol-tools-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.tar.bz2
dexon-sol-tools-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.tar.lz
dexon-sol-tools-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.tar.xz
dexon-sol-tools-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.tar.zst
dexon-sol-tools-09a0ca659eca08cb20bb1096abf19f9ca4ef86c1.zip
Add transactionHash to CancelUpToEvent and CancelEvent entities
Diffstat (limited to 'packages/pipeline/src/parsers')
-rw-r--r--packages/pipeline/src/parsers/events/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/pipeline/src/parsers/events/index.ts b/packages/pipeline/src/parsers/events/index.ts
index 27e192d7b..407883078 100644
--- a/packages/pipeline/src/parsers/events/index.ts
+++ b/packages/pipeline/src/parsers/events/index.ts
@@ -103,6 +103,7 @@ export function _convertToExchangeCancelEvent(
exchangeCancelEvent.blockNumber = eventLog.blockNumber as number;
exchangeCancelEvent.logIndex = eventLog.logIndex as number;
exchangeCancelEvent.rawData = eventLog.data as string;
+ exchangeCancelEvent.transactionHash = eventLog.transactionHash;
exchangeCancelEvent.makerAddress = eventLog.args.makerAddress.toString();
exchangeCancelEvent.takerAddress =
eventLog.args.takerAddress == null ? null : eventLog.args.takerAddress.toString();
@@ -137,6 +138,7 @@ export function _convertToExchangeCancelUpToEvent(
exchangeCancelUpToEvent.blockNumber = eventLog.blockNumber as number;
exchangeCancelUpToEvent.logIndex = eventLog.logIndex as number;
exchangeCancelUpToEvent.rawData = eventLog.data as string;
+ exchangeCancelUpToEvent.transactionHash = eventLog.transactionHash;
exchangeCancelUpToEvent.makerAddress = eventLog.args.makerAddress.toString();
exchangeCancelUpToEvent.senderAddress = eventLog.args.senderAddress.toString();
exchangeCancelUpToEvent.orderEpoch = eventLog.args.orderEpoch;