-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Pallet-Uniques: Privileged User Actions #13171
Comments
|
P. S. I think it's better to add all those changes to the nfts pallet, while keeping the uniques pallet working in an old way to avoid breaking existing integrations |
Sounds fine
Also sounds fine. Especially, given the fact, that otherwise, ownership of an NFT means nothing with respect to representing some permanent ownership of something.
Are you referring to the |
I'm referring to the |
Isn't it a bit confusing to have it refer to itself? What is the advantage here over extending the |
Anyways, don't want to criticize the design here. My main reasoning here is to solve the behaviour of uniques/nfts with respect to ensuring locked/owned nfts are not removed by destroying a class. |
Currently the pallet-uniques allow the following action for privileged accounts of a collection:
IMO for downstream users of this pallet as an implementor of the traits
nonfungibles::*
this has some negative impact about the assumption one will likely make:Maybe Solutions
Lock
orHold
as part ofnonfungibles::Mutate
& destroying a collection is not allowed if any item is still locked/on holdThe text was updated successfully, but these errors were encountered: