subscan
Runtime Modules / AssetRegistry
Spec Version:
Events
Name
Lookup
Attributes
AssetRegistered7200["AssetIds","AssetMetadata<BalanceOf>"]
AssetUpdated7201["AssetIds","AssetMetadata<BalanceOf>"]
CurrencyIdRegistered7202["CurrencyId","AssetMetadata<BalanceOf>"]
MultiLocationSet7203["CurrencyId","MultiLocation","Weight"]
Storage Functions
Name
Type
NextForeignAssetId{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
NextTokenId{"origin":"PlainType","plain_type":"U8","PlainTypeValue":2}
CurrencyIdToLocations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"xcm:v3:multilocation:MultiLocation","keys_id":130,"value_id":59}}
LocationToCurrencyIds{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["xcm:v3:multilocation:MultiLocation"],"value":"node_primitives:currency:CurrencyId","keys_id":59,"value_id":130}}
CurrencyIdToWeights{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"sp_weights:weight_v2:Weight","keys_id":130,"value_id":9}}
AssetMetadatas{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:AssetIds"],"value":"bifrost_asset_registry:pallet:AssetMetadata","keys_id":146,"value_id":147}}
CurrencyMetadatas{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["node_primitives:currency:CurrencyId"],"value":"bifrost_asset_registry:pallet:AssetMetadata","keys_id":130,"value_id":147}}
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
CurrencyIdNotExistsCurrencyId not exists
CurrencyIdExistedCurrencyId exists