About queries and results
Dune Analytics lets you explore, create, and share Ethereum analytics. You can find an endless amount of great queries and dashboards on Dune.
We have decoded Ethereum smart contract data so you can do powerful analysis with simple SQL queries and visualise the query results into beautiful graphs.
Dune Analytics is free for everyone forever. If you want extra features like private queries, export your results and more check out our Pro plan.
1with g as ( 2 select date_trunc('week', evt_block_time) as time, 3 sum(reward / 1e18) as reward 4 from yearn."YearnGovernance_YFI_evt_RewardAdded" 5 group by time 6 order by time 7) 8select time, 9 reward as reward_per_week, 10 sum(reward) over (order by time asc rows unbounded preceding) as reward_total 11from g 12order by time 13; 14