mamad-5XN3k3L3 Claimers
Updated 2024-06-27
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 claimert as (
select
distinct TO_ADDRESS as claimer,
sum(amount) as Claimed_Amount
from blast.core.ez_token_transfers
where contract_address = lower('0xb1a5700fA2358173Fe465e6eA4Ff52E36e88E2ad')
and FROM_ADDRESS = lower('0xf7be503166828fe8565c520d66645ac6a06bbdd7')
and ORIGIN_FUNCTION_SIGNATURE = '0xcd9829d9'
and amount > 0
group by 1
),
balancet as (
select
distinct user_address,
sum(volume) as Holding_Volume
from(
select
from_address as user_address,
-1 * amount as volume
from blast.core.ez_token_transfers
where contract_address = lower('0xb1a5700fa2358173fe465e6ea4ff52e36e88e2ad')
union all
select
to_address as user_address,
amount as volume
from blast.core.ez_token_transfers
where contract_address = lower('0xb1a5700fa2358173fe465e6ea4ff52e36e88e2ad')
--and to_address != '0xf7be503166828fe8565c520d66645ac6a06bbdd7'
)
join claimert on USER_ADDRESS = claimer
group by user_address
having sum(volume) > 0
),
QueryRunArchived: QueryRun has been archived