Module pallet_atomic_swap::pallet::dispatchables
source · Expand description
Functions§
- Cancel an atomic swap. Only possible after the originally set duration has passed.
- Claim an atomic swap.
- Register a new atomic swap, declaring an intention to send funds from origin to target on the current blockchain. The target can claim the fund using the revealed proof. If the fund is not claimed after
duration
blocks, then the sender can cancel the swap.