select origin_from_address as "Stakers",
count (distinct tx_hash) as "Stake TXs",
sum (decoded_log:avaxAmount / pow(10,18)) as "Total AVAX Staked"
from avalanche.core.ez_decoded_event_logs
where contract_address = '0x2b2c81e08f1af8835a78bb2a90ae924ace0ea4be'
and event_name = 'Submitted'
and block_timestamp::date >= '2024-01-01'
group by 1
order by 3 desc