rahoNew- OP All Proposals
Updated 2022-10-03
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
›
⌄
-- all snapshots with outcome
with all_ss as (
select
*
from ethereum.core.ez_snapshot
where space_id = 'opcollective.eth'
and proposal_title != '%Test%'
and proposal_title != 'Final test'
and proposal_title != 'Test Proposal'
),
votes_fora as (
select
proposal_title,
voter,
vote_option as choice,
voting_power,
proposal_end_time
from all_ss
where choice = ['1']
),
votes_forb as (
select
proposal_title,
sum(voting_power) as votes_for,
proposal_end_time
from votes_fora
group by proposal_title, proposal_end_time
),
votes_againsta as(
select
proposal_title,
voter,
Run a query to Download Data