Function pallet_identity::pallet::dispatchables::set_account_id
source · pub fn set_account_id<T: Config>(
index: RegistrarIndex,
new: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description
Change the account associated with a registrar.
The dispatch origin for this call must be Signed and the sender must be the account
of the registrar whose index is index
.
index
: the index of the registrar whose fee is to be set.new
: the new account ID.
Complexity
O(R)
.- where
R
registrar-count (governance-bounded).
- where
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_account_id
.