vote: TxDescriptor<{
    poll_index: number;
    vote: ConvictionVotingVoteAccountVote;
}>

Vote in a poll. If vote.is_aye(), the vote is to enact the proposal; otherwise it is a vote to keep the status quo.

The dispatch origin of this call must be Signed.

  • poll_index: The index of the poll to vote for.
  • vote: The vote configuration.

Weight: O(R) where R is the number of polls the voter has voted on.