Function loans::pallet::dispatchables::mint

source ·
pub fn mint<T: Config>(
    asset_id: <T as Config>::CurrencyId,
    mint_amount: <T as Config>::Balance
)
Expand description

The caller supplies (lends) assets into the market and receives a corresponding amount of lend tokens, at the current internal exchange rate.

  • asset_id: the asset to be deposited.
  • mint_amount: the amount to be deposited.

Warning: Doc-Only

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