Skip to content
Dune Analytics

@0xBoxer / All Harvests

total yield/ feesAll Harvests

Loading
 

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.

SQL query

1SELECT 
2pjar0a.hour,
3pjar0a.profits as pjar0a_yield,
4pjar0b.profits as pjar0b_yield,
5pjar0c.profits as pjar0c_yield,
6pjar069a.profits as pjar069a_yield,
7pjar069b.profits as pjar069b_yield,
8pjar069c.profits as pjar069c_yield,
9pjar069d.profits as pjar069d_yield,
10
11(pjar0a.profits + pjar0b.profits + pjar0c.profits + pjar069a.profits + pjar069b.profits + pjar069c.profits + pjar069d.profits) as total_yield,
12(pjar0a.profits + pjar0b.profits + pjar0c.profits + pjar069a.profits + pjar069b.profits + pjar069c.profits + pjar069d.profits)*0.045 as fees_generated
13
14
15
16FROM 
17
18(
19Select snx1.Hour, value_of_SNX_harvested, value_of_CRV_harvested, (value_of_SNX_harvested+value_of_CRV_harvested) as profits
20From
21    (
22    Select 
23    Hour,
24    Sum(value_harvested) over (order by hour asc) as value_of_SNX_harvested
25    FROM
...

SQL query results

Loading
 

Result visualizations

Breakdown of Yields per PJarAll Harvests

Loading