referrerpolicy=no-referrer-when-downgrade

Function pallet_assets::pallet::dispatchables::freeze_asset

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

Disallow further unprivileged transfers for the asset class.

Origin must be Signed and the sender should be the Freezer of the asset id.

  • id: The identifier of the asset to be frozen.

Emits Frozen.

Weight: O(1)

§Warning: Doc-Only

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