banbannard MakerDAO 6
Updated 2022-10-27
99
1
2
3
4
5
6
7
8
9
10
11
12
13
›
⌄
with base as (select
liquidated_wallet,
min(block_timestamp) as first_tx
from ethereum.maker.ez_liquidations
where tx_status = 'SUCCESS'
group by 1)
select date_trunc('{{granularity}}', first_tx) as first_tx_date,
count(distinct(liquidated_wallet)) as count_new_liquidated_wallet,
sum(count_new_liquidated_wallet) over (order by first_tx_date) as cumulative_count_new_liquidated_wallet
from base
group by 1
order by 1 desc
Run a query to Download Data