with cel as (
select address
from flipside_prod_db.crosschain.address_labels
where BLOCKCHAIN='ethereum' and PROJECT_NAME ='celsius network')
select distinct symbol_in as symbol,avg(AMOUNT_in_USD) as total
from ethereum.core.ez_dex_swaps
where ORIGIN_FROM_ADDRESS in (select address from cel)
and BLOCK_TIMESTAMP>= current_date - 30
and platform ilike 'sushiswap'
or platform ilike 'uniswap-v2'
and EVENT_NAME='Swap'
group by symbol
having total is not null
order by total desc
limit 50