pub fn demote_member<T: Config<I>, I: 'static>(
    who: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description

Decrement the rank of an existing member by one. If the member is already at rank zero, then they are removed entirely.

  • origin: Must be the DemoteOrigin.
  • who: Account of existing member of rank greater than zero.

Weight: O(1), less if the member’s index is highest in its rank.

§Warning: Doc-Only

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