h4wkpenalty claimer holding type
    Updated 2025-05-30
    -- forked from first claimer @ https://flipsidecrypto.xyz/studio/queries/6c953a7b-9713-49b9-bfce-c30912de5b6c

    -- forked from penalty total @ https://flipsidecrypto.xyz/studio/queries/6ada0e8b-3aa6-44d1-833a-ed3e2631edd6

    -- forked from base penalty @ https://flipsidecrypto.xyz/studio/queries/264efcda-dba9-4335-a15b-e666a1bdc446

    -- 8d81W2jTM4M8GQSMzv9vx4fkTSeVKn1f2iWAZHRgvypY penalty
    -- 2QfiM9uocJpSohZkeBvQe9usWB17CxbWqWD5F4tyws8C first 50% claiming
    with base_first as (
    select tx_from,
    tx_to,
    amount,
    block_timestamp,
    tx_id
    from solana.core.fact_events e
    join solana.core.fact_transfers t using (tx_id, block_timestamp)
    where block_timestamp > '2024-10-16'
    and program_id = 'DeDRoPXNyHRJSagxZBBqs4hLAAM1bGKgxh7cyfuNCBpo'
    and mint = 'DBRiDgJAMsM95moTzJs7M9LnkGErpbv9v6CUR1DXnUu5'
    and tx_from = '2QfiM9uocJpSohZkeBvQe9usWB17CxbWqWD5F4tyws8C'
    )
    , base_penalty as (
    select tx_from,
    tx_to,
    amount,
    block_timestamp,
    tx_id
    from solana.core.fact_events e
    join solana.core.fact_transfers t using (tx_id, block_timestamp)
    where block_timestamp > '2024-10-16'
    and program_id = 'DeDRoPXNyHRJSagxZBBqs4hLAAM1bGKgxh7cyfuNCBpo'
    and mint = 'DBRiDgJAMsM95moTzJs7M9LnkGErpbv9v6CUR1DXnUu5'
    and tx_from = '8d81W2jTM4M8GQSMzv9vx4fkTSeVKn1f2iWAZHRgvypY'
    )
    , first_agg as (
    select tx_to as user_address,
    Last run: 18 days ago
    TYPE
    SELLING_TYPE
    USER_COUNT
    1
    3.Claimed < 10kSell All904
    2
    3.Claimed < 10kSell Some818
    3
    2.Claimed < 1000Sell Some353
    4
    4.Claimed < 100kHolding182
    5
    2.Claimed < 1000Accumulate More16
    6
    5.Claimed > 100kSell Some5
    7
    2.Claimed < 1000Sell All444
    8
    3.Claimed < 10kAccumulate More23
    9
    4.Claimed < 100kSell All91
    10
    4.Claimed < 100kSell Some89
    11
    4.Claimed < 100kAccumulate More4
    12
    2.Claimed < 1000Holding1844
    13
    3.Claimed < 10kHolding2730
    14
    5.Claimed > 100kSell All3
    15
    5.Claimed > 100kHolding4
    15
    548B
    933s