Query editor
-- On-chain route breakdown for Aero liquidity deposits by the 255 original stocks-2 campaign wallets during the Oct 22-24 migration window.-- Built from the audited Aero position event ledger (query_9219102) joined to base.transactions.WITH inc AS (SELECT DISTINCT tx_hash, tokenIdFROM query_9219102WHERE kind = 'increase'AND event_time >= TIMESTAMP '2026-10-22 00:00:00'AND event_time < TIMESTAMP '2026-10-25 00:00:00'),routed AS (SELECTi.tx_hash,i.tokenId,tx."from" AS sender,CASEWHEN bytearray_position(tx.data, 0x62635f3538326d6434696f) > 0THEN 'Revert UI / contracts (bc_582md4io)'WHEN tx."to" = 0x293ba185d875b5c562b552082cfef630dab57badTHEN 'Aero LpMigrator (non-Revert code)'WHEN tx."to" = 0x0fef9e88a7b76bcdbf451780c6774fe32965ee98THEN 'Aero Metarouter (no builder code)'WHEN tx."to" = 0x4857db576ee0e45f10525ec59527bfd10beec60bTHEN 'Direct PositionManager (no code)'WHEN tx."to" = 0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789THEN 'ERC-4337 Smart Wallets (no code)'ELSE 'Other contracts (no Revert code)'END AS migration_routeFROM inc iJOIN base.transactions txON tx.hash = i.tx_hashAND tx.block_time >= TIMESTAMP '2026-10-22 00:00:00'AND tx.block_time < TIMESTAMP '2026-10-25 00:00:00')SELECTmigration_route,count(DISTINCT tokenId) AS positions,count(DISTINCT tx_hash) AS transactions,count(DISTINCT sender) AS unique_sendersFROM routedGROUP BY 1ORDER BY positions DESC