Name | Lookup | Parameters | |
|---|---|---|---|
| register_asset | 9700 | 2 | |
| update_asset | 9701 | 7 |
Name | Lookup | Attributes | |
|---|---|---|---|
| RegisteredAsset | 9700 | ["AssetId","AssetMetadata<Balance, CustomMetadata, StringLimit>"] | |
| UpdatedAsset | 9701 | ["AssetId","AssetMetadata<Balance, CustomMetadata, StringLimit>"] |
Name | Type | |
|---|---|---|
| Metadata | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["cfg_types:tokens:CurrencyId"],"value":"orml_traits:asset_registry:AssetMetadata","keys_id":223,"value_id":447}} | |
| LocationToAssetId | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["staging_xcm:v3:multilocation:MultiLocation"],"value":"cfg_types:tokens:CurrencyId","keys_id":316,"value_id":223}} | |
| LastAssetId | {"origin":"PlainType","plain_type":"cfg_types:tokens:CurrencyId","PlainTypeValue":223} |
Name | Type | Value | |
|---|---|---|---|
| StringLimit | U32 | 80000000 |
Name | Docs |
|---|---|
| AssetNotFound | Asset was not found. |
| BadVersion | The version of the `VersionedLocation` value used is not ableto be interpreted. |
| InvalidAssetId | The asset id is invalid. |
| ConflictingLocation | Another asset was already register with this location. |
| ConflictingAssetId | Another asset was already register with this asset id. |
| InvalidAssetString | Name or symbol is too long. |