pub fn force_asset_status<T: Config<I>, I: 'static>(
    id: T::AssetIdParameter,
    owner: <<T as Config>::Lookup as StaticLookup>::Source,
    issuer: <<T as Config>::Lookup as StaticLookup>::Source,
    admin: <<T as Config>::Lookup as StaticLookup>::Source,
    freezer: <<T as Config>::Lookup as StaticLookup>::Source,
    min_balance: T::Balance,
    is_sufficient: bool,
    is_frozen: bool
)
Expand description

Alter the attributes of a given asset.

Origin must be ForceOrigin.

  • id: The identifier of the asset.
  • owner: The new Owner of this asset.
  • issuer: The new Issuer of this asset.
  • admin: The new Admin of this asset.
  • freezer: The new Freezer of this asset.
  • min_balance: The minimum balance of this new asset that any single account must have. If an account’s balance is reduced below this, then it collapses to zero.
  • is_sufficient: Whether a non-zero balance of this asset is deposit of sufficient value to account for the state bloat associated with its balance storage. If set to true, then non-zero balances may be stored without a consumer reference (and thus an ED in the Balances pallet or whatever else is used to control user-account state growth).
  • is_frozen: Whether this asset class is frozen except for permissioned/admin instructions.

Emits AssetStatusChanged with the identity of the asset.

Weight: O(1)

Warning: Doc-Only

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