Name | Lookup | Parameters | |
|---|---|---|---|
| register | 3300 | 3 | |
| update | 3301 | 4 | |
| set_metadata | 3302 | 3 | |
| set_location | 3303 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Registered | 3300 | ["AssetId","BoundedVec<u8, StringLimit>","AssetType<AssetId>"] | |
| Updated | 3301 | ["AssetId","BoundedVec<u8, StringLimit>","AssetType<AssetId>"] | |
| MetadataSet | 3302 | ["AssetId","BoundedVec<u8, StringLimit>","u8"] | |
| LocationSet | 3303 | ["AssetId","AssetNativeLocation"] |
Name | Type | |
|---|---|---|
| Assets | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_asset_registry:types:AssetDetails","keys_id":4,"value_id":386}} | |
| 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":66,"value_id":4}} | |
| AssetLocations | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"xcm:v1:multilocation:MultiLocation","keys_id":4,"value_id":68}} | |
| LocationAssets | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"U32","keys_id":68,"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":387}} |
Name | Type | Value | |
|---|---|---|---|
| NativeAssetId | U32 | 00000000 |
Name | Docs |
|---|---|
| NoIdAvailable | Asset ID is not available. This only happens when it reaches the MAX value of given id type. |
| AssetNotFound | Invalid asset name or symbol. |
| TooLong | Invalid asset name or symbol. |
| AssetNotRegistered | Asset ID is not registered in the asset-registry. |
| AssetAlreadyRegistered | Asset is already registered. |
| InvalidSharedAssetLen | Incorrect number of assets provided to create shared asset. |
| CannotUpdateLocation | Cannot update asset location |