select
date(BLOCK_TIMESTAMP) as days,
count (distinct tx_hash) as num_txs,
count(ORIGIN_FROM_ADDRESS) as num_wallets
from optimism.core.fact_event_logs
where EVENT_NAME ilike 'stake%' or EVENT_NAME ilike 'LOG_STAKE' or EVENT_NAME ilike 'TokenStaked'
group by 1