cloudr3nTrader Joe TVL
    Updated 2024-10-09
    -- TVL Changes

    with
    top_lp as (
    select
    sum(case when amount_in_usd is null then 0 else amount_in_usd end) as total,
    sum(case when token_in='0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7' then amount_in
    when token_out='0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7' then amount_out else 0
    end
    ) as total_eth,
    contract_address as pool_address,
    pool_name
    from avalanche.defi.ez_dex_swaps
    where
    1=1--date(block_timestamp)>= current_date() - 365
    and contract_address in (
    select pool_address from avalanche.defi.dim_dex_liquidity_pools where platform like '%trader%'
    --and date(creation_time)>='2023-01-01'
    )
    and (pool_name not like ('0x%') or pool_name not like ('%-0x%'))

    group by contract_address, pool_name
    order by total desc, total_eth desc
    limit 1000
    ),

    lps as (
    select
    pool_name, pool_address, tokens:token0 as token0, tokens:token1 as token1
    from
    avalanche.defi.dim_dex_liquidity_pools
    where
    1=1
    and pool_address in (select pool_address from top_lp where pool_name not like ('0x%'))
    ),

    Last run: 2 months ago
    DATE_DAY
    TVL
    DAY
    AVG_PRICE
    TVL_AVAX
    1
    2025-05-06 00:00:00.00077894832.90564342025-05-06 00:00:00.00019.6483333333964449.88916668
    2
    2025-05-05 00:00:00.00078649188.81473472025-05-05 00:00:00.00019.78253975695.12522354
    3
    2025-05-04 00:00:00.00079179529.89298212025-05-04 00:00:00.00020.1933333333921072.79100275
    4
    2025-05-03 00:00:00.00081252333.26555762025-05-03 00:00:00.00020.943880245.14162166
    5
    2025-05-02 00:00:00.00082115484.72955032025-05-02 00:00:00.00021.503753818658.8259978
    6
    2025-05-01 00:00:00.00087953168.95999632025-05-01 00:00:00.00021.2979166674129660.6769831
    7
    2025-04-30 00:00:00.00090589301.57249022025-04-30 00:00:00.00021.374239087.57943333
    8
    2025-04-29 00:00:00.00092715623.25874532025-04-29 00:00:00.00021.961254221782.60612421
    9
    2025-04-28 00:00:00.00089590068.30786082025-04-28 00:00:00.00021.8633333334097731.43655408
    10
    2025-04-27 00:00:00.00089660459.24924872025-04-27 00:00:00.00022.1854166674041414.25858197
    11
    2025-04-26 00:00:00.00088973956.34261072025-04-26 00:00:00.00022.2479166673999203.95584354
    12
    2025-04-25 00:00:00.00090229058.71799452025-04-25 00:00:00.00022.346254037771.82829309
    13
    2025-04-24 00:00:00.00090918155.62407412025-04-24 00:00:00.00022.1329166674107825.32611265
    14
    2025-04-23 00:00:00.00092561494.42620232025-04-23 00:00:00.00022.4595833334121247.17776164
    15
    2025-04-22 00:00:00.00085856875.3931252025-04-22 00:00:00.00020.564175918.06386795
    16
    2025-04-21 00:00:00.00086940047.74971462025-04-21 00:00:00.00020.2041666674303075.16187492
    17
    2025-04-20 00:00:00.00086169753.8857172025-04-20 00:00:00.00019.63254389138.10700201
    18
    2025-04-19 00:00:00.00085749608.28935532025-04-19 00:00:00.00019.5341666674389724.4122361
    19
    2025-04-18 00:00:00.00082452199.29011342025-04-18 00:00:00.00019.0595833334326023.17942138
    20
    2025-04-17 00:00:00.00083520975.00099262025-04-17 00:00:00.00019.1404166674363592.31126069
    ...
    326
    32KB
    253s