This pallet provides the functionality to create, store and keep track of the existing assets on the chain.
Id of the core asset in the system.
Next asset id to be assigned for an asset. It is incremented each time a new asset is added to the registry.
Assets currently present in the system. It represents a mapping between the name of the asset and its id.
Asset registry provides one method which gets or creates an asset.
Given a name, the pallet checks whether an asset with the provided name already exists. If not, it generates next asset id and stores it in a map together with the name.