pallet_schemas::pallet::dispatchables

Function create_schema_via_governance_v2

Source
pub fn create_schema_via_governance_v2<T: Config>(
    creator_key: T::AccountId,
    model: BoundedVec<u8, T::SchemaModelMaxBytesBoundedVecLimit>,
    model_type: ModelType,
    payload_location: PayloadLocation,
    settings: BoundedVec<SchemaSetting, T::MaxSchemaSettingsPerSchema>,
    schema_name: Option<SchemaNamePayload>,
)
Expand description

Create a schema by means of council approval

§Events

§Errors

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::create_schema_via_governance_v2.