Query editor
-- pons: top 20 pons-launched coins by trailing 24h dex.trades volume-- launches CTE identical to sql/pons_a_launches_daily.sql and sql/pons_e_launch_survival.sql (task-- constraint: reused verbatim).-- has_sinjoh_router column dropped per the brief's own fallback clause: the Sinjoh collector-- sub-contracts (docs/notes/robinhood-schema.md section 6, reused in-- sql/index_d_sinjoh_burns_daily.sql) are per-token fee collectors deployed by the SinjohFeeRouter-- clone, but which token each collector is configured for is not exposed by any decoded event or-- readable state in the tables available here (robinhood.creation_traces only gives deployer,-- deployee, and block_time, not constructor args). UNVERIFIED; column dropped rather than guessed.-- Task 6 build addition: a symbol column joined from tokens.erc20 AFTER the limit, so the public-- panel shows tickers instead of a wall of bare hex addresses. Same source Task 4 used for v4meta-- symbols. Joining post-limit keeps it to 20 lookups instead of 245k. Symbol is cosmetic only and-- never drives ranking; tokens.erc20 misses register on this chain, hence the 'unknown' default.with launches as (select address as token, block_time as launched_atfrom robinhood.creation_traceswhere "from" in (0xA5aAb3F0c6EeadF30Ef1D3Eb997108E976351feB, 0x7E1EAbd52Ae29598e6483F72dCf1a70b14284dB8)),volume_24h as (select token, sum(usd) as volume_usd_24h, count(*) as trades_24hfrom (select token_bought_address as token, amount_usd as usdfrom dex.tradeswhere blockchain = 'robinhood'and block_time > now() - interval '1' dayand token_bought_address in (select token from launches)union allselect token_sold_address as token, amount_usd as usdfrom dex.tradeswhere blockchain = 'robinhood'and block_time > now() - interval '1' dayand token_sold_address in (select token from launches)) xgroup by 1),ranked as (select l.token, l.launched_at, coalesce(v.volume_usd_24h, 0.0) as volume_usd_24h,coalesce(v.trades_24h, 0) as trades_24hfrom launches lleft join volume_24h v on v.token = l.tokenorder by volume_usd_24h desclimit 20)select r.token, coalesce(e.symbol, 'unknown') as symbol, r.launched_at,r.volume_usd_24h, r.trades_24hfrom ranked rleft join tokens.erc20 e on e.blockchain = 'robinhood' and e.contract_address = r.tokenorder by r.volume_usd_24h desc