piperJupiter Governance - Votes
    Updated 8 hours ago
    with t0 as (
    select decoded_instruction:args:side::string as side
    , decoded_instruction:args:weight::int * power(10, -6) as weight
    , signers[0]::string as voter
    , value:pubkey::string AS proposal
    , value:name::string AS name
    , block_timestamp
    from solana.core.fact_decoded_instructions i
    , LATERAL FLATTEN(input => decoded_instruction:accounts)
    where block_timestamp >= '2025-02-26'
    and i.program_id in (
    'GovaE4iu227srtG2s3tZzB4RmWBzw8sTwrCLZz7kN7rY'
    )
    and name = 'proposal'
    and proposal = '8DA1TFPjbyfJXmQMrqRcQCGheoordFZ2fWNd3zpEhj2k'
    and side is not null
    and weight is not null
    and event_type = 'setVote'
    qualify(
    row_number() over (partition by voter order by block_timestamp desc) = 1
    )
    )
    select proposal
    , side
    , case
    when side = '1' then 'Yes: Update the new logo to the Catstanbul themed logo.'
    when side = '2' then 'No: Maintain the existing logo, and revisit this later.'
    end as options
    , round(sum(weight)) as votes
    , count(1) as n_voters
    , max(block_timestamp)
    , min(block_timestamp)
    from t0
    where weight > 0
    group by 1, 2, 3
    order by votes desc
    Last run: about 8 hours agoAuto-refreshes every 12 hours
    PROPOSAL
    SIDE
    OPTIONS
    VOTES
    N_VOTERS
    MAX(BLOCK_TIMESTAMP)
    MIN(BLOCK_TIMESTAMP)
    1
    8DA1TFPjbyfJXmQMrqRcQCGheoordFZ2fWNd3zpEhj2k2No: Maintain the existing logo, and revisit this later.261250116534172025-03-02 15:42:45.0002025-02-26 15:43:16.000
    2
    8DA1TFPjbyfJXmQMrqRcQCGheoordFZ2fWNd3zpEhj2k1Yes: Update the new logo to the Catstanbul themed logo.191750508756092025-03-02 15:42:47.0002025-02-26 15:43:22.000
    2
    359B
    109s