Function pallet_atomic_swap::pallet::dispatchables::claim_swap
source · pub fn claim_swap<T: Config>(proof: Vec<u8>, action: T::SwapAction)
Expand description
Claim an atomic swap.
The dispatch origin for this call must be Signed.
proof
: Revealed proof of the claim.action
: Action defined in the swap, it must match the entry in blockchain. Otherwise the operation fails. This is used for weight calculation.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::claim_swap
.