hydration
subscan
Runtime Modules / AssetRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
register33003
update33014
set_metadata33023
set_location33032
Events
Name
Lookup
Attributes
Registered3300["AssetId","BoundedVec<u8, StringLimit>","AssetType<AssetId>"]
Updated3301["AssetId","BoundedVec<u8, StringLimit>","AssetType<AssetId>"]
MetadataSet3302["AssetId","BoundedVec<u8, StringLimit>","u8"]
LocationSet3303["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":357}}
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":55,"value_id":4}}
AssetLocations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"xcm:v1:multilocation:MultiLocation","keys_id":4,"value_id":57}}
LocationAssets{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"U32","keys_id":57,"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":358}}
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.