Function pallet_msa::pallet::dispatchables::create_provider_via_governance
source · pub fn create_provider_via_governance<T: Config>(
provider_key: T::AccountId,
provider_name: Vec<u8>
)
Expand description
Create a provider by means of governance approval
Events
Errors
Error::NoKeyExists
- account 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_via_governance
.