binhachon2. [Hard] Post Airdrop Behavior - Retention rate
    Updated 2021-12-08
    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