Query editor
-- Metronome Recovery Dashboard: Daily Repay Activity (Section 5)-- On-chain, live. Daily gross amount voluntarily repaid per synth (Morpho Blue Repay events-- only -- excludes debt reduction from Liquidate events, which is a distinct action).WITH repay AS (SELECT 'ethereum' AS chain, id, evt_block_date AS day, CAST(assets AS double) / 1e18 AS amountFROM morpho_blue_ethereum.morphoblue_evt_repayUNION ALLSELECT 'base', id, evt_block_date, CAST(assets AS double) / 1e18FROM morpho_blue_base.morphoblue_evt_repay)SELECT r.day, m.synth, SUM(r.amount) AS daily_repaidFROM repay rJOIN query_8223464 m ON m.chain = r.chain AND m.id = r.idGROUP BY 1, 2ORDER BY 1, 2;