Polkassembly Logo

Create Pencil IconCreate
OpenGov

Notice: Polkadot has migrated to AssetHub. Balances, data, referenda, and other on-chain activity has moved to AssetHub.Learn more

View All Medium Spender

Kusama Governance Dashboard

inMedium Spender
3 years ago
Executed

Dear Community,

We finally have a governance dashboard (currently only includes gov1 data)!

While the Proof of Chaos project aims to incentivise governance participation, until now there was no way to actually measure the impact of these efforts. We decided to build this dashboard since no alternatives were available and received treasury funding for the undertaking.

To align interests with a successful outcome and ensure delivery we only asked for approximately half (10500 Euros) of the funding up-front (the original proposal). These funds have already been received by us through Proposal 145. After receiving positive feedback on the related discussion post, we are now creating this proposal for the remaining funding (9200 Euros).

9200 Euros = 9824 USD

Using the EMA7: 24.65 USD/KSM

9824 / 24.65 = 398.5 KSM

The dashboard is split into 3 parts

Main dashboard

Presents the most important statistics to show insightful trends.
Screenshot-2023-01-01-at-14-22-44

Single referendum view

Displays all relevant information for a specific referendum.
Screenshot-2023-01-01-at-14-51-54

Single account view

Provides insights into the voting behaviour of a specific wallet.
Screenshot-2023-01-01-at-14-54-36



We initially projected delivery to be in July 2022 and sincerely apologise for the delay. While work commenced immediately, we were not fully satisfied with previous iterations. Note that this project was largely executed by data analyst Claudia Yuan as to allow the existing devs for the Proof of Chaos project to keep focused on our other efforts.

Explanation of the design choices:



For the dashboard we built a custom SubSquid indexer that indexes all relevant governance data in real-time. You can query the data here.

Drawbacks:

  1. Subsquid indexers are currently still running on centralized servers.
  2. The indexer needs to be updated each time there is a runtime upgrade with breaking changes to the existing logic.
Centralisation

Currently all Subsquid indexers are running on the company's servers. While Subquery may have a more decentralized product, we still went with Subsquid due to the ease and speed of development with their solution. The support received from the Subsquid team as well as their commitment to the Polkadot Ecosystem also played a significant role in our decision. Note that Subsquid is working towards decentralisation.

Breaking changes through Runtime upgrades

This should be less of an issue as the Kusama network becomes more stable and runtime upgrades become "less invasive".



For the frontend we went with a Python Framework called Dash. While this helped us to build quicker, it limited us in flexibility. This route was chosen due to Claudia's familiarity with Python.



Continuation of the project...

We are of course interested in extending the dashboard to also include OpenGov (Gov2) data. This would be required to measure the effect of our incentivisation efforts going forward. It would involve updating the indexer to incorporate all OpenGov events + extrinsics as well as adapting the front-end to the new type of data (charts/filtering by tracks etc.).

Feel free to also throw any feature requests you may have in the comments of the discussion post. Thank you very much.

Comments (10)

3 years ago

Hey! I plan to review this in more detail soon, it seems like a great initiative on first glance – but one request (if it's not too much work).

Could you maybe add support for Pure Proxy accounts?

Right now when i input the ChaosDAO Pure Proxy address (DCZyhphXsRLcW84G9WmWEXtAA8DKGtVGSFZLJYty8Ajjyfa) into the single account view, the message "Possible message: The above wallet is invalid or has not participated in Kusama Governance yet".

Our setup is explained in this video – tl;dr Pure Proxy controlled by multisig.

3 years ago

Thanks for this feedback Leemo, Please note that the current dashboard is for gov1 data only! Did this address ever participate in a gov1 referenda vote?

3 years ago

Hi, As already mentioned on the discussion page of this proposal, onchain governance is relatively new thing and tools like this are needed to be able to analyse and better understand it. I give extra credits for splitting the proposal into the two parts where the current proposal comes after the product delivery. This displays job responsibility and accountability. I did a quick check on the delivered dashboards and based on the seen facts I give an Aye to this proposal as I believe the delivered product meets the standards from the proposal. It is a shame that Gov2.0 was deployed during the making of this proposal, but I do look forward for Gov2.0 implementation.

Load more comments
PleaseLogin to comment

Requested

DOT
39.85K DOT

Proposal Passed

Help Center

Report an Issue
Feedback
Terms and Conditions
Github

Our Services

Docs
Terms of Website
Privacy Policy

A House of Commons Initiative.

Polka Labs Private Limited 2026

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy