select BLOCK_TIMESTAMP::date as date,count(distinct EVENT_INPUTS:user) as unique_stakers
from ethereum.core.fact_event_logs
where ORIGIN_FUNCTION_SIGNATURE='0x6ab15071'
and CONTRACT_NAME='StakingInfo'
and EVENT_NAME='ShareMinted'
and TX_STATUS='SUCCESS'
and date>='2022-07-01'
group by 1