NuveveCryptoArchivedStaked to Liquid OSMO Over Time
    Updated 2023-04-23
    with liquid as (
    select
    date,
    sum(balance) as total
    from osmosis.core.fact_daily_balances
    where currency = 'uosmo'
    and balance_type = 'liquid'
    group by date
    ),

    staked as (
    select
    date,
    sum(balance) as total
    from osmosis.core.fact_daily_balances
    where currency = 'uosmo'
    and balance_type = 'staked'
    group by date
    ),

    sfstaked as (
    select
    date,
    sum(balance) as total
    from osmosis.core.fact_daily_balances
    where currency = 'uosmo'
    and balance_type = 'superfluid staked'
    group by date
    )

    select
    liquid.date as date,
    liquid.total as liquid,
    staked.total as staked
    from liquid
    inner join staked on liquid.date = staked.date

    Run a query to Download Data