SalehCelsius and Sushi-swaps-sushi-Total
    Updated 2022-07-13
    with lst_check as (
    select
    address
    from flipside_prod_db.crosschain.address_labels
    where project_name ='celsius network'
    group by 1
    )
    select
    pool_name
    ,count (distinct tx_hash) as tx_count
    ,sum(amount_in_usd) as amount_usd
    from ethereum.sushi.ez_swaps
    where origin_from_address in (select address from lst_check)
    group by 1
    order by 1
    Run a query to Download Data