Query editor
-- $STONKEX bought on the market and $STONKEX burned, on one axis.---- They belong together because the interesting fact is the GAP between them: bought is not burned.-- Of the ~68.6M the Stockify index has burned, 26.1M arrived from the fee locker as fee income-- already denominated in $STONKEX and 21.1M was a one-off seed from the owner — neither was-- purchased. Two separate charts hid that; side by side the distance between the curves is it.---- Buying is credited to the two contracts that do it: the Stockify index at 0x44b5c100…3dcbd (fed-- the creator share through the locker's creator splits, so it never appears as `creator` on a-- FeesCollected event and is invisible to any query that follows the fee splitter alone) and-- StonkFeeSplitter itself. Transfers from the locker or the owner are excluded by address, since-- those are income and seed rather than purchases.WITH buyers (address) AS (VALUES (0x44b5c100513e6f625037c039300c5bc72b73dcbd),(0xfBC9eE130f1CFeeb192b18CF1202865d757FA680)),internal_sources (address) AS (VALUES (0x71D1D363176723f85d98B8B430DF33cde89f0A7f), -- fee locker: fee income paid in $STONKEX(0x81dd3174d55FcF396E92122881cA591705C4e1e1) -- owner: the index's initial seed),bought AS (SELECT block_date, sum(amount) AS stonkexFROM tokens.transfersWHERE blockchain = 'base'AND contract_address = 0x5ab000ff9B9FfE0349CE5ffA5fD86f217C3680F5AND block_date >= DATE '2026-08-17'AND "to" IN (SELECT address FROM buyers)AND "from" NOT IN (SELECT address FROM internal_sources)GROUP BY 1),-- Every burner counts, not just one: the index, the splitter and the owner all send to the dead-- address, so keying this on a single sender would undercount the burn.burned AS (SELECT block_date, sum(amount) AS stonkexFROM tokens.transfersWHERE blockchain = 'base'AND contract_address = 0x5ab000ff9B9FfE0349CE5ffA5fD86f217C3680F5AND block_date >= DATE '2026-08-17'AND "to" = 0x000000000000000000000000000000000000dEaDGROUP BY 1),days AS (SELECT block_date FROM boughtUNIONSELECT block_date FROM burned)SELECTd.block_date AS day,round(sum(COALESCE(b.stonkex, 0)) OVER (ORDER BY d.block_date)) AS cum_bought,round(sum(COALESCE(r.stonkex, 0)) OVER (ORDER BY d.block_date)) AS cum_burnedFROM days dLEFT JOIN bought b ON b.block_date = d.block_dateLEFT JOIN burned r ON r.block_date = d.block_dateORDER BY day