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-- dmt-nat (NAT) on Ethereum -- Dune dashboard panel 1-- Token 0x249130f5e2dd4cf278180c0df8273f3592ad1247 (ERC-20, 0 decimals: value == NAT)-- PANEL 1: holder count + top-20 holders with share of circulating supply.-- Balances = net transfers per address (in - out), zero balances excluded.-- Circulating = sum of all positive balances (mint from 0x0 minus burn to 0x0).-- The Wormhole bridge is LOCKED supply living on other chains -> labelled, not removed.WITH t AS (SELECT "from" AS addr, -CAST(value AS DOUBLE) AS deltaFROM erc20_ethereum.evt_TransferWHERE contract_address = 0x249130f5e2dd4cf278180c0df8273f3592ad1247UNION ALLSELECT "to", CAST(value AS DOUBLE)FROM erc20_ethereum.evt_TransferWHERE contract_address = 0x249130f5e2dd4cf278180c0df8273f3592ad1247),bal AS (SELECT addr, SUM(delta) AS balanceFROM tWHERE addr <> 0x0000000000000000000000000000000000000000GROUP BY addrHAVING SUM(delta) > 0),supply AS (SELECT SUM(balance) AS circulating, COUNT(*) AS holder_count FROM bal),labels AS (SELECT * FROM (VALUES(0x3ee18b2214aff97000d974cf647e7c347e8fa585, 'Wormhole Portal bridge (locked; on other chains)'),(0x000000000004444c5dc75cb358380d2e3de08a90, 'Uniswap v4 PoolManager (pool liquidity)'),(0x66a9893cc07d91d95644aedd05d03f95e1dba8af, 'Uniswap UniversalRouter'),(0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad, 'Uniswap UniversalRouter (legacy)'),(0x111111125421ca6dc452d289314280a0f8842a65, '1inch router v6'),(0x1111111254eeb25477b68fb85ed929f73a960582, '1inch router v5'),(0xdef1c0ded9bec7f1a1670819833240f027b25eff, '0x Exchange Proxy'),(0x881d40237659c251811cec9c364ef91dc08d300c, 'MetaMask Swap Router'),(0x28c6c06298d514db089934071355e5743bf21d60, 'Binance 14'),(0x21a31ee1afc51d94c2efccaa2092ad1028285549, 'Binance 15'),(0xdfd5293d8e347dfe59e90efd55b2956a1343963d, 'Binance 16'),(0x56eddb7aa87536c09ccc2793473599fd21a8b17f, 'Binance 17'),(0x9696f59e4d72e237be84ffd425dcad154bf96976, 'Binance 18'),(0x4976a4a02f38326660d17bf34b431dc6e2eb2327, 'Binance 19'),(0xd88b55467f58af508dbfdc597e8ebd2ad2de49b3, 'Binance 20'),(0x0681d8db095565fe8a346fa0277bffde9c0edbbf, 'Binance 4'),(0xf977814e90da44bfa03b6295a0616a897441acec, 'Binance 8'),(0x2b5634c42055806a59e9107ed44d43c426e58258, 'KuCoin'),(0x689c56aef474df92d44a1b70850f808488f9769c, 'KuCoin 4'),(0xa7efae728d2936e78bda97dc267687568dd593f3, 'OKX'),(0x5041ed759dd4afc3a72b8192c143f72f4724081a, 'OKX 2'),(0x6cc5f688a315f3dc28a7781717a9a798a59fda7b, 'OKX 3'),(0x0d0707963952f2fba59dd06f2b425ace40b492fe, 'Gate.io'),(0xd4dcd2459bb78d7a645aa7e196857d421b10d93f, 'Coinbase'),(0x71660c4005ba85c37ccec55d0c4493e66fe775d3, 'Coinbase 1'),(0x503828976d22510aad0201ac7ec88293211d23da, 'Coinbase 2'),(0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740, 'Coinbase 3'),(0x3cd751e6b0078be393132286c442345e5dc49699, 'Coinbase 4'),(0xb5d85cbf7cb3ee0d56b3bb207d5fc4b82f43f511, 'Coinbase 5'),(0xeb2629a2734e272bcc07bda959863f316f4bd4cf, 'Coinbase 6'),(0xa9d1e08c7793af67e9d92fe308d5697fb81d3e43, 'Coinbase 10')) AS x(addr, label)