NewVotedVotingInfo
NewVotedVotingInfo creates a voting information value with a recorded vote.
Parameters:
- availableVoteWeight: total voting weight available to the user for this proposal
- votedYes: true when the recorded vote is yes, false when it is no
- votedWeight: voting weight applied to the recorded vote
- votedHeight: block height at which the vote was recorded
- votedAt: Unix timestamp at which the vote was recorded
Returns:
- VotingInfo: voting record populated with the supplied weight, choice, height, and timestamp and marked as voted
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gov/governance.NewVotedVotingInfo(,,,,)"
Result