Function loans::pallet::dispatchables::update_rate_model
source · pub fn update_rate_model<T: Config>(
asset_id: <T as Config>::CurrencyId,
rate_model: InterestRateModel
)
Expand description
Updates the rate model of a stored market. Returns Err
if the market
currency does not exist or the rate model is invalid.
asset_id
: Market currencyrate_model
: The new rate model to set
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::update_rate_model
.