Function pallet_identity::pallet::dispatchables::clear_identity
source · pub fn clear_identity<T: Config>()
Expand description
Clear an account’s identity info and all sub-accounts and return all deposits.
Payment: All reserved balances on the account are returned.
The dispatch origin for this call must be Signed and the sender must have a registered identity.
Emits IdentityCleared
if successful.
Complexity
O(R + S + X)
- where
R
registrar-count (governance-bounded). - where
S
subs-count (hard- and deposit-bounded). - where
X
additional-field-count (deposit-bounded and code-bounded).
- where
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::clear_identity
.