with depositors as (select origin_from_address,
sum (amount) as Volume
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
order by 1)
select avg(volume) as avg_volume from depositors