Function pallet_nfts::pallet::dispatchables::force_create
source · pub fn force_create<T: Config<I>, I: 'static>(
owner: <<T as SystemConfig>::Lookup as StaticLookup>::Source,
config: CollectionConfig<<<T as Config<I>>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance, BlockNumberFor<T>, <T as Config<I>>::CollectionId>
)
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.
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
.