Query editor
WITH base_trades AS(SELECTproject,token_bought_symbol AS token_symbol,token_bought_address AS token_address,amount_usd AS volume_usd,taker AS traderFROM dex.tradesWHERE blockchain = 'ethereum'AND project IN ('uniswap', 'curve','balancer','sushiswap')AND block_date >= CURRENT_DATE - INTERVAL '7' Day)SELECTproject,token_symbol,SUM(volume_usd) AS total_volume_usd,COUNT(*) AS swap_count,COUNT(DISTINCT trader) AS unique_swappersFROM base_tradesGROUP BY 1, 2HAVING SUM(volume_usd)> 100000ORDER BY 3 DESCLIMIT 100