referrerpolicy=no-referrer-when-downgrade

Function register_token

Source
pub fn register_token<T: Config>(
    sender: Box<VersionedLocation>,
    asset_id: Box<VersionedLocation>,
    metadata: AssetMetadata,
    amount: u128,
)
Expand description

Registers a Polkadot-native token as a wrapped ERC20 token on Ethereum.

The system frontend pallet on AH proxies this call to BH.

  • sender: The original sender initiating the call on AH
  • asset_id: Location of the asset (relative to this chain)
  • metadata: Metadata to include in the instantiated ERC20 contract on Ethereum

§Warning: Doc-Only

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