0xNolensArbi wallet pendle holding
Updated 2024-12-24
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
›
⌄
-- forked from tubaecci / Top 10 Holders @ https://flipsidecrypto.xyz/tubaecci/q/4qxTkFqjwYiW/top-10-holders
WITH receivers AS (
SELECT
to_address AS receiver,
SUM(amount) AS received_volume_pendle
FROM
arbitrum.core.ez_token_transfers
WHERE
contract_address = lower('0x0c880f6761F1af8d9Aa9C466984b80DAb9a8c9e8')
AND to_address = lower('0x1e56299EbC8A1010cEc26005d12e3e5c5cC2db00')
AND amount IS NOT NULL
GROUP BY
1
),
senders AS (
SELECT
from_address AS sender,
SUM(amount) AS sent_volume_pendle,
FROM
arbitrum.core.ez_token_transfers
WHERE
contract_address = lower('0x0c880f6761F1af8d9Aa9C466984b80DAb9a8c9e8')
AND from_address = lower('0x1e56299EbC8A1010cEc26005d12e3e5c5cC2db00')
AND amount IS NOT NULL
GROUP BY
1
),
balances AS (
SELECT
sender,
COALESCE(received_volume_pendle, 0) - COALESCE(sent_volume_pendle, 0) AS balance_pendle
FROM
receivers AS r FULL
OUTER JOIN senders AS s ON r.receiver = s.sender
)
Auto-refreshes every 24 hours
QueryRunArchived: QueryRun has been archived