A pallet for atomically sending funds.
A pallet for atomically sending funds from an origin to a target. A proof is used to allow the target to approve (claim) the swap. If the swap is not claimed within a specified duration of time, the sender may cancel it.
pub use pallet::*;
palletmodule in each FRAME pallet hosts the most important items needed to construct this pallet.
- A swap action that only allows transferring balances.
- Pending atomic swap operation.
- Definition of a pending atomic swap action. It contains the following three phrases:
- Hashed proof type.