Disallows changing the metadata or attributes of the item.
Origin must be either ForceOrigin or Signed and the sender should be the Admin
of the collection.
collection: The collection if the item.
item: An item to be locked.
lock_metadata: Specifies whether the metadata should be locked.
lock_attributes: Specifies whether the attributes in the CollectionOwner namespace
should be locked.
Note: lock_attributes affects the attributes in the CollectionOwner namespace only.
When the metadata or attributes are locked, it won't be possible the unlock them.
Disallows changing the metadata or attributes of the item.
Origin must be either
ForceOriginor Signed and the sender should be the Admin of thecollection.collection: The collection if theitem.item: An item to be locked.lock_metadata: Specifies whether the metadata should be locked.lock_attributes: Specifies whether the attributes in theCollectionOwnernamespace should be locked.Note:
lock_attributesaffects the attributes in theCollectionOwnernamespace only. When the metadata or attributes are locked, it won't be possible the unlock them.Emits
ItemPropertiesLocked.Weight:
O(1)