Function pallet_core_fellowship::pallet::dispatchables::promote
source · pub fn promote<T: Config<I>, I: 'static>(
who: T::AccountId,
to_rank: RankOf<T, I>,
)
Expand description
Increment the rank of a ranked and tracked account.
origin
: An origin which satisfiesPromoteOrigin
with aSuccess
result ofto_rank
or more or root.who
: The account ID of the member to be promoted toto_rank
.to_rank
: One more than the current rank ofwho
.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::promote
.