Query editor
-- index: daily INDEX burned by Sinjoh router-deployed collectors-- Recon correction (docs/notes/robinhood-schema.md section 6): there is no on-chain Sinjoh factory-- contract to enumerate clones from via creation_traces where "from" = factory. All addresses-- below were deployed directly by operator EOA 0x3d58E42d3a920dE4C1F71EE041c7eBb82ee23f49 as-- individual top-level transactions; this is the literal list from that recon.-- Task 2 live on-chain check (2026-08-02): none of the original 9 addresses ever appear as sender or-- recipient of a single INDEX transfer (checked directly against tokens.transfers; zero rows).-- The real burn path is one level deeper: the SinjohFeeRouter clone-- 0xFA51E67f799699A237D558F5FbE7B170F8c5584d itself deployed 9 further per-token "collector"-- sub-contracts between 2026-07-30 and 2026-08-02. One of those, 0x2e8e29816030eca0ffa8432ac4a4ab861323bb42-- (deployed 2026-07-31 12:00:50), is the confirmed INDEX burner: at check time it alone accounted for-- 40,353.01 INDEX burned to 0x...dead across 18 txs, matching the plan's ~40,391 target within same-day-- drift. Rather than hardcode that one address, this query derives the full grandchild set live via-- creation_traces so it keeps catching any further per-token collectors the router deploys.-- 2026-08-05 fix (audit C1): the parent deploy list was stale at 9. Extended to 11 with the same 2-- addresses and same sourcing as sql/pons_d_sinjoh_adoption.sql's header (audit doc C1, itself-- sourced from the operator EOA's Blockscout txlist); kept identical between the two files per the-- "same list, reused for consistency" note above. Including the new-- SinjohPonsV2AdapterFactory address in the parent list means this query will also start catching-- any grandchild collectors it deploys, without a further edit.-- 2026-08-05 fix (audit M1): burns_daily below is now zero-filled over a generated day spine from-- the first collector deploy to today, so a day with a real absence of burns renders as an explicit-- 0 bar rather than a gap the chart's x-axis silently skips (matching the pattern-- sql/pons_d_sinjoh_adoption.sql already uses for its clone leg). burn_txs is genuinely 0 on those-- days, not unknown, since collectors are enumerated live and tokens.transfers is a complete feed.-- last verified 2026-08-05with sinjoh_deploys (address) as (values-- Original 9, all deployed 2026-07-30 (docs/notes/robinhood-schema.md section 6):(0x5Bb7582557F5be30b62c335Ad3ccf4bA79E138c5),(0x17c76Ff58b7Da12E116bb22ebDcc7F31Cadf9B64),(0xFA51E67f799699A237D558F5FbE7B170F8c5584d),(0xc32b2250b26a92F2CbE6388b52D3F9F32E39256c),(0xfdd4f594A9f7cD17fEE0BBF2859F4eEA3265F328),(0xA1d65242D367501D9A261389a69005e584F4786a),(0xf67150FB39E6A9200C06F9F8DF589d40C94d79c3),(0x22F1755c85FeBCD486aCfF07FC5A3F5F60504950),(0xc9F600ebaf9EE1F4a24568D2e4Af9E8df1e07D7B),-- 2 more found by the 2026-08-04 audit (C1), discovered 2026-08-05 in this fix pass:(0x6C70e5ea0EfC774d4099De14Ab4383F6a44AAB2B), -- deployed 2026-08-03 23:20:26 UTC(0xdb02cC8bbEb1F4B0A98f974a8768c08370d1a821) -- deployed 2026-08-04 20:23:04 UTC, SinjohPonsV2AdapterFactory),collectors as (select ct.address, ct.block_time as collector_deployed_atfrom robinhood.creation_traces ctjoin sinjoh_deploys d on ct."from" = d.address),burns as (select block_time, amount as index_amtfrom tokens.transferswhere blockchain = 'robinhood'and contract_address = 0x56910D4409F3a0C78C64DD8D0545FF0705389870and "to" = 0x000000000000000000000000000000000000deadand "from" in (select address from collectors)),burns_daily as (select date_trunc('day', block_time) as day,sum(index_amt) as index_burned,count(*) as burn_txsfrom burns