subscan
Runtime Modules / ForeignAssets
Spec Version:
Call Functions
Name
Lookup
Parameters
register_foreign_asset50003
update_foreign_asset50013
Events
Name
Lookup
Attributes
ForeignAssetRegistered5000["ForeignAssetId","MultiLocation","AssetMetadata<BalanceOf>"]
ForeignAssetUpdated5001["ForeignAssetId","MultiLocation","AssetMetadata<BalanceOf>"]
AssetRegistered5002["AssetId","AssetMetadata<BalanceOf>"]
AssetUpdated5003["AssetId","AssetMetadata<BalanceOf>"]
Storage Functions
Name
Type
NextForeignAssetId{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ForeignAssetLocations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"staging_xcm:v3:multilocation:MultiLocation","keys_id":4,"value_id":53}}
LocationToCurrencyIds{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["staging_xcm:v3:multilocation:MultiLocation"],"value":"U32","keys_id":53,"value_id":4}}
AssetMetadatas{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["pallet_foreign_assets:AssetId"],"value":"pallet_foreign_assets:module:AssetMetadata","keys_id":67,"value_id":334}}
AssetBinding{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U32","keys_id":4,"value_id":290}}
Error Types
Name
Docs
BadLocationThe given location could not be used (e.g. because it cannot be expressed in thedesired version of XCM).
MultiLocationExistedMultiLocation existed
AssetIdNotExistsAssetId not exists
AssetIdExistedAssetId exists