vote: TxDescriptor<{
    aye: boolean;
    poll: number;
}>

Add an aye or nay vote for the sender to the given proposal.

  • origin: Must be Signed by a member account.
  • poll: Index of a poll which is ongoing.
  • aye: true if the vote is to approve the proposal, false otherwise.

Transaction fees are be waived if the member is voting on any particular proposal for the first time and the call is successful. Subsequent vote changes will charge a fee.

Weight: O(1), less if there was no previous vote on the poll by the member.