vote.gno
Vote
func Vote(
cur realm,
proposalId int64,
yes bool
) stringVote allows a user to vote on a given proposal.
Parameters
Name
Type
Description
cur
realm
Pass cross as argument.
proposalId
int64
The ID of the proposal to vote.
yes
bool
The flag to vote as yes or not.
Return Values
Name
Type
Description
voteKey
string
The key of the vote.
Last updated