13 releases (1 stable)
1.0.0 | Aug 1, 2024 |
---|---|
0.13.0 | Jun 26, 2024 |
0.12.0 | Jun 3, 2024 |
0.8.0 | Mar 18, 2024 |
0.6.7 | Nov 21, 2023 |
#11 in #fee
961 downloads per month
140KB
3.5K
SLoC
Asset Registry Module
Overview
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
Dependencies
~21–37MB
~622K SLoC