Function issue::pallet::dispatchables::request_issue
source · pub fn request_issue<T: Config>(
amount: <T as Config>::Balance,
vault_id: VaultId<<T as Config>::AccountId, CurrencyId<T>>,
griefing_currency: CurrencyId<T>
)
Expand description
Request the issuance of tokens
Arguments
origin
- sender of the transactionamount
- amount of BTC the user wants to convert to issued tokens. Note that the amount of issued tokens received will be less, because a fee is subtracted.vault
- address of the vaultgriefing_collateral
- amount of collateral
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::request_issue
.