Skip to content
Dune Analytics

@0xBoxer / TVL in Pickle.Finance

TVL in Pickle.FinanceTVL in Pickle.Finance

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 a1.hour,
2a1.value_in_jar as  pjar069a,
3b1.value_in_jar as  pjar069b,
4c1.value_in_jar as  pjar069c,
5d1.value_in_jar as  pjar069d,
6a01.value_in_jar as pjar0a,
7b01.value_in_jar as pjar0b,
8c01.value_in_jar as pjar0c,
9a881.value_in_jar as pjar88a,
10(a1.value_in_jar+b1.value_in_jar+c1.value_in_jar+d1.value_in_jar+a01.value_in_jar+b01.value_in_jar+c01.value_in_jar+a881.value_in_jar) as TVL
11FROM
12--pjar069a
13(Select HOUR,
14        a.Univ2supply, 
15        a.priceweth,
16        a.priceasset0,
17        a.reserve0,
18        a.reserve1,
19        a.UNIV2_ETH_asset0_in_JAR,
20        a.UNIV2intoJAR, 
21        a.UNIV2outofJAR*-1,
22        (a.reserve0*a.priceasset0+a.reserve1*a.priceweth)/a.Univ2supply as price_of_univ2,
23        a.UNIV2_ETH_asset0_in_JAR*((a.reserve0*a.priceasset0+a.reserve1*a.priceweth)/a.Univ2supply) as value_in_jar
24        
25        
...

SQL query results

Loading
 

Result visualizations

Pjar0a SCRVTVL in Pickle.Finance

Loading