referrerpolicy=no-referrer-when-downgrade

set_max_debt

Function set_max_debt 

Source
pub fn set_max_debt<T: Config>(
    internal_asset: T::AssetId,
    value: <<T as Config>::Fungibles as FungiblesInspect<<T as Config>::AccountId>>::Balance,
)
Expand description

Set the PSM debt ceiling per internal asset, shared across all approved external assets.

§Dispatch Origin

Must match the PSM instance’s full_admin; only the Full privilege level may use this call.

§Parameters

  • internal_asset: The PSM instance to configure.
  • value: The new absolute debt ceiling, in internal-asset units.

§Errors

§Events

§Warning: Doc-Only

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