Function pallet_assets::pallet::dispatchables::force_create
source · pub fn force_create<T: Config<I>, I: 'static>(
id: T::AssetIdParameter,
owner: <<T as Config>::Lookup as StaticLookup>::Source,
is_sufficient: bool,
min_balance: T::Balance,
)
Expand description
Issue a new class of fungible assets from a privileged origin.
This new asset class has no assets initially.
The origin must conform to ForceOrigin
.
Unlike create
, no funds are reserved.
id
: The identifier of the new asset. This must not be currently in use to identify an existing asset. IfNextAssetId
is set, then this must be equal to it.owner
: The owner of this class of assets. The owner has full superuser permissions over this asset, but may later change and configure the permissions usingtransfer_ownership
andset_team
.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.
Emits ForceCreated
event when successful.
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_create
.