pub trait Locker<CollectionId, ItemId> {
    fn is_locked(collection: CollectionId, item: ItemId) -> bool;
}
Expand description

Trait to handle asset locking mechanism to ensure interactions with the asset can be implemented downstream to extend logic of Uniques current functionality.

Required Methods§

Check if the asset should be locked and prevent interactions with the asset from executing.

Implementations on Foreign Types§

Implementors§