Function pallet_assets::pallet::dispatchables::block
source · pub fn block<T: Config<I>, I: 'static>(
id: T::AssetIdParameter,
who: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description
Disallow further unprivileged transfers of an asset id
to and from an account who
.
Origin must be Signed and the sender should be the Freezer of the asset id
.
id
: The identifier of the account’s asset.who
: The account to be unblocked.
Emits Blocked
.
Weight: O(1)
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::block
.