|
| 1 | + |
| 2 | + |
| 3 | +# ArchDAO - A proposal DAO |
| 4 | + |
| 5 | +This project aims to manage the votes of a group of people who wish to express their choices with respect to a series of projects that are already partially funded by the founders of the DAO and who therefore wish to be helped in defining the priorities of each individual project. |
| 6 | + |
| 7 | +ArchDAO implements a crypto dao that serves for decentralized governance of business proposal from the initial stage to the approval and the execution stage |
| 8 | + |
| 9 | +Proposers receive fungible vote tokens in return for their registering, with vote tokens representing shares of decision of the |
| 10 | +whole proposal approval process. |
| 11 | +Right to vote can be transferred and whoever holds them can at any time vote for a proposal. |
| 12 | + |
| 13 | +Proposers can also fund the ArchDao with XRD tokens and receive back ARCH tokens, as the projects funded by ArchDAO makes profits the value of each ARCH token will increase. |
| 14 | + |
| 15 | +The ArchDAO's managers can dynamically add and remove proposal, or ask to verify if the proposal trigger is satisfied for promoting a proposal into a into a project ready to be funded. |
| 16 | + |
| 17 | +The votes are calculated using a conviction system, that means that each vote gets calculated at its value only after some epochs have passed (for at least 1000epoch) the same when you remove the vote, the removed vote will continue to be calculated for at least the some amount of epochs. |
| 18 | + |
| 19 | +The ArchDAO can charge protocol fees, intended at producing profits for the ArchDAO's managers. Some or all of these protocol fees can go |
| 20 | +towards rewards for both the managers and the voters. |
| 21 | + |
| 22 | +Both the managers and the voters can earn rewards when the project gets executed and when the execution produces a profit. |
| 23 | + |
| 24 | +## Example |
| 25 | + |
| 26 | +For this kind of project there are many use cases, since the cases can be innumerable then let's try to describe a specific use case for Radix. |
| 27 | + |
| 28 | +Let's say that during one of the appointments defined 'RoundTable' it is decided that an extra funding of 1,000,000xrd should be divided between the departments, so each one will propose his idea which will then be voted through the DAO to obtain funding for each project that is proportional to the result of the votes obtained. |
| 29 | + |
| 30 | +## Development issues |
| 31 | + |
| 32 | +Unfortunately I was not able to dedicate the right time to the project and the features present are at most 50% of what I would have liked. In any case, considering the time spent, the result is a good starting point, moreover in this way it was possible to verify the progress with Scrypto 0.6 and run the first publication on Alphanet. |
| 33 | + |
| 34 | +This time various transaction manifest files were developed and their testing was performed without the new TestRunner but using Resim through the test library, I also wanted to change the design and use owned components but this was not possible due to time. |
| 35 | + |
| 36 | +I have to thank my friend Gigi who always prepares me some very nice logos and Jake who answered several of my questions! |
| 37 | + |
| 38 | +## How to build the blueprints |
| 39 | + |
| 40 | +Make sure you have the necessary toolchain installed, including the |
| 41 | +resim tool, see |
| 42 | +[here](https://docs.radixdlt.com/main/scrypto/getting-started/install-scrypto.html) |
| 43 | +for details. You will need Scrypto 0.6.0. |
| 44 | +- From the command line, in the `archdao` directory, run `cargo build` |
| 45 | + |
| 46 | +### How to run the test suite |
| 47 | + |
| 48 | +- Make sure you have the resim tool installed, see above. |
| 49 | +- From the command line, in the `archdao` directory, run `cargo test -- --test-threads=1 --nocapture` |
| 50 | + |
| 51 | +### How to generate the documentation |
| 52 | + |
| 53 | +- From the command line, in the `archdao` directory, run `cargo doc` |
| 54 | + |
| 55 | +The generated web pages contain detailed documentation on how the blueprints work. |
| 56 | + |
| 57 | +### Useful command |
| 58 | +scrypto test -- --nocapture |
| 59 | +cargo test -- --test-threads=1 --nocapture |
| 60 | + |
| 61 | + |
0 commit comments