altair
subscan
Runtime Modules / OrmlAssetRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
register_asset97002
update_asset97017
Events
Name
Lookup
Attributes
RegisteredAsset9700["AssetId","AssetMetadata<Balance, CustomMetadata, StringLimit>"]
UpdatedAsset9701["AssetId","AssetMetadata<Balance, CustomMetadata, StringLimit>"]
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":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}
Constants
Name
Type
Value
StringLimitU3280000000
Error Types
Name
Docs
AssetNotFoundAsset was not found.
BadVersionThe version of the `VersionedLocation` 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.
InvalidAssetStringName or symbol is too long.