Structs§
- Namespace
Metadata - Metadata stored for each namespace
- Namespace
Path - Namespace
Pricing Config
Enums§
- Namespace
Ownership - Describes the ownership of the namespace.
Constants§
- MAX_
NAMESPACE_ PATH_ LENGTH - Number of total bytes a namespace path can contain. This might have to increase in the future, but is a good enough default value. If it ends up being formalized, the length can be described as a u8.
- MAX_
NAMESPACE_ SEGMENTS - Max number of segments in a path. In the common prefix case, an agent will have up to 8 levels of depth to use, 2 being allocated to the agent prefix notation.
- MAX_
SEGMENT_ LENGTH - Number of total bytes a segment can contain. 63 plus dot.
- NAMESPACE_
SEPARATOR
Functions§
- calculate_
cost - Calculates the total cost for registering, (Fee, Deposit)
- create_
namespace - delete_
namespace - find_
missing_ paths