github dydxprotocol/v4-chain indexer/v5.0.0
Indexer v5.0.0

latest releases: protocol/v5.1.0-rc0, protocol/v5.0.7-dev0, indexer/v5.0.7...
one month ago

Indexer v5.0.0 Release Notes

Isolated Markets

  • Add market type to the CreatePerpetual API ([#1118](#1118))
  • Add parentSubaccountNumber endpoint for fills ([#1205](#1205))
  • Add market type to indexer events. ([#1201](#1201))
  • Implement GET /address/parentSubaccountNumber API ([#1229](#1229))
  • Implement /transfers/parentSubaccountNumber indexer API ([#1218](#1218))
  • Add API to get asset positions for parent subaccount ([#1243](#1243))
  • Update indexer to ingest and return market type for perpetuals ([#1266](#1266))
  • Add V2 for perpetual market create event + handlers. (backport #1395) ([#1402](#1402))
  • Add parentSubaccountNumber endpoint for historical-pnl (backport #1476) ([#1485](#1485))
  • Add parent subaccount websocket (backport #1463) ([#1486](#1486))
  • Fix subaccount validation to account for updated subaccount limit. (backport #1513) ([#1515](#1515))

Soft Open Interest Caps

Performance Improvements

  • Batch Process Vulcan messages ([#1018](#1018))
  • Optimize funding index update query ([#1061](#1061))
  • Add Indexes to candles and orders to optimize queries ([#1060](#1060))
  • add index that includes createdAt to fills to address read replica lag ([#1137](#1137))
  • Use read replica rather than main instance for aggregate-trading-rewards query ([#1190](#1190))
  • pass initial kafka timestamp from Ender -> Vulcan for better e2e order latency tracking ([#1211](#1211))
  • Enable rate limiting in socks by default ([#1272](#1272))
  • Indexer track e2e latency ([#1237](#1237))

Compliance

Implement persistent geo-blocking and close-only mode in Indexer

  • remove geoblocking from Indexer endpoints ([#1029](#1029))
  • add compliance status table ([#1032](#1032))
  • add roundtable task for CLOSE_ONLY -> BLOCKED compliance status transition ([#1034](#1034))
  • new compliance logic for comlink address-related endpoints ([#1048](#1048))
  • implement new geo-blocking strategy for socks ([#1049](#1049))
  • implement GET /compliance/screen/{address} endpoint ([#1087](#1087))
  • implement POST /compliance/setStatus for dev/staging environments ([#1088](#1088))
  • Implement skeleton for post /compliance/geoblock endpoint ([#1111](#1111))
  • implement post /compliance/geoblock ([#1129](#1129))
  • Fix Compliance types and validation (backport #1411) ([#1413](#1413))
  • Add updatedAt to compliance v2 API responses (backport #1360) ([#1480](#1480))
  • Update upsert querybuilder and compliance table upsert function (backport #1477) ([#1478](#1478))
  • implement logic for FIRST_STRIKE_CLOSE_ONLY mode (backport #1372) ([#1479](#1479))

Batch Cancel

  • msgBatchCancel success + failure fields ([#1130](#1130))

Bug Fixes

  • Fix Aggregate Historical Trading rewards and always use generated id in tables ([#1022](#1022))
  • Add missing index ([#1039](#1039))
  • Try-catch update functions in cache-update loops. ([#1042](#1042))
  • move funding handler from unordered_handlers to ordered_handlers ([#1097](#1097))
  • Ensure that all matching status are returned in list orders endpoint ([#1100](#1100))
  • Fix stateful order removal event ordering. (backport #1456) ([#1459](#1459))

Miscellaneous

  • Add print-block cmd to scripts README ([#1096](#1096))
  • add DELEVERAGING event type to print-block script ([#1120](#1120))
  • Add script to print candle time boundaries ([#1126](#1126))
  • Update Api documentation to have correct required fields ([#1167](#1167))
  • Add flag to send subaccount websocket message for long term orders in vulcan ([#1224](#1224))
  • Add flag to send subaccount websocket message from Ender for long term orders ([#1223](#1223))
  • Add BEC to initial subaccount orders socks channel (backport #1500) ([#1504](#1504))

Don't miss a new v4-chain release

NewReleases is sending notifications on new releases.