Function pallet_nfts::pallet::dispatchables::lock_item_transfer
source · pub fn lock_item_transfer<T: Config<I>, I: 'static>(
collection: T::CollectionId,
item: T::ItemId,
)
Expand description
Disallow further unprivileged transfer of an item.
Origin must be Signed and the sender should be the Freezer of the collection
.
collection
: The collection of the item to be changed.item
: The item to become non-transferable.
Emits ItemTransferLocked
.
Weight: O(1)
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::lock_item_transfer
.