SYMBOL | LEND_USD | WITHDRAW_USD | NET_LEND_USD | |
---|---|---|---|---|
1 | USDC | 10287586.3545508 | 5840833.36406137 | 4446752.99048939 |
2 | SOL | 3105533.98036522 | 1255084.84307576 | 1850449.13728947 |
3 | WBTC | 511625.75419656 | 181149.62817384 | 330476.12602272 |
4 | USDT | 578542.736908399 | 457466.284961948 | 121076.45194645 |
5 | $WEN | 81971.841891331 | 15294.913830274 | 66676.928061057 |
6 | BONK | 108823.166152133 | 63971.972570067 | 44851.193582066 |
7 | ETH | 26962.392860569 | 3055.786773323 | 23906.606087246 |
8 | JUP | 22549.040216003 | 14334.075165742 | 8214.965050261 |
h4wklend by token
Updated 23 hours ago
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 latest_price as (
select hour::date as price_date,
token_address,
symbol,
case when token_address in ('jupSoLaHXQiZZTSfEWMTRRgpnyFm8f6sZdosWBjx93v',
'HUBsveNpjo5pWqNkH57QzxjQASdTVXcSK7bVKTSZtcSX',
'picobAEvs6w7QEknPce34wAE4gknZA9v5tTonnmHYdX',
'Bybit2vBJGhPF52GBdNaQfUJ6ZpThSgHBobjWZpLPb4B',
'he1iusmfkpAdwvxLNGV8Y1iSbj4rUy6yMhEA3fotn9A',
'Grass7B4RdKfBCjTKgSqnXkqjwiGvQyFbuSCUJr3XXjs',
'BNso1VUJnh4zcfpZa6986Ea66P6TCp59hvtNJ8b1X85') then 9
when token_address in ('Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB',
'CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump',
'DBRiDgJAMsM95moTzJs7M9LnkGErpbv9v6CUR1DXnUu5') then 6
when token_address in ('cbbtcf3aa214zXHbiAZQwf4122FBYbraNdFqgw4iMij') then 8
else decimals end as decimals,
avg(price) as price
from solana.price.ez_prices_hourly
where hour::date = current_date
group by all
)
, lend_base as (
select
block_timestamp,
'deposit' as type,
tx_id,
DECODED_INSTRUCTION:accounts[0]:pubkey as user_addr,
DECODED_INSTRUCTION:accounts[5]:pubkey as lend_mint,
symbol,
DECODED_INSTRUCTION:args:args:amount / pow(10, decimals) as amount,
amount * price as amount_usd
from solana.core.ez_events_decoded
join latest_price on (lend_mint = token_address)
where 1 = 1
-- block_timestamp >= '2024-11-05'
-- tx_id = '4gY2vuyzJSe7bRtUSMxqcivWx92Ch9sscdJP8WbXTRWPfXJGy13kZ6QXrCRvftcU3U21Sbxhir1YiveacuL5jUqe'
Last run: about 23 hours agoAuto-refreshes every 24 hours
8
461B
41s