Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treasury Tracker #1900

Merged
merged 27 commits into from
Aug 22, 2023
Merged

Treasury Tracker #1900

merged 27 commits into from
Aug 22, 2023

Conversation

senseless
Copy link
Contributor

@senseless senseless commented Aug 9, 2023

Project Abstract

TreasuryTracker is an analytics portal aimed at providing insights into Polkadot and Kusama's OpenGovernance referenda. It seeks to address the lack of financial oversight by enabling efficient utilization of treasury funds and enhancing transparency.

Grant level

  • Level 1: Up to $10,000, 2 approvals
  • Level 2: Up to $30,000, 3 approvals
  • Level 3: Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

  • The application template has been copied and aptly renamed (project_name.md).
  • I have read the application guidelines.
  • Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
  • [X ] The software delivered for this grant will be released under an open-source license specified in the application.
  • The initial PR contains only one commit (squash and force-push if needed).
  • The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
  • I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @stakeplus:matrix.org (change the homeserver if you use a different one)

@CLAassistant
Copy link

CLAassistant commented Aug 9, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the application. In general, this looks interesting, but I have a couple of questions/comments:

  • Did you already consider applying for treasury funding for this? I think, ideally, tools for the treasury are funded by the treasury, since the community and everyone involved are the experts when it comes to the treasury itself.
  • Are you aware of https://github.com/wpank/open-gov-insights?
  • Regarding the backend, could you not potentially reuse an existing solution for this?

@Noc2 Noc2 added the changes requested The team needs to clarify a few things first. label Aug 10, 2023
@senseless
Copy link
Contributor Author

Thanks for the application. In general, this looks interesting, but I have a couple of questions/comments:

* Did you already consider applying for treasury funding for this? I think, ideally, tools for the treasury are funded by the treasury, since the community and everyone involved are the experts when it comes to the treasury itself.

Having been intimately involved in OpenGOV for the last ~10 months and observing voting behavior, We do not believe the current climate is conducive to POC funding. We opted to follow the grant guidelines and seek an L1 grant to establish a proof of concept first. If our POC proves successful, we will reconsider the future options choosing between a higher-level grant application or try to submit an OpenGOV proposal.

Please see the following memes we created to express our current thoughts on OpenGOV:

https://twitter.com/StakePlusCrypto/status/1688505265166123008
https://twitter.com/StakePlusCrypto/status/1680375674500964352

* Are you aware of https://github.com/wpank/open-gov-insights?

We're familiar with Will's tool at open-gov-insights. It's an invaluable resource for extracting voter OpenGOV data, offering significant insights into voter statistics. However, it uses only a fraction of the data spectrum we plan to analyze on our platform. Some of our data needs to be manually curated because there is no source of this information.

* Regarding the backend, could you not potentially reuse an existing solution for this?

Thank you for raising this point. Indeed, we explored the possibility of using an existing solution for the backend. Considering the long-term vision of our project, we deemed it more appropriate to tailor-make a backend that fits specifically to our needs. Another key factor behind this decision was the economic viability. The time to refactor an unfamiliar application would be longer than to build it out from scratch. Most of the work that needs to be done for the POC are in creating the interactions for graphing and tedious nature of making all of the onClick functionality for charting. The backend design will be quite minimal. We may in the future migrate over to using one or more indexing solutions (SubSquid, SubQuery, etc).

@takahser takahser self-assigned this Aug 16, 2023
@takahser takahser self-requested a review August 16, 2023 22:40
@senseless senseless requested a review from Noc2 August 17, 2023 22:14
Copy link
Collaborator

@takahser takahser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@senseless

However, it uses only a fraction of the data spectrum we plan to analyze on our platform.

Could you clarify the exact differences?

Also, could you show some UI-related references that your team implemented in the past?

applications/TreasuryTracker.md Outdated Show resolved Hide resolved
applications/TreasuryTracker.md Show resolved Hide resolved
applications/TreasuryTracker.md Outdated Show resolved Hide resolved
@senseless
Copy link
Contributor Author

senseless commented Aug 18, 2023

@senseless

However, it uses only a fraction of the data spectrum we plan to analyze on our platform.

Could you clarify the exact differences?

Also, could you show some UI-related references that your team implemented in the past?

The most recent work was on the IBP frontends and design. This work was completed by Thomas as noted in the application.

I dropped you some links in element regarding the other questions.

@CoinStudioDOT
Copy link

CoinStudioDOT commented Aug 18, 2023

@senseless

However, it uses only a fraction of the data spectrum we plan to analyze on our platform.

Could you clarify the exact differences?

Thank you for pointing out Will's tool at open-gov-insights. While this tool is predominantly aimed toward voting statistics- the distribution of votes and voters—the TreasuryTracker vision, as visualized in our graphical mockups, spans a much more extensive treasury-related data landscape.

A reminder that L1 Grant is the application to create a POC that will cover the small aspect of the first two data sets only, Referenda details and Financial insights as shown in the Grant mockups which is something that is not available in the mentioned tool.

Some of the foundational features include:

  • Referenda Details: Covering aspects like ID, Proposal Title, Proposer's ID, Address, Origin track, Project Category, Proposal URL, and Status.

  • Financial Insights: Offering information on the Payment Schedule, Requested Amounts (in DOT and USD), Received Amount in USD, and financial variances such as the Difference in USD and Reimbursements.

  • Voting Statistics: Provides a deep dive into Referenda Submission dates, Start and End dates, the dynamics of Votes (Aye, Nay, Total), Votes Casted and Delegated, and their consequential distribution percentages. Moreover, it delves into the Final Vote Results and the Controversy Index.

  • Voter Analysis: Incorporates a broad range of data, from numbers of Voters for Aye, Nay, and Abstain to metrics about Voter delegation, distribution, and final results.

  • Time-Defined Data: An organized view according to Quarters, Months, and Weeks for when Referenda were Submitted, Began, and Concluded.

