Function snowbridge_pallet_system::pallet::dispatchables::register_token
source · pub fn register_token<T: Config>(
location: Box<VersionedLocation>,
metadata: AssetMetadata,
)
Expand description
Registers a Polkadot-native token as a wrapped ERC20 token on Ethereum. Privileged. Can only be called by root.
Fee required: No
origin
: Must be rootlocation
: 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
.