Skip to content
Dune Analytics

@p0s / Tokenlon Total Volume

CounterTokenlon Total Volume


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 results


SQL query

3/* Tokenlon v4 volume */
4    (SELECT SUM(volume_usd)
5        FROM zeroex.view_fills f
6        WHERE f.fee_recipient_address IN ('\x6f7ae872e995f98fcd2a7d3ba17b7ddfb884305f'::BYTEA,'\xb9e29984fe50602e7a619662ebed4f90d93824c7'::BYTEA)
7/* and v5 Professional Market Maker volume */
9        OR f.taker_address IN ('\x8d90113a1e286a5ab3e496fbd1853f265e5913c6'::BYTEA)
10    )
12    +
14/* Tokenlon v5 AMM */
15    (WITH prices AS (                                                                                       
16        SELECT  date_trunc('day', minute) as day,                                                       
17                contract_address,    
18                decimals,
19                avg(price) as price
20        FROM prices.usd                                                                                    
21        GROUP BY 1, 2, 3                                                                                 
22        ),
23    AMM AS (
24        SELECT  n.contract_address as ca,
25                "makerAssetAmount",...