Query editor
-- Metronome Recovery Dashboard: Treasury Purchases, daily (Section 3)-- On-chain, live. Daily msUSD/msETH acquired by treasury wallets (query_8222712) via DEX-- swaps, from dex.trades (taker = treasury wallet, token bought = a Metronome synth).-- Using dex.trades (not raw ERC20 transfers) specifically avoids conflating a genuine buyback-- swap with an LP withdrawal, since both would otherwise look like "pool -> treasury transfer"-- of the same token.SELECTt.block_date AS day,s.synth AS asset,SUM(t.token_bought_amount) AS amount_acquiredFROM dex.trades tJOIN query_8222703 s ON s.chain = t.blockchain AND s.token = t.token_bought_addressWHERE t.blockchain IN ('ethereum', 'optimism', 'base', 'plasma')AND t.taker IN (SELECT address FROM query_8222712)AND s.synth IN ('msUSD', 'msETH')GROUP BY 1, 2ORDER BY 1, 2;