pub fn create_provider_via_governance_v2<T: Config>(
provider_key: T::AccountId,
payload: ProviderRegistryEntry<T::MaxProviderNameSize, T::MaxLanguageCodeSize, T::MaxLogoCidSize, T::MaxLocaleCount>,
)Expand description
Create a provider by means of governance approval
§Events
§Errors
Error::NoKeyExists- account does not have an MSAError::DuplicateProviderRegistryEntry- a ProviderRegistryEntry associated with the given MSA id already exists.Error::InvalidCid- If the provided CID is invalid.Error::InvalidBCP47LanguageCode- If the provided BCP 47 language code is invalid.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::create_provider_via_governance_v2.