boomer77USDC Pools
    Updated 2023-05-01
    with pools as (select
    pool_name,
    ROW_NUMBER() OVER (PARTITION BY pool_name ORDER BY block_timestamp desc) as rank,
    (TOKEN0_BALANCE_USD + TOKEN1_BALANCE_USD) as TVL
    from
    ethereum.uniswapv3.ez_pool_stats
    where
    date(block_timestamp) = current_date - 1
    and TOKEN0_BALANCE_USD is not null
    and TOKEN1_BALANCE_USD is not null
    and pool_name like '%USDC%'
    order by TOKEN0_BALANCE_USD desc)

    select pool_name, TVL
    from pools
    where rank = 1
    order by TVL desc
    limit 20