karura
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":38}
ForeignAssetLocations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"xcm:v1:multilocation:MultiLocation","keys_id":38,"value_id":67}}
LocationToCurrencyIds{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"acala_primitives:currency:CurrencyId","keys_id":67,"value_id":44}}
AssetMetadatas{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"module_asset_registry:module:AssetMetadata","keys_id":38,"value_id":158}}
Erc20InfoMap{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"acala_primitives:evm:Erc20Info","keys_id":4,"value_id":515}}
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