MLDZMNCoG2
Updated 2023-01-12Copy 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
31
32
33
›
⌄
select
date_trunc('week',BLOCK_TIMESTAMP) as date,
'Osmosis' as network,
count (distinct tx_id) as no_votes,
count (distinct voter) as no_voters,
count(distinct PROPOSAL_ID) as no_proposal
from osmosis.core.fact_governance_votes
where TX_SUCCEEDED = 'TRUE'
group by 1
union all
select
date_trunc('week',BLOCK_TIMESTAMP) as date,
'Cosmos' as network,
count (distinct tx_id) as no_votes,
count (distinct voter) as no_voters,
count(distinct PROPOSAL_ID) as no_proposal
from cosmos.core.fact_governance_votes
where TX_SUCCEEDED = 'TRUE'
group by 1
union all
select
date_trunc('week',BLOCK_TIMESTAMP) as date,
'Terra' as network,
count (distinct tx_id) as no_votes,
count (distinct voter) as no_voters,
count(distinct PROPOSAL_ID) as no_proposal
from terra.core.fact_governance_votes
where TX_SUCCEEDED = 'TRUE'
group by 1
Run a query to Download Data