-
Notifications
You must be signed in to change notification settings - Fork 35
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
create route for council decision - CouncilResponse(card) #12
Comments
Every council member of a certain council can give their decision on the card. For making a council decision you must pay a collateral in credits. the route must implement a commit reveal scheme, so that the other members of the council cannot see the actual votes before voting themselves. |
https://docs.starport.com/guide/scavenge/02-game.html in our case it is a bit more complicated, because there are only 5 council members and they only have 3 voting options, so this means there are only 15 possible options to guess what the source of the hash is and then it is very easy to brute force. Therefore we use something like a salt, so when you commit you add a random value to the input of the hash and on reveal you also reveal the random value. |
when there are 5 commits in the council, the state of the council should go to something like "reveal phase" if majority voted deny then
if majority voted revision then
if majority voted approve then
|
I think it makes sense to make the revision vote visible, so only approve or deny are hidden, because it makes sense to inform the other council members that you want a revision |
The lifecycle of a council:
The lifecycle above does not describe cash flow. This comes now: To participate in the council every member has to put down a collateral first. The collateral can be changed via governance proposal and is initially 50 credits. The creator of the cards has to put 10 times the collateral as a fee for the council. All of these credits go to this council's treasury.
check out this for params: |
Card drafts need feedback from the council members to enter trial phase. This route is for submitting feedback.
The text was updated successfully, but these errors were encountered: