winnie-fsket yeeters copy
    Updated 2025-02-18
    -- forked from cloudr3n / ket yeeters @ https://flipsidecrypto.xyz/cloudr3n/q/mE8R8aIqw0Rp/ket-yeeters

    -- identify airdrop tx
    with
    initial_airdrop as (
    select
    block_timestamp,
    to_address as user_address,
    amount -- as initial_amount
    from
    avalanche.core.ez_token_transfers
    where
    1=1
    and contract_address = '0xffff003a6bad9b743d658048742935fffe2b6ed7'
    and from_address = '0xb64292e86990184381b1c117d6edf1cbd3d0ef73'
    and block_timestamp = '2025-01-15 16:24:00.000'
    ),

    date_ls as (
    select
    date_day
    from
    ethereum.core.dim_dates
    where
    date_day>='2025-01-15'
    and date_day <= current_date()
    ),

    user_date_ls as (
    select
    date_day,
    user_address,
    amount as initial_amount
    from
    date_ls
    cross join
    Last run: about 1 month ago
    DATE_DAY
    USER_COUNT
    HOLDER_TYPE
    1
    2025-01-24 00:00:00.000116left >50%
    2
    2025-01-25 00:00:00.00098left <50%
    3
    2025-02-14 00:00:00.000184left <50%
    4
    2025-02-15 00:00:00.00010no change
    5
    2025-01-16 00:00:00.00016left none
    6
    2025-01-22 00:00:00.00064left <50%
    7
    2025-02-13 00:00:00.000185left <50%
    8
    2025-01-28 00:00:00.00047increased
    9
    2025-01-31 00:00:00.000100left >50%
    10
    2025-02-15 00:00:00.000190left <50%
    11
    2025-01-23 00:00:00.00040left none
    12
    2025-01-27 00:00:00.00054left none
    13
    2025-01-31 00:00:00.00032no change
    14
    2025-01-21 00:00:00.00036left none
    15
    2025-01-19 00:00:00.00077no change
    16
    2025-02-11 00:00:00.00016no change
    17
    2025-02-01 00:00:00.00046increased
    18
    2025-01-20 00:00:00.00063left <50%
    19
    2025-02-02 00:00:00.00030no change
    20
    2025-02-13 00:00:00.00012no change
    ...
    175
    7KB
    3s