Name | Lookup | Parameters | |
|---|---|---|---|
| register | 1d00 | 3 | |
| update | 1d01 | 4 | |
| set_metadata | 1d02 | 3 | |
| set_location | 1d03 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Registered | 1d00 | ||
| Updated | 1d01 | ||
| MetadataSet | 1d02 | ||
| LocationSet | 1d03 |
Name | Type | |
|---|---|---|
| Assets | {"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"AssetDetailsT","isLinked":false}} | |
| NextAssetId | {"origin":"PlainType","plain_type":"AssetId"} | |
| AssetIds | {"origin":"MapType","map_type":{"key":"BoundedVec<u8, StringLimit>","hasher":"Blake2_128Concat","value":"AssetId","isLinked":false}} | |
| AssetLocations | {"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"AssetNativeLocation","isLinked":false}} | |
| LocationAssets | {"origin":"MapType","map_type":{"key":"AssetNativeLocation","hasher":"Blake2_128Concat","value":"AssetId","isLinked":false}} | |
| AssetMetadataMap | {"origin":"MapType","map_type":{"key":"AssetId","hasher":"Twox64Concat","value":"AssetMetadata<BoundedVec<u8, StringLimit>>","isLinked":false}} |
Name | Type | Value | |
|---|---|---|---|
| NativeAssetId | AssetId | 0x00000000 |
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. |