vote.gno
Vote
Allows a user to vote on a given proposal.
Parameters
Name | Type | Description |
---|---|---|
| uint64 | The ID of the proposal to vote. |
| bool | The flag to vote as yes or not. |
Return Values
Name | Type | Description |
---|---|---|
voteKey | string | The key of the vote. |
Cancel
Cancels the proposal with the given ID.
Parameters
Name | Type | Description |
---|---|---|
| uint64 | The ID of the proposal to cancel. |
Return Values
Name | Type | Description |
---|---|---|
proposalId | uint64 | The ID of the proposal. |
Last updated