Query editor
WITH burns AS (SELECT evt_block_date AS day, evt_tx_hash, SUM(CAST(value AS double))/1e18 AS burnedFROM erc20_robinhood.evt_transferWHERE contract_address=0xe934e36a439c94017b64a3fece66af12099abf50AND "to" IN (0x0000000000000000000000000000000000000000,0x000000000000000000000000000000000000dead)AND evt_block_date>=DATE '2026-01-01'GROUP BY 1,2), activation AS (SELECT evt_tx_hash, 'Broker Activation' AS source FROM stonkbrokers_robinhood.activationmanager_evt_activated WHERE evt_block_date>=DATE '2026-01-01'UNIONSELECT evt_tx_hash, 'Broker Upgrade' FROM stonkbrokers_robinhood.activationmanager_evt_activationupgraded WHERE evt_block_date>=DATE '2026-01-01'), reelect AS (SELECT evt_tx_hash, 'Intern Re-election' AS source FROM stonkbrokers_robinhood.intern_clockin_v3_evt_reelectfeeburned WHERE evt_block_date>=DATE '2026-01-01')SELECT b.day, COALESCE(a.source,r.source,'Other Direct Burn') AS source, SUM(b.burned) AS burnedFROM burns bLEFT JOIN activation a ON b.evt_tx_hash=a.evt_tx_hashLEFT JOIN reelect r ON b.evt_tx_hash=r.evt_tx_hashGROUP BY 1,2ORDER BY 1,2