Trader JoeTrader Joe Dex total vol
    Updated 2024-02-01
    select chain,DAU, total,sum(total) over (order by chain desc) cumulative_total
    from (
    select sum(amount_in_usd) as total, 'arb' as chain,count (distinct ORIGIN_FROM_ADDRESS) as DAU from arbitrum.defi.ez_dex_swaps where (platform LIKE '%trader%' )
    -- Union all
    -- select sum(amount_in_usd) as total, 'arb v2' as chain from arbitrum.defi.ez_dex_swaps where platform LIKE ('trader-joe-v2')
    -- Union all
    -- select sum(amount_in_usd) as total, 'arb v1' as chain from arbitrum.defi.ez_dex_swaps where platform like ('trader-joe-v1')
    union all
    select sum(amount_in_usd) as total, 'avax' as chain, count (distinct ORIGIN_FROM_ADDRESS) as DAU from avalanche.defi.ez_dex_swaps where (platform LIKE '%trader%' )
    union all
    select sum(amount_in_usd) as total, 'eth' as chain,count (distinct ORIGIN_FROM_ADDRESS) as DAU from ethereum.defi.ez_dex_swaps where (platform LIKE '%trader%' )
    union all
    select sum(amount_in_usd) as total, 'bsc' as chain,count (distinct ORIGIN_FROM_ADDRESS) as DAU from bsc.defi.ez_dex_swaps where (platform LIKE '%trader%' )
    )

    order by chain asc


    Last run: about 1 year ago
    CHAIN
    DAU
    TOTAL
    CUMULATIVE_TOTAL
    1
    arb5766716315467566.5873449620045.91
    2
    avax216254366942183561.267134152479.33
    3
    bsc191510186338012.66191968918.13
    4
    eth9195630905.475630905.47
    4
    166B
    15s