basilisk
subscan
Runtime Modules / AssetRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
register05003
update05014
set_metadata05023
set_location05032
Events
Name
Lookup
Attributes
Registered0500["AssetId","BoundedVec<u8, StringLimit>","AssetType<AssetId>"]
Updated0501["AssetId","BoundedVec<u8, StringLimit>","AssetType<AssetId>"]
MetadataSet0502["AssetId","BoundedVec<u8, StringLimit>","u8"]
LocationSet0503["AssetId","AssetNativeLocation"]
Storage Functions
Name
Type
Assets{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_asset_registry:types:AssetDetails","keys_id":4,"value_id":158}}
NextAssetId{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
AssetIds{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U32","keys_id":32,"value_id":4}}
AssetLocations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"xcm:v1:multilocation:MultiLocation","keys_id":4,"value_id":34}}
LocationAssets{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"U32","keys_id":34,"value_id":4}}
AssetMetadataMap{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_asset_registry:types:AssetMetadata","keys_id":4,"value_id":159}}
Constants
Name
Type
Value
NativeAssetIdU3200000000
Error Types
Name
Docs
NoIdAvailableAsset Id is not available. This only happens when it reaches the MAX value of given id type.
AssetNotFoundInvalid asset name or symbol.
TooLongInvalid asset name or symbol.
AssetNotRegisteredAsset ID is not registered in the asset-registry.
AssetAlreadyRegisteredAsset is already registered.
InvalidSharedAssetLenIncorrect number of assets provided to create shared asset.