Query editor
-- $NAT is a NATIVE BITCOIN token (TAP Protocol DMT), minted from Bitcoin block headers since block 817,709.-- This ERC-20 (0x249130f5e2dd4cf278180c0df8273f3592ad1247) is its BRIDGED Ethereum representation.-- Ethereum-side figures only. Bitcoin emission and pool attribution: https://dune.com/bitcoinsecuritybudget/bitcoin-second-subsidy-- PANEL 6: wallets that received NAT for the FIRST time, per week. The cumulative is computed over the token's whole history BEFORE the 52-week window is applied, so it never restarts at the window edge.WITH first_seen AS (SELECT "to" AS wallet, MIN(evt_block_time) AS first_tsFROM erc20_ethereum.evt_TransferWHERE contract_address = 0x249130f5e2dd4cf278180c0df8273f3592ad1247AND "to" <> 0x0000000000000000000000000000000000000000GROUP BY 1),weekly AS (SELECT DATE_TRUNC('week', first_ts) AS week, COUNT(*) AS new_walletsFROM first_seenGROUP BY 1),cum AS (SELECT week, new_wallets,SUM(new_wallets) OVER (ORDER BY week ROWS UNBOUNDED PRECEDING) AS cumulative_walletsFROM weekly)SELECT week, new_wallets, cumulative_walletsFROM cumWHERE week >= DATE_TRUNC('week', NOW()) - INTERVAL '364' DAY AND week < DATE_TRUNC('week', NOW())ORDER BY week;