Query editor
WITH wallets(label,wallet) AS (VALUES('02c89',0x02c89cb00da8aec602587b2f1bb5be7e278a1801),('df223',0xdf2237114d595e0bf4d35cbcdebcdf43c55c4669),('4779c',0x4779c55e73fe8a0327c8afca167f66034b61f22a),('68b97',0x68b97b11f83cd88857370467cbbbd9a07d696c7d)),pairs(pair_name,left_wallet,right_wallet) AS (VALUES('02c89-df223',0x02c89cb00da8aec602587b2f1bb5be7e278a1801,0xdf2237114d595e0bf4d35cbcdebcdf43c55c4669),('02c89-4779c',0x02c89cb00da8aec602587b2f1bb5be7e278a1801,0x4779c55e73fe8a0327c8afca167f66034b61f22a),('02c89-68b97',0x02c89cb00da8aec602587b2f1bb5be7e278a1801,0x68b97b11f83cd88857370467cbbbd9a07d696c7d),('df223-4779c',0xdf2237114d595e0bf4d35cbcdebcdf43c55c4669,0x4779c55e73fe8a0327c8afca167f66034b61f22a),('df223-68b97',0xdf2237114d595e0bf4d35cbcdebcdf43c55c4669,0x68b97b11f83cd88857370467cbbbd9a07d696c7d),('4779c-68b97',0x4779c55e73fe8a0327c8afca167f66034b61f22a,0x68b97b11f83cd88857370467cbbbd9a07d696c7d)),funding AS (SELECT w.wallet,tr."from" source,COALESCE(tr.tx_from,0x0000000000000000000000000000000000000000) tx_origin,tr.block_time,tr.tx_hash,SUM(COALESCE(tr.amount,0e0)) amount_ethFROM wallets w JOIN tokens.transfers tr ON tr.blockchain='robinhood'AND tr.block_date>=DATE '2026-07-01' AND tr.block_date<=CURRENT_DATEAND LOWER(tr.token_standard)='native' AND tr."to"=w.wallet AND tr."from"<>w.walletAND COALESCE(tr.tx_from,0x0000000000000000000000000000000000000000)<>w.walletGROUP BY 1,2,3,4,5),funding_wallet AS (SELECT wallet,COUNT(*) external_funding_rows,COUNT(DISTINCT source) funding_sources,SUM(amount_eth) externally_initiated_eth,MIN_BY(source,block_time) first_funding_source,MIN_BY(tx_origin,block_time) first_funding_origin,MIN(block_time) first_funding_timeFROM funding GROUP BY 1),common_funding AS (SELECT p.pair_name,COUNT(DISTINCT IF(rs.source IS NOT NULL AND l.source<>0xf70da97812cb96acdf810712aa562db8dfa3dbef,l.source,NULL)) common_sources,COUNT(DISTINCT IF(ro.tx_origin IS NOT NULL AND l.tx_origin<>0xf70da97812cb96acdf810712aa562db8dfa3dbef,l.tx_origin,NULL)) common_tx_origins,SUM(IF(rs.source IS NOT NULL,LEAST(l.amount_eth,rs.amount_eth),0e0)) common_source_overlap_ethFROM pairs p LEFT JOIN funding l ON l.wallet=p.left_walletLEFT JOIN funding rs ON rs.wallet=p.right_wallet AND rs.source=l.sourceLEFT JOIN funding ro ON ro.wallet=p.right_wallet AND ro.tx_origin=l.tx_originGROUP BY 1),direct AS (SELECT p.pair_name,COUNT(tr.tx_hash) direct_native_rows,SUM(COALESCE(tr.amount,0e0)) direct_native_ethFROM pairs p LEFT JOIN tokens.transfers tr ON tr.blockchain='robinhood'AND tr.block_date>=DATE '2026-07-01' AND tr.block_date<=CURRENT_DATEAND LOWER(tr.token_standard)='native'AND ((tr."from"=p.left_wallet AND tr."to"=p.right_wallet)OR (tr."from"=p.right_wallet AND tr."to"=p.left_wallet))GROUP BY 1),launches AS (SELECT wallet,tx_hash,block_time,token,LOWER(COALESCE(symbol,'')) symbol,buy_cost_usdFROM dune.tusa3112.result_rh_77dc_creator_eventsWHERE target=0x77dc6f6361b7b99456fc3761ce5b7dda80d83f9dAND selector=0xf39dc3ed AND buy_cost_usd>0e0),launch_counts AS (