Query editor
-- Base DEXes Volume Daily — THIN READER over the materialized layer.---- ⚠ THE HEAVY SQL IS NOT HERE ANY MORE. It lives in query_8384177-- ("Base DEX volume daily — HEAVY SOURCE"), which feeds wrapper query_8372478, which-- materializes dune.x_drome_analytics.result_base_dex_volume_daily. To change what this-- series MEANS — a venue's filter, the Uniswap v4 min-TVL gate, the Curve raw-event branch,-- the self-reversal restatement — edit query_8384177. Editing this query only changes-- how the pre-computed table is read.---- WHY (2026-08-19): this query began FAILING with Dune's stage-complexity error-- ("too many stages and is too complex to execute at once ... consider splitting out several-- subqueries into a materialized view", exec 01M0E3NX6H9DHKK281EM761A04) while intermittently-- still succeeding. Splitting the plan behind a matview is Dune's own recommended remedy, and-- it takes this query from ~227-302 credits per execution to ~0.04.---- COLUMN CONTRACT — DO NOT RENAME. `project` is aliased back to `_col0` because visualizations-- 6999018 (Volume Daily) and 7003019 (%Volume Daily) map `_col0`->series and are deliberately-- NOT modified by this change. A viz belongs to a query and cannot be repointed at a matview,-- so preserving this query's output shape is what keeps both panels working untouched.---- share_pct is intentionally absent: nothing on board 152099 reads a day-grain share. 7003019-- normalizes in the CHART at options.series.percentValues over the absolute `vol` column, and-- the two WEEKLY share panels compute their own share at WEEK grain in their own SQL.SELECT project AS _col0,day,volFROM dune.x_drome_analytics.result_base_dex_volume_dailyORDER BY day, _col0