Query editor
with iv_nft as (select count(tokenId) as nft_cnt,count(distinct holder) as nft_holderfrom (select tokenId,to as holder,row_number() over (partition by tokenId order by evt_block_time desc) as rkfrom erc721_arbitrum.evt_transferwhere contract_address = 0x6584533decbcb8c05fb7EAbFa93f92b7b3A85038 -- CARV_Verifier)where rk = 1)select a.*-- ,p.*-- ,t.*,n.*-- ,'$' || format_number(p.eth_price * t.list_price * a.node_cnt / 0.15) as implied_valfrom (select count(1) as tx_cnt,sum(amount) as node_cnt,coalesce(sum(case when rnd = 'WL' then amount end),0) as wl_node_cnt,coalesce(sum(case when rnd = 'PUBLIC' then amount end),0) as public_node_cnt,count(distinct buyer) as unique_buyer,sum(case when currency = 'WETH' then price end) as eth_only_amount,sum(case when currency = 'USDC' then price end) as usdc_only_amount,sum(case when currency = 'SOL' then price end) as sol_only_amount,sum(usd_price) as usd_amountfrom query_3751770 a) a-- cross join iv_latest_price p-- cross join iv_latest_tier tcross join iv_nft n