Function pallet_nicks::pallet::dispatchables::kill_name
source · pub fn kill_name<T: Config>(
target: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description
Remove an account’s name and take charge of the deposit.
Fails if target
has not been named. The deposit is dealt with through T::Slashed
imbalance handler.
The dispatch origin for this call must match T::ForceOrigin
.
Complexity
- O(1).
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::kill_name
.