referrerpolicy=no-referrer-when-downgrade

Function pallet_assets::pallet::dispatchables::set_min_balance

source ·
pub fn set_min_balance<T: Config<I>, I: 'static>(
    id: T::AssetIdParameter,
    min_balance: T::Balance,
)
Expand description

Sets the minimum balance of an asset.

Only works if there aren’t any accounts that are holding the asset or if the new value of min_balance is less than the old one.

Origin must be Signed and the sender has to be the Owner of the asset id.

  • id: The identifier of the asset.
  • min_balance: The new value of min_balance.

Emits AssetMinBalanceChanged event when successful.

§Warning: Doc-Only

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