In the future iterations of the platform, we are exploring the potential to incorporate additional data including:

  • Project Management Factors: This would encompass the Proposed Timeline, detailed Milestones and Deliverables, Start and End Dates, and an updated Current Status.
  • Social Engagement Metrics: This would capture the Number of Comments, Likes, and Shares associated with each proposal, complemented by Sentiment Analysis for deeper insights.
  • Evaluation Factors: Here, we would look at the Implementation Success, the punctuality of On-Time Delivery, Deviations from the initial Proposal, and the existence of an Audit Report and External Reviews. Moreover, we'd highlight any Corrective Actions taken post-review.
  • Proposer's History and Feedback: Incorporating a history of Previous Proposals by the Proposer, Inter-Proposal Dependencies, and any Feedback Given to the Proposer.
  • Team and Geographical Data: Offering deeper insights into Team Information, the Proposer's Country or Region, and potential Secondary Effects of the proposal.
  • Risk Management: Highlighting Identified Risks and the Responses or strategies to mitigate said risks.

While Will's tool provides insight into the world of voter statistics, our platform's ambition is to provide a holistic, multi-faceted overview of multiple data sources providing a more informed OpenGov experience. Platform as such does not exist in the eco.

Copy link
Collaborator

@takahser takahser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@senseless @CoinStudioDOT Thanks for the explanations. Could you incorperate these features into the proposal? Also, feel free to comment on this follow-up inline comment.

Copy link
Collaborator

@takahser takahser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update but I still didn't find the more detailed feature description incorporated into the proposal doc.
On another note: what's the reason you're using jQuery over a more modern frontend framework like React, Angular, Vue, etc.?

@senseless
Copy link
Contributor Author

senseless commented Aug 21, 2023

On another note: what's the reason you're using jQuery over a more modern frontend framework like React, Angular, Vue, etc.?

I'm a boomer... Basically... My background is mostly in infrastructure. I'm someone who can code, but not a coder. It's easier for me to stick with what I'm used to in order to get things built out quickly. My hope with this site is that we can build it out, have people understand the need and use of information, and receive further funding allowing us to hire on devs I use to work with to modernize things. I do not believe we'll be able to find support in OpenGOV until voters can see the need themselves. At that point we would migrate everything over to a React or similar frontend and utilize API interaction with the cakephp framework to pull the necessary data into the frontend via API. Many of the components will be reusable, some will not.

Just to reiterate the need again. "We generate X per day so we should spend X per day" is not a theory of treasury management. No one thinks like that, people look at categorized expenses and decide which areas they could cut things in to reduce expenditure. You would ask questions like "How much do I spend on cell service?", "How much do I spend on entertainment?", "How much do I spend eating out?". You would categorically prioritize expenditure. If you were try to ask similar questions of the treasury budgeting process, you would not be able to find the answer unless you go through every proposal manually. Questions like "How much do we spend on RPC?", "How much do we spend on Media?", "How much do we spend on Events?" are completely unanswerable without significant manual analysis.

Thanks for the update but I still didn't find the #1900 (comment) incorporated into the proposal doc.

These elements have been incorporated into the application

Copy link
Collaborator

@takahser takahser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@senseless thanks for adding more details and answering the follow-up questions. While I'm not 100% convinced of the technical architecture I do see business value in a solution like this. Since you seem to be knowledgable about the challenges the treasury faces as well as are passionate about solution thereof, I'm still willing to give it a shot.

@takahser takahser added ready for review The project is ready to be reviewed by the committee members. and removed changes requested The team needs to clarify a few things first. labels Aug 21, 2023
Copy link
Collaborator

@Noc2 Noc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update. I'm happy to go ahead with it.

@Noc2 Noc2 merged commit 1b51bb6 into w3f:master Aug 22, 2023
8 checks passed
@github-actions
Copy link
Contributor

Congratulations and welcome to the Web3 Foundation Grants Program! Please refer to our Milestone Delivery repository for instructions on how to submit milestones and invoices, our FAQ for frequently asked questions and the support section of our README for more ways to find answers to your questions.

Before you start, take a moment to read through our announcement guidelines for all communications related to the grant or make them known to the right person in your organisation. In particular, please don't announce the grant publicly before at least the first milestone of your project has been approved. At that point or shortly before, you can get in touch with us at grantsPR@web3.foundation and we'll be happy to collaborate on an announcement about the work you’re doing.

Lastly, please remember to let us know in case you run into any delays or deviate from the deliverables in your application. You can either leave a comment here or directly request to amend your application via PR. We wish you luck with your project! 🚀

@senseless
Copy link
Contributor Author

I'm not sure if this appropriate here now that this is approved; but just to give a status update: We have launched the primary website ( https://treasurytracker.io/ ) and are working on the last few features for this grant request before requesting for milestone delivery.

@semuelle
Copy link
Member

semuelle commented Oct 1, 2023

Thanks, @senseless. We are always happy to hear updates between milestones.

taqtiqa-mark pushed a commit to taqtiqa-mark/Grants-Program that referenced this pull request Jun 6, 2024
* Treasury Tracker

* Treasury Tracker - Assets

* Treasury Tracker - Assets Update

* Treasury Tracker - Update

* Treasury Tracker - Update

* Treasury Tracker - Update

* Treasury Tracker - Update

* Treasury Tracker - Update

* Treasury Tracker

* Assets update

* Update architecture

* Treasury Tracker Update

* Treasury Tracker Update

* Treasury Tracker Update

* Treasury Tracker Update

* Treasury Tracker Update

* Treasury Tracker Update

* Treasury Tracker Update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review The project is ready to be reviewed by the committee members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants