Ali3NDistribution of $ARENA Claimers By Claimed Amount ($ARENA Airdrop 16 March 2025)
    Updated 2025-03-17
    with claimrewardst as (
    select distinct tx_hash
    from avalanche.core.ez_decoded_event_logs
    where origin_to_address = '0xeffb809d99142ce3b51c1796c096f5b01b4aaec4'
    and event_name = 'Transfer'
    and origin_function_signature = '0x2e1a7d4d'
    and contract_address = '0xb8d7710f7d8349a506b75dd184f05777c82dad0c'
    --and topics[0] = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'
    --and origin_from_address = decoded_log:to
    and decoded_log:value/1e18 = '0'
    and block_timestamp >= '2025-03-16 23:00:00.000'
    group by 1),

    maintable as (
    select to_address,
    sum (amount) as Received_Amount
    from avalanche.core.ez_token_transfers t1
    where tx_hash in (select distinct tx_hash from claimrewardst)
    group by 1)


    select case when Received_Amount < 100 then '< 100 $ARENA'
    when Received_Amount > 100 and Received_Amount <= 1000 then '100 - 1,000 $ARENA'
    when Received_Amount > 1000 and Received_Amount <= 10000 then '1,000 - 10,000 $ARENA'
    when Received_Amount > 10000 and Received_Amount <= 100000 then '10,000 - 100,000 $ARENA'
    when Received_Amount > 100000 and Received_Amount <= 1000000 then '100,000 - 1,000,000 $ARENA'
    else '1,000,000 $ARENA'
    end as type,
    count (distinct to_address) as Receivers
    from maintable
    group by 1
    order by 2 desc


    Last run: about 1 month ago
    TYPE
    RECEIVERS
    1
    < 100 $ARENA298
    2
    1,000 - 10,000 $ARENA209
    3
    100 - 1,000 $ARENA171
    4
    10,000 - 100,000 $ARENA64
    4
    110B
    9s