FINAL_VOTE_CHOICE | TOTAL_VOTES | UNIQUE_VOTERS | PERCENTAGE_SHARE | |
---|---|---|---|---|
1 | Abstain | 53256288.081477 | 18799 | 12.11% |
2 | No | 144770122.443592 | 29579 | 32.93% |
3 | Yes | 241595178.805796 | 66886 | 54.96% |
CyberaResearchProposal: Catdets Working Group Budget (Graph)
Updated 2025-03-21
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 Proposal: Meow's 2030 Lock-in (Graph) @ https://flipsidecrypto.xyz/studio/queries/47b16e90-4fe6-46f9-b8bb-42b8b5e0e3ea
WITH votes_table AS (
SELECT
DATE_TRUNC('day', block_timestamp) AS voting_day,
signers[0] AS voter_address,
decoded_instruction:accounts[1]:pubkey AS proposal_id,
decoded_instruction:args:side AS selected_option,
decoded_instruction:args:weight / POW(10, 6) AS vote_size,
block_timestamp
FROM solana.core.ez_events_decoded
WHERE
block_timestamp::date >= '2024-11-25'
AND program_id = 'GovaE4iu227srtG2s3tZzB4RmWBzw8sTwrCLZz7kN7rY'
AND event_type = 'setVote'
AND proposal_id = 'DEiRPxWLjDFrC2AUrR7KZfjTCRiN4W2pd2SV1L1GkotK'
AND succeeded
),
most_recent_votes AS (
SELECT
voter_address,
MAX(block_timestamp) AS latest_timestamp
FROM votes_table
GROUP BY voter_address
)
SELECT
CASE
WHEN vt.selected_option = '0' THEN 'Abstain'
WHEN vt.selected_option = '1' THEN 'No'
WHEN vt.selected_option = '2' THEN 'Yes'
--WHEN vt.selected_option = '3' THEN 'Abstain'
ELSE 'Unknown'
END AS final_vote_choice,
SUM(vt.vote_size) AS total_votes,
COUNT(DISTINCT vt.voter_address) AS unique_voters,
ROUND(
Last run: 15 days ago
3
123B
4s