freemartianValidator single stats
Updated 2022-11-22
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
›
⌄
with validators as (
select
label,
raw_metadata[0]['account_address']::string as validator
from osmosis.core.dim_labels
where label_subtype = 'validator'
)
select
'Validator' as voter_type,
count(distinct tx_id) as vote_count,
count(distinct voter) as voter_count
from osmosis.core.fact_governance_votes
where proposal_id = '362'
and TX_STATUS = 'SUCCEEDED'
and voter in (select validator from validators)
UNION
select
'Non-Validators' as voter_type,
count(distinct tx_id) as vote_count,
count(distinct voter) as voter_count
from osmosis.core.fact_governance_votes
where proposal_id = '362'
and TX_STATUS = 'SUCCEEDED'
and voter not in (select validator from validators)
Run a query to Download Data