EVENT_NAME | TYPE | TRANSACTIONS | |
---|---|---|---|
1 | Borrow | $10 - $50 | 2195 |
2 | Borrow | $10,000 - $100,000 | 630 |
3 | Borrow | $100 - $500 | 1470 |
4 | Borrow | $1000 - $5000 | 1499 |
5 | Borrow | $50 - $100 | 599 |
6 | Borrow | $500 - $1000 | 571 |
7 | Borrow | $5000 - $10,000 | 443 |
8 | Borrow | Above $100,000 | 4309 |
9 | Borrow | Below $10 | 1305 |
10 | Repay | $10 - $50 | 1947 |
11 | Repay | $10,000 - $100,000 | 509 |
12 | Repay | $100 - $500 | 1050 |
13 | Repay | $1000 - $5000 | 1154 |
14 | Repay | $50 - $100 | 411 |
15 | Repay | $500 - $1000 | 396 |
16 | Repay | $5000 - $10,000 | 328 |
17 | Repay | Above $100,000 | 3488 |
18 | Repay | Below $10 | 1342 |
Afonso_Diazgrouping txns
Updated 2 days ago
999
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
pricet as (
select
hour::date as dt,
token_address,
avg(price) as token_price_usd
from
aptos.price.ez_prices_hourly
group by 1, 2
),
main as (
select
tx_hash,
block_timestamp,
event_data:amount as amount_unadj,
event_data:coin_name as token_address,
event_data:signer_address as user,
'Supply' as event_name
from
aptos.core.fact_events
where
payload_function like '0x2fe576faa841347a9b1b32c869685deb75a15e3f62dfe37cbd6d52cc403a16f6::pool::lend%'
and event_type = '0x2fe576faa841347a9b1b32c869685deb75a15e3f62dfe37cbd6d52cc403a16f6::pool::LendEvent'
and success
union all
select
tx_hash,
block_timestamp,
event_data:amount as amount_unadj,
event_data:coin_name as token_address,
event_data:signer_address as user,
'Withdraw' as event_name
Last run: 2 days ago
18
548B
9s