Moepos mrg 7
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
›
⌄
SELECT
--Moe
date_trunc('day', block_timestamp) as dYs,
case when block_timestamp >= '2022-09-15' then 'post merge' else 'pre merge' end as type,
count(DISTINCT tx_hash) as num_txs,
COUNT(DISTINCT DEPOSITOR_ADDRESS) as num_users,
sum(SUPPLIED_USD) as total_SUPPLIED_USD,
avg(SUPPLIED_USD) as avg_SUPPLIED_USD
FROM ethereum.aave.ez_deposits
WHERE 1=1
and block_timestamp between '2022-09-06' and CURRENT_date - 1
GROUP BY 1,2
--Moe
Run a query to Download Data