referrerpolicy=no-referrer-when-downgrade

Function pallet_membership::pallet::dispatchables::swap_member

source ·
pub fn swap_member<T: Config<I>, I: 'static>(
    remove: <<T as Config>::Lookup as StaticLookup>::Source,
    add: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description

Swap out one member remove for another add.

May only be called from T::SwapOrigin.

Prime membership is not passed from remove to add, if extant.

§Warning: Doc-Only

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