pub fn vote<T: Config<I>, I: 'static>(
poll_index: PollIndexOf<T, I>,
vote: AccountVote<BalanceOf<T, I>>,
)
Expand description
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.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::vote
.