Function pallet_atomic_swap::pallet::dispatchables::cancel_swap
source · pub fn cancel_swap<T: Config>(target: T::AccountId, hashed_proof: HashedProof)
Expand description
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
the pallet Call
enum. You should not attempt to call this function
directly.