Popex404Total General Metrics tx - volume - users
    Updated 2022-11-29
    -- Querie From Alik110 https://app.flipsidecrypto.com/dashboard/TPy8JA
    -- With my own changes, to visualize a better comparison between Single asset vs All assets Adding Liquidity Transactions
    -- Important Change? => Change the Time period.

    with pricet as (
    select recorded_at::date as day,
    address,
    symbol,
    avg (price) as USDPrice
    from osmosis.core.dim_prices t1 join osmosis.core.dim_labels t2 on t1.symbol = t2.project_name
    where recorded_at >= '2021-12-28'
    group by 1,2,3),

    SingleSideT as (
    select tx_id,
    count (tx_id) as TXS_Count
    from osmosis.core.fact_liquidity_provider_actions
    where action = 'pool_joined'
    and tx_status = 'SUCCEEDED'
    and block_timestamp >= '2021-12-28'
    group by 1
    having TXS_Count < 2),

    BothAssetsT as (
    select tx_id,
    count (tx_id) as TXS_Count
    from osmosis.core.fact_liquidity_provider_actions
    where action = 'pool_joined'
    and tx_status = 'SUCCEEDED'
    and block_timestamp >= '2021-12-28'
    group by 1
    having TXS_Count > 1)
    select 'Single Asset' as join_type,
    count (distinct tx_id) as TX_Count,
    count (distinct liquidity_provider_address) as Users_Count,
    Run a query to Download Data