-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add semi-automated DAO reporting to website #245
Comments
Overview of Planned WorkThis post outlines the conceptual overviews, data sources, and planned work for 2 pages: a new The goal is to auto-generate all items below (exception: proposal descriptions, since those are necessarily subjective and reflective). It assumes updates will take place monthly right after the end of a cycle. Most data should be available locally (e.g. Bisq data dumps), but GitHub and Mempool may be needed for some things...the idea is to get all the data, process it, auto-generate pages as outlined below, add proposal commentary (which would be optional, strictly speaking), and push to GitHub. The /dao page outlined below should replace the page currently at /dao as well as the current /stats page.
|
Hi @m52go looks great. On the Do you think it would be possible to pull in the following:
Percentage of fees paid in BSQ was: XX.XX% When doing it manually I was able to pull in data on a monthly basis but found in harder to pull in the correct data for a cycle. |
Merged with bisq-network/bisq-website#449. |
Proper DAO reporting is long-overdue, but probably won't be implemented as originally envisioned (fully automated) for a while.
Hence this initiative to add semi-automated reporting, which takes place at intervals (e.g., per-day, per-cycle) instead.
Mid-term workaround
Reporting BTC+BSQ burning, qualitative issuance, BSQ supply, and more in real-time is not a trivial task.
However, thanks to the cycle results JSON dump provided by Bisq itself, reporting basic DAO voting cycle results in a semi-automated way is quite simple. By "semi-automated" I mean creating a script that parses the JSON dump -- this script will need to be run manually after cycles end, but can write most of the report automatically.
Here's what I'm currently working on to get this done:
/blog/cycle-N-results
), but after this change, they will become their own custom collection type available at (/dao/cycle-N
)I'll have the script leave blank spaces for proposal commentary and general commentary, both to be filled in by hand wherever appropriate.
This workflow will make DAO reporting more punctual, as I won't have to spend time getting simple data points such as DAO cycle block numbers, time periods, voting statistics, and other items. Currently these numbers must be obtained from Bisq itself and a bunch of script hacked together over time, which makes doing this by hand tedious and prone to pushing off.
Next steps
Once this basic DAO result reporting is completed, the next step will be to add supply dynamics (issuance details, BSQ burn, BTC burn, etc) to help put DAO results into context.
Whereas voting cycle results are only released once per cycle and require hand-crafted commentary, fee collection (both BSQ and BTC) happens constantly and needs to be counted in an automated way. Thus this next step will require more technical work and probably some kind of intermediate server that aggregates data on intervals. Depending on the approach used, daily time intervals might work, otherwise, a cycle-based interval may need to be used.
Details are TBD, and will be addressed in a future issue.
Future
As mentioned above, the long-term hope is for mempool nodes to entirely take over and provide DAO reporting. They are technically in the best spot to do so since they already have real-time BTC and BSQ data, so implementing this any other way is a compromise. But it's past time to get a handle on DAO reporting, so this compromised approach will have to suffice for now.
I'll have a pull request soon for the items covered in the mid-term workaround section, as I don't see those changes as controversial (they're merely moving around data that's already on the website and changing a behind-the-scenes workflow).
I'm making this issue to outline the approach and background to put that pull request into context and how it could fit within a broader initiative to achieve better overall reporting for the Bisq DAO.
Please let me know if you have any suggestions or concerns.
The text was updated successfully, but these errors were encountered: