/ Monolith - Community Chest, Token Distribution (value) @Bung
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
1WITH bucketEth AS (
2 SELECT
3 block_time,
4 amount,
5 'ETH' AS symbol
6 FROM (
7 SELECT -value AS amount, block_time
8 FROM ethereum.traces
9 WHERE "from" = '\x24F0bB6c9b2C3DB66603Fa0Ec07Ab0CF55cDd387'
10 AND tx_success = TRUE
11 AND (call_type NOT IN ('delegatecall', 'callcode', 'staticcall') OR call_type IS null)
12 AND error is null -- to make the db use an index
13 UNION ALL
14 SELECT value AS amount, block_time
15 FROM ethereum.traces
16 WHERE "to" = '\x24F0bB6c9b2C3DB66603Fa0Ec07Ab0CF55cDd387'
17 AND tx_success = TRUE
18 AND (call_type NOT IN ('delegatecall', 'callcode', 'staticcall') OR call_type IS null)
19 and error is null -- to make the db use an index
20 ) t
21),
22
23transfersERC20 AS (
24 SELECT
25 evt_tx_hash AS tx_hash,...