Function loans::pallet::dispatchables::borrow   
source · pub fn borrow<T: Config>(
    asset_id: <T as Config>::CurrencyId,
    borrow_amount: <T as Config>::Balance
)Expand description
The caller borrows borrow_amount of asset_id from the protocol, using their
supplied assets as collateral.
asset_id: the asset to be borrowed.borrow_amount: the amount to be borrowed.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::borrow.