Daily chart of the result of entry and exit of Ethereum and its cumulative on MakerDao in last Quarter
rezarwzDaily chart of the result of entry and exit of Ethereum and its cumulative on MakerDao in last Quarter
Updated 2022-09-25
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 stake as(
SELECT *,
CASE
when ETH_TO_ADDRESS=lower('0xC874b064f465bdD6411D45734b56fac750Cda29A') then 'Stakewise'
when ETH_TO_ADDRESS=lower('0x84db6eE82b7Cf3b47E8F19270abdE5718B936670') then 'stkr-ankr'
when ETH_TO_ADDRESS in ('0xcbc1065255cbc3ab41a6868c22d1f1c573ab89fd','0x49d72e3973900a195a155a46441f0c08179fdb64') then 'Cream'
when ETH_TO_ADDRESS in ('0x2cac916b2a963bf162f076c0a8a4a8200bcfbfb4','0x4d05e3d48a938db4b7a9a59a802d5b45011bde58') then 'Rocket_pool'
when ETH_TO_ADDRESS=lower('0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84') then 'Lido'
when ETH_TO_ADDRESS=lower('0x00000000219ab540356cBB839Cbe05303d7705Fa') then 'Direct staking'
end as platform
FROM ethereum.core.ez_eth_transfers
where platform is not null),
removed_eth as(
SELECT
'removed ETH' as symbol,
block_timestamp::date as date,
sum(AMOUNT_WITHDRAWN_UNADJUSTED/pow(10,decimals)) as daily_removed
from ethereum.maker.ez_withdrawals
where symbol in ('WETH','ETH') and date>=CURRENT_DATE-90 and tx_status='SUCCESS'
GROUP BY 1,2
),
deposited_eth as(
SELECT
'Deposited ETH' as symbol,
block_timestamp::date as date,
sum(AMOUNT_DEPOSITED_UNADJUSTED/pow(10,decimals)) as daily_deposited
from ethereum.maker.ez_deposits
where symbol in ('WETH','ETH') and date>=CURRENT_DATE-90 and tx_status='SUCCESS'
GROUP BY 1,2
)
SELECT
r.date,
case
WHEN r.date='2022-07-06' then 'Sepolia Testnet'
WHEN r.date='2022-08-10' then 'Goerli Testnet'
WHEN r.date='2022-09-06' then 'Bellatrix Update'
Run a query to Download Data