subscan
Runtime Modules / AssetRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
register_foreign_asset7a002
update_foreign_asset7a013
Events
Name
Lookup
Attributes
ForeignAssetRegistered7a00["ForeignAssetId","MultiLocation","AssetMetadata<BalanceOf>"]
ForeignAssetUpdated7a01["MultiLocation","AssetMetadata<BalanceOf>"]
Storage Functions
Name
Type
NextForeignAssetId{"origin":"PlainType","plain_type":"U16","PlainTypeValue":35}
ForeignAssetLocations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"xcm:v1:multilocation:MultiLocation","keys_id":35,"value_id":64}}
LocationToCurrencyIds{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"acala_primitives:currency:CurrencyId","keys_id":64,"value_id":41}}
AssetMetadatas{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"module_asset_registry:module:AssetMetadata","keys_id":35,"value_id":155}}
Erc20InfoMap{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"acala_primitives:evm:Erc20Info","keys_id":4,"value_id":513}}
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
ForeignAssetIdNotExistsForeignAssetId not exists
CurrencyIdExistedCurrencyId existed