Query editor
selectcasewhen blockchain in ('scroll', 'linea', 'arbitrum', 'zkevm', 'zksync', 'base', 'zora', 'optimism', 'unichain', 'polygon') then 'L2'when blockchain = 'ethereum' then 'ETH L1'end as chain_type,sum(amount_usd) as volume,date_trunc ('year', block_date) as dtfrom dex.tradeswhere project = 'uniswap'and block_date >= cast('2020-01-01' as date)and tx_from not in (0x80205b17056bE5F99a9eB028e811C20DDF896F2a, 0xE3223f7E3343c2C8079f261D59ee1e513086C7C3, 0xf14149bde6f7e2573f38aceda6220d7dfff66592) -- addresses from impermax exploitgroup by 1, 3