subscan
Runtime Modules / AssetRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
register_foreign_asset72002
update_foreign_asset72013
Events
Name
Lookup
Attributes
ForeignAssetRegistered7200["ForeignAssetId","MultiLocation","AssetMetadata<BalanceOf>"]
ForeignAssetUpdated7201["ForeignAssetId","MultiLocation","AssetMetadata<BalanceOf>"]
AssetRegistered7202["AssetIds","AssetMetadata<BalanceOf>"]
AssetUpdated7203["AssetIds","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":"xcm:v1:multilocation:MultiLocation","keys_id":4,"value_id":59}}
LocationToCurrencyIds{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"node_primitives:currency:CurrencyId","keys_id":59,"value_id":116}}
AssetMetadatas{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["bifrost_asset_registry:pallet:AssetIds"],"value":"bifrost_asset_registry:pallet:AssetMetadata","keys_id":147,"value_id":146}}
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