Trait polkadot_sdk_frame::traits::tokens::Locker
pub trait Locker<CollectionId, ItemId> {
// Required method
fn is_locked(collection: CollectionId, item: ItemId) -> bool;
}
Expand description
Trait to handle NFT locking mechanism to ensure interactions with the asset can be implemented downstream to extend logic of Uniques/Nfts current functionality.
Required Methods§
Object Safety§
This trait is not object safe.