Skip to content
Dune Analytics

@0xBoxer / PickleRatio Pool and Contract

PickleRatio Pool and Contract

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

1with minted as (
2        SELECT date_trunc('DAY', evt_block_time) AS DAY,       
3        SUM(value/1e18) AS Pickle
4        FROM erc20."ERC20_evt_Transfer"
5        WHERE contract_address = '\x429881672b9ae42b8eba0e26cd9c73711b891ca5'
6        AND "from" = '\x0000000000000000000000000000000000000000'
7        GROUP BY DAY
8        ),
9burned as (
10        SELECT 
11        date_trunc('DAY', evt_block_time) AS DAY,
12        SUM(value/1e18) * (-1) AS Pickle
13        FROM erc20."ERC20_evt_Transfer"
14        WHERE contract_address = '\x429881672b9ae42b8eba0e26cd9c73711b891ca5'
15        AND "to" = '\x000000000000000000000000000000000000dead'
16        GROUP BY DAY
17        ),
18c1 as (
19        select DAY,Pickle, 'minted' as operation
20        from minted
21        union all
22        select DAY,Pickle, 'burned' as operation    
23        from burned
24    ),
25s1 as(
...

SQL query results

Loading
 

Result visualizations

PickleRatio Pool and Contract

Loading