Vote burn
Burn proposal vote.
Vote Burn proof
- Derive, and reveal nullifier
- Calculate, and reveal value commitment
- Calculate, and reveal token commitment
- Add input coin to merkle tree, and reveal it's root.
- Derive, and reveal signature public key
Public Input | Description |
---|---|
nullifier | dao's proposal coin nullifier |
x coordinate of value point commitment | |
y coordinate of value point commitment | |
commitment of tokenId as field element | |
root | root of commitments merkle tree of coins |
signature public key x coordinate | |
signature public key y coordinate |
Witnesses | Description |
---|---|
sk | proposal coin secret key |
sn | proposal coin serial number |
spendHook | burn spendHook contract |
data | spendHook contract input data |
value | proposal coin value |
tokenId | proposal coin token id |
proposal value commitment blinding term | |
token commitment blinding term | |
pos | proposal coin leaf position in merkle tree |
path | proposal coin path in merkle tree |
proposal signature secret key |