Function pallet_nfts::pallet::dispatchables::create
source · pub fn create<T: Config<I>, I: 'static>(
admin: <<T as SystemConfig>::Lookup as StaticLookup>::Source,
config: CollectionConfigFor<T, I>,
)
Expand description
Issue a new collection of non-fungible items from a public origin.
This new collection has no items initially and its owner is the origin.
The origin must be Signed and the sender must have sufficient funds free.
CollectionDeposit
funds of sender are reserved.
Parameters:
admin
: The admin of this collection. The admin is the initial address of each member of the collection’s admin team.
Emits Created
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::create
.