referrerpolicy=no-referrer-when-downgrade

Function pallet_identity::pallet::dispatchables::add_sub

source ·
pub fn add_sub<T: Config>(
    sub: <<T as Config>::Lookup as StaticLookup>::Source,
    data: Data,
)
Expand description

Add the given account to the sender’s subs.

Payment: Balance reserved by a previous set_subs call for one sub will be repatriated to the sender.

The dispatch origin for this call must be Signed and the sender must have a registered sub identity of sub.

§Warning: Doc-Only

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