Query editor
-- vltUSDC · 12 — VLT holders-- Holder count and top-20 holders for the VLT reserve asset (0x6b78…4d11), from its ERC-20-- Transfer events. Mirrors 07's derivation, but for VLT rather than the vltUSDC share token —-- note VLT is 18-decimal, whereas shares have decimals() == 0.-- Reads the generic erc20 table, not the decoded VaultToken table: the latter was only indexed-- forward from the 2026-08-11 decode submission and holds ~19 of VLT's 27,963 transfers.-- Params: none — VLT's address is fixed on mainnet.WITH flows AS (SELECT "to" AS holder, CAST(value AS DOUBLE) AS amtFROM erc20_ethereum.evt_TransferWHERE contract_address = 0x6b785a0322126826d8226d77e173d75dafb84d11UNION ALLSELECT "from" AS holder, -CAST(value AS DOUBLE) AS amtFROM erc20_ethereum.evt_TransferWHERE contract_address = 0x6b785a0322126826d8226d77e173d75dafb84d11),balances AS (SELECT holder, SUM(amt) / 1e18 AS vltFROM flowsWHERE holder <> 0x0000000000000000000000000000000000000000GROUP BY 1HAVING SUM(amt) > 0),supply AS (SELECT SUM(vlt) AS total FROM balances)SELECTROW_NUMBER() OVER (ORDER BY b.vlt DESC) AS rank,CAST(b.holder AS VARCHAR) AS holder,b.vlt,b.vlt / s.total * 100 AS pct_of_supply,(SELECT COUNT(*) FROM balances) AS holder_countFROM balances bCROSS JOIN supply sORDER BY b.vlt DESCLIMIT 20