Query editor
with el_rewards as (select month, el_rewardsfrom dune.anabeth2.result_el_rewards -- (https://dune.com/queries/5741150)),cl_rewards as(selectDATE_TRUNC('month', block_time) AS month,SUM(CASEWHEN amount / POWER(10, 9) >= 32 THEN amount / POWER(10, 9) - 32WHEN amount / POWER(10, 9) < 32 AND amount / POWER(10, 9) >= 28 THEN 0WHEN amount / POWER(10, 9) < 28 THEN amount / POWER(10, 9) END) AS cl_rewardsfromethereum.withdrawalswhere address = 0xe3c44d4d25172ef2e0cdb9e09189a8ca4ed878f4group by 1)selectCOALESCE(c.month, e.month) AS month,COALESCE(e.el_rewards,0) AS el_rewards,COALESCE(c.cl_rewards, 0) AS cl_rewards,(COALESCE(e.el_rewards,0) + COALESCE(c.cl_rewards, 0)) total_rewards,SUM(COALESCE(e.el_rewards,0) + COALESCE(c.cl_rewards, 0))OVER (ORDER BY c.month) AS cumulative_total_rewardsfrom cl_rewards c left join el_rewards eon c.month = e.monthorder by month desc