Function pallet_society::pallet::dispatchables::vote
source · pub fn vote<T: Config<I>, I: 'static>(
candidate: <<T as Config>::Lookup as StaticLookup>::Source,
approve: bool
)
Expand description
As a member, vote on a candidate.
The dispatch origin for this call must be Signed and a member.
Parameters:
candidate
: The candidate that the member would like to bid on.approve
: A boolean which says if the candidate should be approved (true
) or rejected (false
).
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::vote
.