PROPOSAL | SIDE | OPTIONS | VOTES | N_VOTERS | MAX(BLOCK_TIMESTAMP) | MIN(BLOCK_TIMESTAMP) | |
---|---|---|---|---|---|---|---|
1 | CWAwYcLmniqQYnzDh3QGRH6FtymBesJ9dzk1EBvYNBwK | 1 | Yes, I am comfortable with this proposal. | 210342737 | 157068 | 2024-11-29 15:59:51.000 | 2024-11-25 16:00:19.000 |
2 | CWAwYcLmniqQYnzDh3QGRH6FtymBesJ9dzk1EBvYNBwK | 2 | No, I am not comfortable with this proposal. | 154028785 | 29469 | 2024-11-29 15:59:45.000 | 2024-11-25 16:00:12.000 |
piperJupiter Governance - Votes
Updated 2024-12-14
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
-- forked from Jupiter Governance - Votes @ https://flipsidecrypto.xyz/studio/queries/dfed74a9-d2d0-41f3-814b-09bbccc3c1a2
-- forked from kellen / Jupiter LFG Token Launchpad Results @ https://flipsidecrypto.xyz/kellen/q/vdO1szn5p_tq/jupiter-lfg-token-launchpad-results
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 >= '2024-03-06'
and i.program_id in (
'GovaE4iu227srtG2s3tZzB4RmWBzw8sTwrCLZz7kN7rY'
)
and name = 'proposal'
and proposal = 'CWAwYcLmniqQYnzDh3QGRH6FtymBesJ9dzk1EBvYNBwK'
and side is not null
and side > 0
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, I am comfortable with this proposal.'
when side = '2' then 'No, I am not comfortable with this proposal.'
end as options
, round(sum(weight)) as votes
, count(1) as n_voters
, max(block_timestamp)
, min(block_timestamp)
from t0
Last run: 3 months ago
2
335B
4s