Query editor
-- sfrxUSD (Ethereum) — Daily Supply Change by Mechanism---- !!! READ THIS BEFORE TRUSTING THE OUTPUT !!!-- The ERC-4626 deposit()/redeem() path on the Ethereum vault STOPPED BEING USED on 2025-09-02.-- There are no Deposit/Withdraw events after that date. This is not a data gap — the mechanism-- changed. Evidence:-- * Ethereum totalSupply kept moving by millions after 2025-09-02 with zero 4626 events.-- * Global gross and circulating supply moved together through 2025-08, then decoupled-- permanently from 2025-09 onward.-- * The Fraxtal MintRedeemer's sfrxUSD inventory went ~1.1M (Sep 2025) -> 6.5M (Oct) ->-- 12.0M (Nov) -> 17.1M (Dec) as it took over as the stake/redeem venue.-- * The Ethereum LayerZero adapter's balance fell to 0 by Dec 2025 and has stayed there,-- i.e. the Ethereum OFT became mint/burn rather than lock/unlock.---- CONSEQUENCE: true primary-market stake/unstake now happens through the Fraxtal MintRedeemer-- 0xBFc4D34Db83553725eC6c768da71D2D9c1456B55, on a chain Dune does not index. It is NOT-- observable here. In the current era, Ethereum mint/burn is predominantly cross-chain bridge-- flow, not user staking — do not label it "stake/unstake".---- For authoritative net flow use query 01 (`chg_30d` on global circulating, from the Frax API).-- Chart type: bar by mechanism, stacked---- ============================================================================================-- THIS QUERY OUTPUTS ETHEREUM **GROSS** SUPPLY, IN **TOKENS**.-- The Frax dashboard shows Ethereum **CIRCULATING** supply, in **USD**. They differ by two-- independent factors and will never match directly. Reconciled 2026-07-21 to 0.002%:---- cum_gross_supply 27,031,766 tokens-- x pricePerShare (1.20286) $32,515,465-- less unissued + POL + bridge:-- Comptroller unissued 1,711,635-- Convex frxUSD/sfrxUSD POL 6,277,002-- Fraxtal L1 Bridge 286,239-- Convex sfrxUSD/reUSD POL 179,848-- Curve sfrxUSD/scrvUSD POL 69,509-- ------------ 8,524,233 tokens-- = circulating 18,507,533 tokens = $22,261,995-- dashboard says $22,261,288 (588 tokens apart)---- So: gross-vs-circulating is ~8.5M tokens, and tokens-vs-USD is a further 1.20x.-- Query 01 is the circulating series. Do not chart cum_gross_supply as supply or TVL.-- ============================================================================================WITH-- Continuous across all eras: Ethereum sfrxUSD minted / burned.-- Pre-2025-09 this tracked vault deposits; post-2025-09 it is mostly bridge mint/burn.mint_burn AS (SELECTDATE_TRUNC('day', block_time) AS day,SUM(CASE WHEN bytearray_substring(topic1, 13, 20) = 0x0000000000000000000000000000000000000000THEN CAST(bytearray_to_uint256(data) AS DOUBLE) / 1e18 ELSE 0 END) AS minted,SUM(CASE WHEN bytearray_substring(topic2, 13, 20) = 0x0000000000000000000000000000000000000000THEN CAST(bytearray_to_uint256(data) AS DOUBLE) / 1e18 ELSE 0 END) AS burnedFROM ethereum.logsWHERE contract_address = 0xcf62F905562626CfcDD2261162a51fd02Fc9c5b6AND topic0 = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efAND (bytearray_substring(topic1, 13, 20) = 0x0000000000000000000000000000000000000000OR bytearray_substring(topic2, 13, 20) = 0x0000000000000000000000000000000000000000)