Dao propose
Create dao proposal
- Calculate, and reveal token commitment
- Calculate, and reveal bulla
- Calculate, and reveal proposal
- Calculate, and reveal total proposers funds commitment
Public input | Description |
---|---|
proposal token commitment as field element | |
root of bulla in merkle tree | |
proposal | dao proposer proposal |
total funds commitment's x coordinate | |
total funds commitment's y coordinate |
Witnesses | Description |
---|---|
total proposal funds value | |
blinding value for commitment | |
token commitment blinding factor | |
destination public key x coordinate | |
destination public key y coordinate | |
amount in proposal token | |
proposal token id | |
proposal commitment blinding term | |
proposerLimit | governance token necessary for the vote to be valid |
quorum | minimum number of votes necessary to pass the proposal |
proposal approval ratio quotient | |
proposal approval ratio base | |
tokenId | governance token id |
proposal public key x coordinate | |
proposal public key y coordinate | |
bulla commitment blinding factor | |
pos | bulla leaf position in the merkle tree |
path | path of the bulla leaf at pos |