diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-19 08:44:48 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:24:48 +0800 |
commit | 3a19faa5ff8a66395c5eb8d1400338cefaa21187 (patch) | |
tree | f35c9bbef19ebcef15e92f5f306040727d3b91a4 /packages/pipeline/src/parsers | |
parent | bbe1a843ef44e518fc957ea36325d5a730502de5 (diff) | |
download | dexon-sol-tools-3a19faa5ff8a66395c5eb8d1400338cefaa21187.tar.gz dexon-sol-tools-3a19faa5ff8a66395c5eb8d1400338cefaa21187.tar.zst dexon-sol-tools-3a19faa5ff8a66395c5eb8d1400338cefaa21187.zip |
Update script to work with existing v1 pipeline data
Diffstat (limited to 'packages/pipeline/src/parsers')
-rw-r--r-- | packages/pipeline/src/parsers/events/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/pipeline/src/parsers/events/index.ts b/packages/pipeline/src/parsers/events/index.ts index b9b4d02cb..abfb7ddb6 100644 --- a/packages/pipeline/src/parsers/events/index.ts +++ b/packages/pipeline/src/parsers/events/index.ts @@ -43,9 +43,10 @@ export function _convertToExchangeFillEvent(eventLog: LogWithDecodedArgs<Exchang exchangeFillEvent.blockNumber = eventLog.blockNumber as number; exchangeFillEvent.logIndex = eventLog.logIndex as number; exchangeFillEvent.rawData = eventLog.data as string; + exchangeFillEvent.transactionHash = eventLog.transactionHash; exchangeFillEvent.makerAddress = eventLog.args.makerAddress.toString(); exchangeFillEvent.takerAddress = eventLog.args.takerAddress.toString(); - exchangeFillEvent.feeRecepientAddress = eventLog.args.feeRecipientAddress; + exchangeFillEvent.feeRecipientAddress = eventLog.args.feeRecipientAddress; exchangeFillEvent.senderAddress = eventLog.args.senderAddress; exchangeFillEvent.makerAssetFilledAmount = eventLog.args.makerAssetFilledAmount.toString(); exchangeFillEvent.takerAssetFilledAmount = eventLog.args.takerAssetFilledAmount.toString(); |