select
sum(amount_usd) as total_volume_in_usd,
-- avg(amount_usd) as avg_stake_size,
count(distinct(origin_address)) as number_of_stakers
from
(
select
*
from ethereum.udm_events
where contract_address = '0xae7ab96520de3a18e5e111b5eaab095312d7fe84' -- stETH
and amount_usd > 0
and origin_function_name = 'add_liquidity'
)
--group by date
--order by date desc