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 currency
  • rate_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.