with swaps_tx as (select * from optimism.velodrome.ez_swaps
where block_timestamp::date >= CURRENT_DATE - 30)
select
count(distinct tx_hash) as swap_tx_count,
count(distinct origin_from_address) as user_count,
sum(amount_in_usd) as volume_usd
from swaps_tx