Function redeem::pallet::dispatchables::execute_redeem
source · 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 requestredeem_id
- identifier of redeem request as output from request_redeemtx_id
- transaction hashmerkle_proof
- membership prooftransaction
- 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
.