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 satisfies PromoteOrigin with a Success result of to_rank or more or root.
  • who: The account ID of the member to be promoted to to_rank.
  • to_rank: One more than the current rank of who.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::promote.