pallet_sponsorship::pallet::dispatchables

Function remove_users

Source
pub fn remove_users<T: Config>(pot: T::PotId, users: Vec<T::AccountId>)
Expand description

Remove users from a pot. Only pot sponsor can do this. None of the specified users must have any reserved balance in their proxy accounts. User must be registered to be removable. Users receive the free balance in their proxy account back into their own accounts when they are removed.

Emits UsersRemoved(pot, Vec<T::AccountId>) with a list of those removed when successful.

ยงWarning: Doc-Only

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