NewVotingInfo
NewVotingInfo creates a new voting information structure for a user. This constructor initializes the voting eligibility based on delegation snapshots.
Parameters:
- availableVoteWeight: total voting weight available to this user
Returns:
- *VotingInfo: newly created voting information structure
Command
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/gov/governance.NewVotingInfo()"
Result