Crates.io | orml-asset-registry |
lib.rs | orml-asset-registry |
version | 1.1.0 |
source | src |
created_at | 2023-11-07 22:25:07.733373 |
updated_at | 2024-12-10 00:29:37.725879 |
description | Registry for (foreign) assets |
homepage | |
repository | https://github.com/open-web3-stack/open-runtime-module-library/tree/master/asset-registry |
max_upload_size | |
id | 1028494 |
size | 67,632 |
This module provides functionality for storing asset metadata. For each asset, it stores the number of decimals, asset name, asset symbol, existential deposit and (optional) location. Additionally, it stores a value of a generic type that chains can use to store any other metadata that the parachain may need (such as the fee rate, for example). It is designed to be easy to integrate into xcm setups. Various default implementations are provided for this purpose.
The pallet only contains two extrinsics, register_asset
and update_asset
:
register_asset
creates a new assetupdate_asset
modifies some (or all) of the fields of an existing asset