bachiWETH Curve pools
    Updated 2021-09-23
    select date_trunc(day,block_timestamp) as date, sum(amount_usd) as total_amount, sum(amount_in) as total_amount_in,
    sum(amount_out) as total_amount_out, pool_name from ethereum.dex_swaps where pool_address in (
    select pool_address from ethereum.dex_liquidity_pools where pool_name like 'WETH%')
    and platform = 'curve'and date > dateadd(month, -3, getdate()) group by pool_name, date
    Run a query to Download Data