Abbas_ra21Flash Bounty - 2. Governing the Cosmos #1
Updated 2023-01-13
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
›
⌄
Select
'Terra' AS Chain,
DATE_TRUNC('WEEK',BLOCK_TIMESTAMP) AS WEEK,
Count(distinct PROPOSAL_ID) AS "Number of submitted proposal",
Count(distinct PROPOSER) AS "Number of PROPOSERS"
from terra.core.fact_governance_submit_proposal where TX_SUCCEEDED=TRUE group by 1,2
union ALL
Select
'Cosmos' AS Chain,
DATE_TRUNC('WEEK',BLOCK_TIMESTAMP) AS WEEK,
Count(*) AS "Number of submitted proposal",
Count(distinct PROPOSER) AS "Number of PROPOSERS"
from cosmos.core.fact_governance_submit_proposal group by 1,2
UNION ALL
Select
'Osmosis' AS Chain,
DATE_TRUNC('WEEK',BLOCK_TIMESTAMP) AS WEEK,
Count(*) AS "Number of submitted proposal",
Count(distinct PROPOSER) AS "Number of PROPOSERS"
from terra.core.fact_governance_submit_proposal group by 1,2
Run a query to Download Data