Query editor
-- Weekly DEX volume per venue. dex.trades covers merchant_moe, agni, uniswap, fusionx on Mantle.-- Fluxion is NOT covered by the spellbook yet — state this on the dashboard.SELECTdate_trunc('week', block_time) AS week,project,CAST(COUNT(*) AS bigint) AS trades,CAST(COUNT(DISTINCT taker) AS bigint) AS unique_traders,SUM(amount_usd) AS volume_usdFROM dex.tradesWHERE blockchain = 'mantle'AND (token_bought_address = {{token_address}} OR token_sold_address = {{token_address}})GROUP BY 1, 2ORDER BY 1