pallet_nodle_uniques::pallet::dispatchables

Function update_extra_deposit_limit

Source
pub fn update_extra_deposit_limit<T: Config<I>, I: 'static>(
    collection: T::CollectionId,
    limit: BalanceOf<T, I>,
)
Expand description

Update extra deposit limit for a collection when it’s not against what is already reserved.

Only the collection owner can update this limit to a value higher than the total extra deposit for the collection currently.

Parameters:

  • collection: The identifier of the collection owned by the origin.
  • limit: The new 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 ExtraDepositLimitUpdated 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::update_extra_deposit_limit.