Query editor
-- Public on-chain data only. Normal Dune table presentation in batches of 250.-- Every source record is retained; counts and ranks support complete local verification.WITH public_source AS (-- FAST32-COLUMN INVENTORY: real current principal/patience; owner activity is typed NULL, not zero.-- STAGE-REDUCED INVENTORY: raw ledger once; grouped actual mint guard; no funded ancestors in price filters.-- PUBLIC unichain CURRENT UNIV3 INVENTORY. NO PRIVATE WALLET LIST.-- Cutoff23Nov2026 00:00UTC. Current deployed principal, NOT gross deposits.-- Full historical NFT mints/liquidity/transfers: old passive positions retained.-- Public verified-asset-registry.csv allowlist, including issuer securities/funds.-- USD is a dated-price estimate; amounts use exact integer L then floating LP math.-- Fees/tokens owed after a decrease are excluded. Custody is not beneficial owner.-- All funded target NFTs retained: experienced OR patient OR observed novice.WITHasset_map(blockchain,token_address,asset_class,asset_label,decimals) AS (VALUES('unichain',0x078d782b760474a361dda0af3839290b0ef57ad6,'STABLE','USDC',6),('unichain',0x20cab320a855b39f724131c69424240519573f81,'STABLE','DAI',18),('unichain',0x2a22868610610199d43fe93a16661473a9f86f1e,'STABLE','USDG',6),('unichain',0x4200000000000000000000000000000000000006,'ETH','WETH',18),('unichain',0x588ce4f028d8e7b53b687865d6a67b3a54c75518,'STABLE','USDT',6),('unichain',0x9151434b16b9763660705744891fa906f660ecc5,'STABLE','USDT0',6),('unichain',0x927b51f251480a681271180da4de28d44ec4afb8,'BTC','WBTC',8),('unichain',0xb6a3e8e5715fd4c99ecedaaae121bde4ab6a1ef1,'BTC','cbBTC',8)),-- Stage reduction: simple pool metadata is independent of the full NFT ledger.pool_info AS (SELECT f.pool,f.token0,f.token1,f.feeFROM uniswap_v3_unichain.UniswapV3Factory_evt_PoolCreated fWHERE f.contract_address=0x1f98400000000000000000000000000000000003 AND f.evt_block_date<DATE '2026-11-23' AND (f.token0 IN (SELECT token_address FROM asset_map WHERE blockchain='unichain' AND asset_class<>'STABLE') ORf.token1 IN (SELECT token_address FROM asset_map WHERE blockchain='unichain' AND asset_class<>'STABLE'))),mint_parsed AS (SELECT m.output_tokenid AS token_id,m.call_block_time AS minted_at,m.call_tx_hash AS mint_tx,TRY(FROM_HEX(SUBSTR(JSON_EXTRACT_SCALAR(m.params,'$.token0'),3))) AS token0,TRY(FROM_HEX(SUBSTR(JSON_EXTRACT_SCALAR(m.params,'$.token1'),3))) AS token1,TRY_CAST(JSON_EXTRACT_SCALAR(m.params,'$.fee') AS INTEGER) AS fee,TRY_CAST(JSON_EXTRACT_SCALAR(m.params,'$.tickLower') AS INTEGER) AS tick_lower,TRY_CAST(JSON_EXTRACT_SCALAR(m.params,'$.tickUpper') AS INTEGER) AS tick_upperFROM uniswap_v3_unichain.NonfungiblePositionManager_call_mint mWHERE m.contract_address=0x943e6e07a7e8e791dafc44083e54041d743c46e9 AND m.call_success AND m.output_liquidity>0AND m.call_block_date<DATE '2026-11-23'),-- One grouped actual-mint join. Duplicate identical trace metadata cannot multiply L.mint_calls AS (SELECT p.token_id,MIN(p.minted_at) AS minted_at,MIN(p.mint_tx) AS mint_tx,MIN(p.token0) AS token0,MIN(p.token1) AS token1,MIN(p.fee) AS fee,MIN(p.tick_lower) AS tick_lower,MIN(p.tick_upper) AS tick_upperFROM mint_parsed p JOIN uniswap_v3_unichain.NonfungiblePositionManager_evt_Transfer mtON mt.contract_address=0x943e6e07a7e8e791dafc44083e54041d743c46e9 AND mt.tokenid=p.token_id AND mt.evt_tx_hash=p.mint_txAND mt."from"=0x0000000000000000000000000000000000000000 AND mt.evt_block_date<DATE '2026-11-23'WHERE p.token0 IS NOT NULL AND p.token1 IS NOT NULL AND p.fee IS NOT NULL AND p.tick_lower<p.tick_upperGROUP BY p.token_idHAVING COUNT(DISTINCT ROW(p.token0,p.token1,p.fee,p.tick_lower,p.tick_upper))=1),nft_metadata AS (SELECT m.*,pi.pool,COALESCE(t0.decimals,am0.decimals) AS decimals0,COALESCE(t1.decimals,am1.decimals) AS decimals1FROM mint_calls m JOIN pool_info pi ON pi.token0=m.token0 AND pi.token1=m.token1 AND pi.fee=m.feeLEFT JOIN tokens.erc20 t0 ON t0.blockchain='unichain' AND t0.contract_address=m.token0LEFT JOIN tokens.erc20 t1 ON t1.blockchain='unichain' AND t1.contract_address=m.token1LEFT JOIN asset_map am0 ON am0.blockchain='unichain' AND am0.token_address=m.token0