CryptoIcicleETH Merge: Selling Event? - ETH Swaps Miners
Updated 2022-09-30
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
-- Was the Merge a selling event? Why or why not?
-- Pay by Quality Your score determines your final payout.
-- Grand Prize 150 USDC (A score of 11 or 12 earns you a Grand Prize title)
-- Payout 100 USDC
-- Score Multiplier0-7 : 0% 8 : 50% 9 : 75% 10 : 100% 11 : 125% 12 : 150%
-- Payout Network Ethereum
-- Level Intermediate
-- Difficulty Hard
-- Was the Merge a selling event? Why or why not?
-- Were miners the source of sell pressure? Show any wallets miners have transferred ETH into,
-- along with any other visualizations you think will add to your analysis.
with miners as (
select
distinct miner
from ethereum.core.fact_blocks
where (block_number >= 15537351 - {{n_blocks}} and block_number <= 15537351 + {{n_blocks}})
),
txns as (
select
iff(m.miner is null, 'non-miner', 'miner') as category,
*
from ethereum.core.ez_dex_swaps s
left join miners m on m.miner = s.origin_from_address
where (block_number >= 15537351 - {{n_blocks}} and block_number <= 15537351 + {{n_blocks}})
and symbol_in = 'WETH'
)
select
date_trunc('day', block_timestamp) as date,
iff(block_number < 15537351, concat('1.before-merge::',category),concat('2.after-merge::',category)) as type,
sum(amount_in) as eth_swapped,
count(distinct origin_from_address) as n_users,
count(distinct tx_hash) as tx_frequency,
Run a query to Download Data