SocioCryptoVotes over time
Updated 2023-02-01Copy Reference Fork
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
›
⌄
SELECT 'osmosis' as chain,
date_trunc('day',block_timestamp) as date,
COUNT (DISTINCT tx_id) as n_votes,
COUNT(DISTINCT voter) as n_voters
FROM osmosis.core.fact_governance_votes
WHERE proposal_id not in (2226,1304, 1000, 719)
GROUP BY date
UNION
SELECT 'terra' as chain,
date_trunc('day',block_timestamp) as date,
COUNT (DISTINCT tx_id) as n_votes,
COUNT(DISTINCT voter) as n_voters
FROM terra.core.fact_governance_votes
GROUP BY date
UNION
SELECT 'cosmos' as chain,
date_trunc('day',block_timestamp) as date,
COUNT (DISTINCT tx_id) as n_votes,
COUNT(DISTINCT voter) as n_voters
FROM cosmos.core.fact_governance_votes
GROUP BY date
UNION
SELECT 'axelar' as chain,
date_trunc('day',block_timestamp) as date,
COUNT (DISTINCT tx_id) as n_votes,
COUNT(DISTINCT voter) as n_voters
FROM axelar.core.fact_governance_votes
GROUP BY date
ORDER BY date DESC
Run a query to Download Data