pub fn create_provider<T: Config>(provider_name: Vec<u8>)Expand description
Adds an association between MSA id and ProviderRegistryEntry. As of now, the only piece of metadata we are recording is provider name.
§Events
§Errors
Error::NoKeyExists- origin does not have an MSAError::ExceedsMaxProviderNameSize- Too long of a provider nameError::DuplicateProviderRegistryEntry- a ProviderRegistryEntry associated with the given MSA id already exists.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::create_provider.