Function pallet_atomic_swap::source ·
pallet:: dispatchables:: cancel_swap
pub fn cancel_swap<T: Config>(target: T::AccountId, hashed_proof: HashedProof)
Cancel an atomic swap. Only possible after the originally set duration has passed.
The dispatch origin for this call must be Signed.
target: Target of the original atomic swap.
hashed_proof: Hashed proof of the original atomic swap.
NOTE: This function is an automatically generated, doc only, uncallable stub.
designed to document the
cancel_swap variant of
Call enum. You should not attempt to call this function