alitaslimiLiquidations
Updated 2024-10-10
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 transactions as (
select
* -- block_number,
-- block_timestamp,
-- tx_hash,
-- contract_address,
-- event_index,
-- platform,
-- liquidator,
-- borrower,
-- protocol_market,
-- debt_token,
-- debt_token_symbol,
-- collateral_token,
-- collateral_token_symbol,
-- amount,
-- amount_usd
from
base.defi.ez_lending_liquidations
-- arbitrum.defi.ez_lending_liquidations
)
select
liquidator,
sum(amount_usd) as volume
from
transactions
-- where
-- tx_hash = '0x476729ee24fe7957c387415380cde2c1281c449994df66bcb2009147a4ee4926' -- select
-- block_timestamp::date as date,
-- sum(amount_usd) as volume
-- from
-- transactions
-- where
-- block_timestamp::date between current_date - 30 and current_date - 1
group by
liquidator
QueryRunArchived: QueryRun has been archived