referrerpolicy=no-referrer-when-downgrade

Function set_reserves

Source
pub fn set_reserves<T: Config<I>, I: 'static>(
    id: T::AssetIdParameter,
    reserves: Vec<T::ReserveData>,
)
Expand description

Sets the trusted reserve information of an asset.

Origin must be the Owner of the asset id. The origin must conform to the configured CreateOrigin or be the signed owner configured during asset creation.

  • id: The identifier of the asset.
  • reserves: The full list of trusted reserves information.

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_reserves.