jackguyMakerDAO Activity Metrics
Updated 2022-09-02
99
1
2
3
4
5
6
7
8
9
10
11
12
13
›
⌄
SELECT
date_trunc('week', block_timestamp) as week,
count(DISTINCT tx_hash) as events,
count(DISTINCT DEPOSITOR) as users,
sum(amount_deposited * price) as volume
FROM ethereum.maker.ez_deposits
LEFT outer JOIN ethereum.core.fact_hourly_token_prices
ON hour = date_trunc('day', block_timestamp)
AND ethereum.maker.ez_deposits.symbol = ethereum.core.fact_hourly_token_prices.symbol
WHERE block_timestamp > '2021-01-01'
GROUP BY 1
Run a query to Download Data