Query editor
-- Arc launch tracker · 11 · Hourly USDC inflow to Arc, with cumulative---- One row per hour from 24 hours before launch day (2026-09-15 00:00 UTC)-- to now. Built for one chart: stacked bars of net USDC arriving that hour by-- source, plus cumulative_net_inflow_usdc as a line on the right axis.---- Columns-- * direct_issuance_usdc: USDC minted or redeemed straight on Arc (Circle-- Mint), the Direct rail from 03_usdc_supply.sql.-- * ethereum / polygon / base / arbitrum / other_chains_usdc: net USDC bridged-- in from that chain over CCTP and Circle Gateway, as in 04. Every chain-- outside the named four lands in other_chains_usdc.-- * net_inflow_usdc: the hour's total, which is also the change in USDC supply.-- * cumulative_net_inflow_usdc: running total since the window start, i.e. the-- capital that has arrived since the day before launch.---- Method-- * Bridged: the transfers CTE from 04_crosschain_flows.sql (CCTP V2-- MessageReceived / DepositForBurn, Gateway AttestationUsed / GatewayBurned),-- inflows minus outflows. Amounts are USDC at 6 decimals.-- * Direct: EIP-7708 system-emitter mints (from 0x0) minus burns (to 0x0) in-- transactions with no CCTP or Gateway event. Amounts are 18 decimals.-- * Negative bars are net outflows: USDC burned to another chain or redeemed-- with Circle. An hour with no flows at all produces no row; since launch-- every hour has had some.---- The block_date filter only prunes partitions. Keep the window bounds as-- inline literals: putting them in a params CTE and CROSS JOINing it stops the-- filter reaching the system-emitter scan and costs ~50 credits instead of 1.4.---- Chart note. Dune orders the chart series by result-column order, not by the-- order the columns are picked, which is why cumulative_net_inflow_usdc sits-- first. That does not change what is drawn on top: Dune always paints line and-- area series above the bars, and its area fill is fully opaque (the colour-- picker takes 6-digit hex only, no alpha). With stacking on, an area for the-- cumulative swallows every bar once it climbs, so the cumulative is drawn as a-- line. A shaded area only works with stacking turned off, which costs the-- per-hour totals.WITH domains (domain, chain) AS (VALUES(0, 'Ethereum'), (1, 'Avalanche'), (2, 'OP Mainnet'), (3, 'Arbitrum'),(4, 'Noble'), (5, 'Solana'), (6, 'Base'), (7, 'Polygon PoS'), (8, 'Sui'),(9, 'Aptos'), (10, 'Unichain'), (11, 'Linea'), (12, 'Codex'), (13, 'Sonic'),(14, 'World Chain'), (15, 'Monad'), (16, 'Sei'), (17, 'BNB Smart Chain'),(18, 'XDC'), (19, 'HyperEVM'), (21, 'Ink'), (22, 'Plume'), (25, 'Starknet'),(26, 'Arc'), (27, 'Stellar'), (28, 'EDGE'), (29, 'Injective'), (30, 'Morph'),(31, 'Pharos'), (32, 'Cronos'), (33, 'Plasma'), (37, 'X Layer')),transfers AS (SELECTblock_time,'in' AS direction,CAST(varbinary_to_uint256(varbinary_substring(data, 1, 32)) AS bigint) AS domain,CAST(varbinary_to_uint256(varbinary_substring(data, 197, 32)) AS double) / 1e6 AS amount_usdcFROM arc.logsWHERE contract_address = 0x81d40f21f12a8f0e3252bccb954d722d4c464b64 -- CCTP MessageTransmitterV2AND topic0 = 0xff48c13eda96b1cceacc6b9edeedc9e9db9d6226afbc30146b720c19d3addb1c -- MessageReceivedAND length(data) >= 356