select block_timestamp::date as date,
sum (amount) as deposit_Volume,
sum (deposit_Volume) over (order by date) as cum_deposit_volume,
count (distinct tx_hash) as num_deposits,
sum (num_deposits) over (order by date) as cum_deposits,
count (distinct origin_from_address) as num_depositors
from ethereum.core.ez_token_transfers
where to_address= '0xd89a09084555a7d0abe7b111b1f78dfeddd638be'
and origin_function_signature in ('0xffaad6a5','0xd7a169eb')
and block_timestamp >= CURRENT_DATE - 30
group by 1