From c2ad95fd94611dba2030778553380cf07a85a4c3 Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 30 Jan 2019 10:12:15 -0800 Subject: update types to adhere to new dex trades and bloxy api format --- packages/pipeline/src/parsers/bloxy/index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/pipeline/src/parsers/bloxy/index.ts') 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; -- cgit