banterlyticskoku holders before coco airdrop
Updated 2025-02-16Copy Reference Fork
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 banana-holder-count @ https://flipsidecrypto.xyz/studio/queries/919c74fb-32bc-425d-a4b7-b5b935f16009
with all_tx as (
select
date_trunc('day', block_timestamp::date) as dt,
tx_hash,
TO_ADDRESS as event_to,
FROM_ADDRESS as event_from,
AMOUNT_PRECISE as amounts
from ronin.core.ez_token_transfers
where block_timestamp > '2025-01-15'
and block_number <42278821
and contract_address = lower('0x361d8623dc1d91e04ebc148687719aace282249a')),
transfers as
((SELECT
event_to as wallet,
dt,
'mint' as action,
amounts as value
FROM all_tx
where event_from = '0x0000000000000000000000000000000000000000')
union all
(SELECT
event_to as wallet,
dt,
'gain' as action,
amounts as value
FROM all_tx
where event_from != '0x0000000000000000000000000000000000000000')
union all
(SELECT
QueryRunArchived: QueryRun has been archived