referrerpolicy=no-referrer-when-downgrade

Function pallet_assets::pallet::dispatchables::touch_other

source ·
pub fn touch_other<T: Config<I>, I: 'static>(
    id: T::AssetIdParameter,
    who: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description

Create an asset account for who.

A deposit will be taken from the signer account.

  • origin: Must be Signed by Freezer or Admin of the asset id; the signer account must have sufficient funds for a deposit to be taken.
  • id: The identifier of the asset for the account to be created.
  • who: The account to be created.

Emits Touched event when successful.

§Warning: Doc-Only

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