pub fn add_registrar<T: Config>(
    account: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description

Add a registrar to the system.

The dispatch origin for this call must be T::RegistrarOrigin.

  • account: the account of the registrar.

Emits RegistrarAdded if successful.

Complexity

  • O(R) where R registrar-count (governance-bounded and code-bounded).

Warning: Doc-Only

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