pub fn create_with_extra_deposit_limit<T: Config<I>, I: 'static>(
collection: T::CollectionId,
admin: <<T as Config>::Lookup as StaticLookup>::Source,
limit: BalanceOf<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 conform to the configured CreateOrigin
and have sufficient funds free.
ItemDeposit
funds of sender are reserved.
Parameters:
collection
: The identifier of the new collection. This must not be currently in use.admin
: The admin of this collection. The admin is the initial address of each member of the collection’s admin team.extra_deposit_limit
: The cap on the total amount of funds that an admin/issuer can reserve from the collection owner (origin of this call) while minting NFTs with extra deposit.
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_with_extra_deposit_limit
.