Name | Lookup | Parameters | |
|---|---|---|---|
| register_asset | 9700 | 2 | |
| update_asset | 9701 | 7 |
Name | Lookup | Attributes | |
|---|---|---|---|
| RegisteredAsset | 9700 | ["AssetId","AssetMetadata<Balance, CustomMetadata>"] | |
| UpdatedAsset | 9701 | ["AssetId","AssetMetadata<Balance, CustomMetadata>"] |
Name | Type | |
|---|---|---|
| Metadata | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["cfg_types:tokens:CurrencyId"],"value":"orml_traits:asset_registry:AssetMetadata","keys_id":75,"value_id":186}} | |
| LocationToAssetId | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"cfg_types:tokens:CurrencyId","keys_id":145,"value_id":75}} | |
| LastAssetId | {"origin":"PlainType","plain_type":"cfg_types:tokens:CurrencyId","PlainTypeValue":75} |
Name | Docs |
|---|---|
| AssetNotFound | Asset was not found. |
| BadVersion | The version of the `VersionedMultiLocation` 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. |