adriaparcerisaslido eth
Updated 2023-06-24
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
›
⌄
with tab1 as (
SELECT
trunc(block_timestamp,'day') as date,'Stakewise' as platform,count(distinct tx_hash) as transactions,sum(amount_out_usd) as eth_amount_out_usd,sum(amount_out) as eth_amount_out, count(distinct origin_to_address) as withdrawers, sum(eth_amount_out_usd) over (order by date) as cum_eth_amount_out_usd,sum(eth_amount_out) over (order by date) as cum_eth_amount_out, sum(withdrawers) over (order by date) as cum_withdrawers
FROM ethereum.core.ez_dex_swaps
where symbol_out like '%sETH2%' and block_timestamp >='2023-01-01'
GROUP BY date
), tab2 as (
SELECT
trunc(block_timestamp,'day') as date,'Ankr' as platform,count(distinct tx_hash) as transactions,sum(amount_out_usd) as eth_amount_out_usd,sum(amount_out) as eth_amount_out, count(distinct origin_to_address) as withdrawers, sum(eth_amount_out_usd) over (order by date) as cum_eth_amount_out_usd,sum(eth_amount_out) over (order by date) as cum_eth_amount_out, sum(withdrawers) over (order by date) as cum_withdrawers
FROM ethereum.core.ez_dex_swaps
where symbol_out like '%aETH%' and block_timestamp >='2023-01-01'
GROUP BY date
), tab3 as (
SELECT
trunc(block_timestamp,'day') as date,'Rocketpool' as platform,count(distinct tx_hash) as transactions,sum(amount_out_usd) as eth_amount_out_usd,sum(amount_out) as eth_amount_out, count(distinct origin_to_address) as withdrawers, sum(eth_amount_out_usd) over (order by date) as cum_eth_amount_out_usd,sum(eth_amount_out) over (order by date) as cum_eth_amount_out, sum(withdrawers) over (order by date) as cum_withdrawers
FROM ethereum.core.ez_dex_swaps
where symbol_out like '%rETH%' and block_timestamp >='2023-01-01'
GROUP BY date
), tab4 as (
SELECT
trunc(block_timestamp,'day') as date,'Lido' as platform,count(distinct tx_hash) as transactions,sum(amount_out_usd) as eth_amount_out_usd,sum(amount_out) as eth_amount_out, count(distinct origin_to_address) as withdrawers, sum(eth_amount_out_usd) over (order by date) as cum_eth_amount_out_usd,sum(eth_amount_out) over (order by date) as cum_eth_amount_out, sum(withdrawers) over (order by date) as cum_withdrawers
FROM ethereum.core.ez_dex_swaps
where symbol_out like '%stETH%' and block_timestamp >='2023-01-01'
GROUP BY date
),
tab5 as (
SELECT
trunc(block_timestamp,'day') as date,'Cream Finance' as platform, count(distinct tx_hash) as transactions,sum(amount_out_usd) as eth_amount_out_usd,sum(amount_out) as eth_amount_out,
count(distinct origin_to_address) as withdrawers,sum(eth_amount_out_usd) over (order by date) as cum_eth_amount_out_usd,sum(eth_amount_out) over (order by date) as cum_eth_amount_out, sum(withdrawers) over (order by date) as cum_withdrawers
FROM ethereum.core.ez_dex_swaps
where symbol_out like '%crETH2%' and block_timestamp >='2023-01-01'
group by date
),
tab6 as (
SELECT
trunc(block_timestamp,'day') as date,'Sharedstake' as platform, count(distinct tx_hash) as transactions,sum(amount_out_usd) as eth_amount_out_usd,sum(amount_out) as eth_amount_out,
Run a query to Download Data