pub fn create_application_via_governance<T: Config>(
provider_key: T::AccountId,
payload: ApplicationContext<T::MaxProviderNameSize, T::MaxLanguageCodeSize, T::MaxLogoCidSize, T::MaxLocaleCount>,
)
Expand description
Create application via governance approval
§Events
§Errors
Error::NoKeyExists
- account does not have an MSAError::DuplicateApplicationRegistryEntry
- an ApplicationRegistryEntry 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_application_via_governance
.