subscan
Runtime Modules / OrmlAssetRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
register_asset97002
update_asset97017
Events
Name
Lookup
Attributes
RegisteredAsset9700["AssetId","AssetMetadata<Balance, CustomMetadata>"]
UpdatedAsset9701["AssetId","AssetMetadata<Balance, CustomMetadata>"]
Storage Functions
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":176}}
LocationToAssetId{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"cfg_types:tokens:CurrencyId","keys_id":135,"value_id":75}}
LastAssetId{"origin":"PlainType","plain_type":"cfg_types:tokens:CurrencyId","PlainTypeValue":75}
Error Types
Name
Docs
AssetNotFoundAsset was not found.
BadVersionThe version of the `VersionedMultiLocation` value used is not ableto be interpreted.
InvalidAssetIdThe asset id is invalid.
ConflictingLocationAnother asset was already register with this location.
ConflictingAssetIdAnother asset was already register with this asset id.