pub fn approve<T: Config<I>, I: 'static>(
    who: T::AccountId,
    at_rank: RankOf<T, I>
)
Expand description

Approve a member to continue at their rank.

This resets last_proof to the current block, thereby delaying any automatic demotion.

If who is not already tracked by this pallet, then it will become tracked. last_promotion will be set to zero.

  • origin: An origin which satisfies ApproveOrigin or root.
  • who: A member (i.e. of non-zero rank).
  • at_rank: The rank of member.

Warning: Doc-Only

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