Module levana_perpswap_cosmos::number::ratio
source · Expand description
Provides specialized types that define a ratio that must be within a specific range. This can be helpful when defining an interface that contains a ratio represented by a decimal but the ratio is logically constrained by specific bounds.
Structs§
- Represents a ratio between 0 and 1 inclusive