select
block_timestamp::date as days,
sum(event_inputs:value::float)/1e18 as staked_with_lido,
sum(staked_with_lido) over (order by days) as cumulative_staked_with_lido
from ethereum.core.fact_event_logs
where event_name = 'Transfer'
and contract_address = '0xae7ab96520de3a18e5e111b5eaab095312d7fe84'
and event_inputs:from::string = '0x0000000000000000000000000000000000000000'
and block_timestamp::date >= current_date - 90
group by days
order by days