Function redeem::pallet::dispatchables::mint_tokens_for_reimbursed_redeem
source · pub fn mint_tokens_for_reimbursed_redeem<T: Config>(
currency_pair: DefaultVaultCurrencyPair<T>,
redeem_id: H256
)
Expand description
Mint tokens for a redeem that was cancelled with reimburse=true. This is only possible if at the time of the cancel_redeem, the vault did not have sufficient collateral after being slashed to back the tokens that the user used to hold.
Arguments
origin
- the dispatch origin of this call (must be Root)redeem_id
- identifier of redeem request as output from request_redeem
Weight: O(1)
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::mint_tokens_for_reimbursed_redeem
.