binhachon2. [Hard] Post Airdrop Behavior - Retention rate
Updated 2021-12-08
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 airdrop_claimed as(
select
distinct block_timestamp,
to_address,
amount / 1e18 as airdrop_amount
from
ethereum.udm_events
where
origin_function_signature = '0x76122903'
and contract_address = '0xc18360217d8f7ab5e7c516566761ea12ce7f9d72'
and event_type = 'erc20_transfer'
),
ENS_swap as(
select
distinct block_timestamp,
tx_id,
amount_in,
amount_out
from
ethereum.dex_swaps
where
token_address = '0xc18360217d8f7ab5e7c516566761ea12ce7f9d72'
),
address_list as (
select
distinct tx_id,
from_address
from
ethereum.transactions
where
tx_id in (
select
tx_id
from
ENS_swap
)
Run a query to Download Data