Function pallet_nfts::pallet::dispatchables::cancel_swap
source · pub fn cancel_swap<T: Config<I>, I: 'static>(
offered_collection: T::CollectionId,
offered_item: T::ItemId,
)
Expand description
Cancel an atomic swap.
Origin must be Signed.
Origin must be an owner of the item
if the deadline hasn’t expired.
collection
: The collection of the item.item
: The item an owner wants to give.
Emits SwapCancelled
on success.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::cancel_swap
.