Function pallet_scored_pool::pallet::dispatchables::withdraw_candidacy
source · pub fn withdraw_candidacy<T: Config<I>, I: 'static>(index: u32)
Expand description
An entity withdraws candidacy and gets its deposit back.
If the entity is part of the Members
, then the highest member
of the Pool
that is not currently in Members
is immediately
placed in the set instead.
The dispatch origin of this function must be signed.
The index
parameter of this function must be set to
the index of the transactor in the Pool
.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::withdraw_candidacy
.