theericstoneidentify bonk burners
Updated 2023-01-07
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 phase1 as (
select
instruction:parsed:info:source as creator,
instruction:parsed:info:account as new_acct,
instruction:parsed:info:wallet as new_wallet
FROM
solana.core.fact_events ev
where block_timestamp > '2023-01-04'
and ev.instruction:parsed:info:source in (
'4CUMsJG7neKqZuuLeoBoMuqufaNBc2wdwQiXnoH4aJcD',
'DBR2ZUvjZTcgy6R9US64t96pBEZMyr9DPW6G2scrctQK'
)
and program_id = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL' --create assoc addy
),
phase2a as (
select
instruction:parsed:info:source as creator,
instruction:parsed:info:account as new_acct,
instruction:parsed:info:wallet as new_wallet
FROM
solana.core.fact_events ev
where block_timestamp > '2023-01-04'
and (
ev.instruction:parsed:info:source in (
select distinct new_acct from phase1
) OR ev.instruction:parsed:info:source in (
select distinct new_wallet from phase1
)
)
and program_id = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL' --create assoc addy
),
phase2b as (
select distinct tx_to FROM
solana.core.fact_transfers
where block_timestamp > '2023-01-04'
and (