Query editor
select date_trunc('month', t.block_time) as month_at,case when liquidity_src is not null then liquidity_srcwhen aggregator in ('', ' ') or (solver = 'Rizzolver' and pmm = 'Wintermute MM') then 'Direct PMM filling'when aggregator is not null then aggregatorelse 'Direct PMM filling' end as liquidity_src,sum(amount_usd) as volumefrom dune.flashbots.result_overall_lq_alltime as twhere pmm is not nulland block_time > cast('2022-01-01' as timestamp)--and t.metaaggregator in ('Cowswap', '1inch Fusion', 'Uniswap X')group by 1,2order by 3 desc