subscan
Runtime Modules / AssetRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
register64006
update64014
set_metadata64023
set_location64032
Events
Name
Lookup
Attributes
Registered6400["AssetId","BoundedVec<u8, StringLimit>","AssetType<AssetId>"]
Updated6401["AssetId","BoundedVec<u8, StringLimit>","AssetType<AssetId>"]
MetadataSet6402["AssetId","BoundedVec<u8, StringLimit>","u8"]
LocationSet6403["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":466}}
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":117,"value_id":4}}
AssetLocations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"xcm:v1:multilocation:MultiLocation","keys_id":4,"value_id":119}}
LocationAssets{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"U32","keys_id":119,"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":467}}
Constants
Name
Type
Value
SequentialIdStartAtU3240420f00
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.
CannotUpdateLocationCannot update asset location
NotInReservedRangeSelected asset id is out of reserved range.