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.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::cancel_swap
.