subscan
Runtime Modules / OrmlAssetRegistry
Spec Version:
Call Functions
Name
Lookup
Parameters
register_asset98002
update_asset98017
Events
Name
Lookup
Attributes
RegisteredAsset9800["AssetId","AssetMetadata<Balance, CustomMetadata>"]
UpdatedAsset9801["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":70,"value_id":124}}
LocationToAssetId{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["xcm:v1:multilocation:MultiLocation"],"value":"cfg_types:tokens:CurrencyId","keys_id":79,"value_id":70}}
LastAssetId{"origin":"PlainType","plain_type":"cfg_types:tokens:CurrencyId","PlainTypeValue":70}
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.