Function redeem::pallet::dispatchables::request_redeem
source · pub fn request_redeem<T: Config>(
amount_wrapped: <T as Config>::Balance,
btc_address: BtcAddress,
vault_id: VaultId<<T as Config>::AccountId, CurrencyId<T>>
)
Expand description
Initializes a request to burn issued tokens against a Vault with sufficient tokens. It will also ensure that the Parachain status is RUNNING.
Arguments
origin
- sender of the transactionamount
- amount of issued tokensbtc_address
- the address to receive BTCvault_id
- address of the vault
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::request_redeem
.