pub fn execute_redeem<T: Config>(
    redeem_id: H256,
    unchecked_transaction: FullTransactionProof
)
Expand description

A Vault calls this function after receiving an RequestRedeem event with their public key. Before calling the function, the Vault transfers the specific amount of BTC to the BTC address given in the original redeem request. The Vault completes the redeem with this function.

Arguments

  • origin - anyone executing this redeem request
  • redeem_id - identifier of redeem request as output from request_redeem
  • tx_id - transaction hash
  • merkle_proof - membership proof
  • transaction - tx containing payment

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::execute_redeem.