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 satisfiesPromoteOriginwith aSuccessresult ofto_rankor 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.