rahoTotal Votes Cast by Proposal
Updated 2022-11-22
999
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 wallet_age as (
with all_ss as (
select
date_trunc('day', proposal_start_time) as start_date,
proposal_title,
voter,
vote_option,
voting_power
from ethereum.core.ez_snapshot
where space_id = 'stgdao.eth'
),
eth as (
select
date_trunc('day', block_timestamp) as create_date,
cast(getdate() as date) as cur_date,
datediff('day', create_date, cur_date) as days_old,
nonce,
from_address
from ethereum.core.fact_transactions
inner join all_ss
on lower(voter) = lower(from_address)
where nonce = 0
),
arb as (
select
date_trunc('day', block_timestamp) as create_date,
cast(getdate() as date) as cur_date,
datediff('day', create_date, cur_date) as days_old,
nonce,
from_address
from arbitrum.core.fact_transactions
inner join all_ss
Run a query to Download Data