Query editor
-- Metronome Recovery Dashboard: Legacy CDP Debt, current (Section 1 / Section 5)-- LIVE -- EXTERNAL FEED (not derived by our own SQL). Sourced from the public community-- table dune.dom_xyz1549.dataset_metronome_cdp, which is pushed by an external script every-- ~10 minutes. Pre-Morpho CDP debt-share accounting can't be cleanly reconstructed from raw-- on-chain events in reasonable SQL, so this table is used as-is per the documented Phase 1-- scope decision. NOTE: current-value only -- no historical time series is available from-- this source, so it cannot feed the Section 2 daily solvency charts, only current-day KPIs.SELECTCASE WHEN synth = 'MSUSD' THEN 'msUSD' WHEN synth = 'MSETH' THEN 'msETH' ELSE synth END AS synth,SUM(debt) AS cdp_debtFROM dune.dom_xyz1549.dataset_metronome_cdpGROUP BY 1;