hess15. Total Rewards
    Updated 2025-04-09
    with base as (select block_timestamp::Date as date,
    tx_hash,
    DECODED_LOG:_user::string as staker,
    DECODED_LOG:_amount/pow(10,18) as amount,
    DECODED_LOG:_token::string as token_address
    from ronin.core.ez_decoded_event_logs
    where contract_address = lower('0x05b0bb3c1c320b280501b86706c3551995bc8571')
    and event_name = 'RewardClaimed'
    and block_timestamp >= '2025-01-01')

    select
    count(distinct staker) as "Address",
    sum(amount) as "Reward (Amount)"
    from base

    Last run: 16 days ago
    Address
    Reward (Amount)
    1
    334142636382.97225121
    1
    26B
    13s