Function pallet_assets::pallet::dispatchables::set_team
source · pub fn set_team<T: Config<I>, I: 'static>(
id: T::AssetIdParameter,
issuer: <<T as Config>::Lookup as StaticLookup>::Source,
admin: <<T as Config>::Lookup as StaticLookup>::Source,
freezer: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description
Change the Issuer, Admin and Freezer of an asset.
Origin must be Signed and the sender should be the Owner of the asset id
.
id
: The identifier of the asset to be frozen.issuer
: The new Issuer of this asset.admin
: The new Admin of this asset.freezer
: The new Freezer of this asset.
Emits TeamChanged
.
Weight: O(1)
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_team
.