Function loans::pallet::dispatchables::activate_market
source · pub fn activate_market<T: Config>(asset_id: <T as Config>::CurrencyId)
Expand description
Activates a market. Returns Err
if the market does not exist.
If the market is already active, does nothing.
asset_id
: Currency to enable lending and borrowing for.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::activate_market
.