penumbra_asset

Module asset

Source
Expand description

Asset types and identifiers.

Structs§

AssetIdVar
Cache
On-chain data structures only record a fixed-size Id, so this type allows caching known [BaseDenom]s.
Denom
An asset denomination.
Id
An identifier for an IBC asset type.
Metadata
An asset denomination’s metadata.
Registry
A registry of known assets, providing metadata related to a denomination string.
Unit
A unit of some asset denomination.

Statics§

REGISTRY
A fixed registry of known asset families.
VALUE_GENERATOR_DOMAIN_SEP
The domain separator used to hash asset ids to value generators.