Name | Lookup | Parameters | |
|---|---|---|---|
| register | 3300 | 7 | |
| update | 3301 | 5 | |
| 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>","Balance","Option<Balance>"] | |
| 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":464}} | |
| 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":62,"value_id":4}} | |
| AssetLocations | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"xcm:v3:multilocation:MultiLocation","keys_id":4,"value_id":64}} | |
| LocationAssets | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["xcm:v3:multilocation:MultiLocation"],"value":"U32","keys_id":64,"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":465}} |
Name | Type | Value | |
|---|---|---|---|
| SequentialIdStartAt | U32 | 40420f00 | |
| 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 |
| NotInReservedRange | Selected asset id is out of reserved range. |
| LocationAlreadyRegistered | Location already registered with different asset |