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.

NOTE: This function is an automatically generated, doc only, uncallable stub. designed to document the claim_swap variant of the pallet Call enum. You should not attempt to call this function directly.