vote.gno
Vote
func Vote(
cur realm,
proposalId int64,
yes bool
) stringParameters
Name
Type
Description
Return Values
Name
Type
Description
Last updated
func Vote(
cur realm,
proposalId int64,
yes bool
) stringVote allows a user to vote on a given proposal.
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.
voteKey
string
The key of the vote.
Last updated