select
date_trunc('week', block_timestamp) as time,
platform,
sum(amount_usd) as volume
from flipside_prod_db.ethereum.dex_swaps
where token_address = '0x2e9d63788249371f1dfc918a52f8d799f4a38c94'
and time >= getdate() - interval'60 days'
group by 1, 2