referrerpolicy=no-referrer-when-downgrade

Function register_token

Source
pub fn register_token<T: Config>(
    asset_id: Box<VersionedLocation>,
    metadata: AssetMetadata,
    fee_asset: Asset,
)
Expand description

Initiates the registration for a Polkadot-native token as a wrapped ERC20 token on Ethereum.

  • asset_id: Location of the asset
  • metadata: Metadata to include in the instantiated ERC20 contract on Ethereum

All origins are allowed, however asset_id must be a location nested within the origin consensus system.

§Warning: Doc-Only

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