CryptoIcicleOpen Analytics - 9. Osmosis - Governance - Participation Date
    Updated 2023-01-20
    -- Submit a deep dive dashboard that explores a specific topic in detail using Osmosis data.
    -- Open Analytics (OA) bounties are bounties without specific prompts, just a direction and a reward.
    -- It’s your chance to have your brain follow your heart — got a spark of interest, or a loose thread, or a weirdly-specific question gnawing at the back of your mind? Follow it as far as you can!

    -- USDC Payouts:
    -- Rank USDC amount
    -- First place 400
    -- Second place 150
    -- Third place 150
    -- 4th through 15th place 75
    -- 16th through 21st place 50

    with
    first_txns as (
    select
    tx_from,
    min(block_timestamp) as first_txn
    from osmosis.core.fact_transactions
    group by tx_from
    ),
    first_vote as (
    select
    voter,
    min(block_timestamp) as first_vote
    from osmosis.core.fact_governance_votes v join first_txns t on v.voter = t.tx_from
    group by voter
    )

    select
    avg(n_days) as avg_n_days,
    median(n_days) as median_n_days,
    max(n_days) as max_n_days
    from (
    select
    voter,
    datediff('day',first_txn, first_vote) as n_days
    Run a query to Download Data