aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/parsers/bloxy/index.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2019-01-31 02:12:15 +0800
committerfragosti <francesco.agosti93@gmail.com>2019-01-31 02:12:15 +0800
commitc2ad95fd94611dba2030778553380cf07a85a4c3 (patch)
tree337be782f27f2bd3a2dc88da6a5f65b592a4c92c /packages/pipeline/src/parsers/bloxy/index.ts
parent5ad2e9d6b6b1ff7c5327975501e8c042a5817ab9 (diff)
downloaddexon-0x-contracts-c2ad95fd94611dba2030778553380cf07a85a4c3.tar.gz
dexon-0x-contracts-c2ad95fd94611dba2030778553380cf07a85a4c3.tar.zst
dexon-0x-contracts-c2ad95fd94611dba2030778553380cf07a85a4c3.zip
update types to adhere to new dex trades and bloxy api format
Diffstat (limited to 'packages/pipeline/src/parsers/bloxy/index.ts')
-rw-r--r--packages/pipeline/src/parsers/bloxy/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/pipeline/src/parsers/bloxy/index.ts b/packages/pipeline/src/parsers/bloxy/index.ts
index caa55d289..3d797aff0 100644
--- a/packages/pipeline/src/parsers/bloxy/index.ts
+++ b/packages/pipeline/src/parsers/bloxy/index.ts
@@ -21,6 +21,7 @@ export function _parseBloxyTrade(rawTrade: BloxyTrade): DexTrade {
const dexTrade = new DexTrade();
dexTrade.sourceUrl = BLOXY_DEX_TRADES_URL;
dexTrade.txHash = rawTrade.tx_hash;
+ dexTrade.tradeIndex = rawTrade.tradeIndex;
dexTrade.txTimestamp = new Date(rawTrade.tx_time).getTime();
dexTrade.txDate = rawTrade.tx_date;
dexTrade.txSender = rawTrade.tx_sender;