Function pallet_uniques::pallet::dispatchables::force_create
source · pub fn force_create<T: Config<I>, I: 'static>(
collection: T::CollectionId,
owner: <<T as Config>::Lookup as StaticLookup>::Source,
free_holding: bool,
)
Expand description
Issue a new collection of non-fungible items from a privileged origin.
This new collection has no items initially.
The origin must conform to ForceOrigin
.
Unlike create
, no funds are reserved.
collection
: The identifier of the new item. This must not be currently in use.owner
: The owner of this collection of items. The owner has full superuser permissions over this item, but may later change and configure the permissions usingtransfer_ownership
andset_team
.
Emits ForceCreated
event when successful.
Weight: O(1)
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_create
.