pub fn create_intent_group_via_governance<T: Config>(
creator_key: T::AccountId,
intent_group_name: SchemaNamePayload,
intent_ids: BoundedVec<IntentId, T::MaxIntentsPerIntentGroup>,
)Expand description
Create an IntentGroup by means of council approval
§Events
§Errors
Error::IntentGroupCountOverflow- The Intent Group count has exceeded its boundsError::NameAlreadyExists- The name already exists.Error::InvalidSchemaNameEncoding- The name has an invalid encoding.Error::InvalidSchemaNameCharacters- The name contains invalid characters.Error::InvalidSchemaNameStructure- The name has an invalid structure (i.e., notprotocol.descriptor).Error::InvalidSchemaNameLength- The name exceeds the allowed overall name length.Error::InvalidSchemaNamespaceLength- The protocol portion of the name exceeds the max allowed length.Error::InvalidSchemaDescriptorLength- The descriptor portion of the name exceeds the max allowed length.Error::InvalidIntentId- At least one of the specified [IntentId]s does not exist
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::create_intent_group_via_governance.