Query editor
-- beefy_kumbaya_weth_usdm-- Time-weighted active liquidity in Beefy Kumbaya CLM WETH/USDm reward pool.-- Source methodology follows beefy1.sql / Dune query 7493013: reward-pool-- transfer balances are converted into beefy deposit-token-seconds.-- Output: wallet, all_time, week1..week8 (units = deposit-token-seconds).-- Dates sourced from season_weeks (query_6905723), filtered to active season only.WITH params AS (SELECT0x84845b1eb38f334c664acaf332d857f790ebd700 AS reward_pool,0x6f66f246bb436b6f4e66a992c2218b57cd906109 AS excluded_address,DATE '2026-02-09' AS first_block_date),sw AS (SELECTseason_week,CAST(week_start AS timestamp) AS week_start,CAST(week_end AS timestamp) AS week_endFROM query_6905723WHERE status = 'active'),bounds AS (SELECTMIN(week_start) AS season_start,LEAST(MAX(week_end), CAST(NOW() AS timestamp)) AS observed_endFROM sw),season_weeks AS (SELECTsw.season_week,sw.week_start,LEAST(sw.week_end, b.observed_end) AS week_endFROM swCROSS JOIN bounds bWHERE sw.week_start < b.observed_end),base AS (SELECTt.block_time,t.tx_hash,t."from",t."to",CAST(t.amount_raw AS double) / 1e18 AS amount_qFROM tokens.transfers tCROSS JOIN params pCROSS JOIN bounds bWHERE t.blockchain = 'megaeth'AND t.contract_address = p.reward_poolAND t.block_date >= p.first_block_dateAND t.block_date <= CAST(b.observed_end AS date)AND t.block_time < b.observed_endAND t."from" != 0x0000000000000000000000000000000000000000AND t."to" != 0x0000000000000000000000000000000000000000),address_deltas AS (