Attributes
Members list
Type members
Classlikes
Cats Group instance for ExUnits, allowing algebraic operations including negative values
Cats Group instance for ExUnits, allowing algebraic operations including negative values
Attributes
- Supertypes
- Self type
-
given_Group_ExUnits.type
Pretty prints ExUnits as [memory/steps] with millions highlighted
Pretty prints ExUnits as [memory/steps] with millions highlighted
Attributes
- Supertypes
- Self type
-
given_Pretty_ExUnits.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Givens
Givens
CBOR decoder for ExUnits with validation for non-negative values
CBOR decoder for ExUnits with validation for non-negative values
Attributes
CBOR encoder for ExUnits
CBOR encoder for ExUnits
Attributes
FromData instance for ExUnits. Decodes from array [memory, steps]
FromData instance for ExUnits. Decodes from array [memory, steps]
Attributes
Cats Group instance for ExUnits, allowing algebraic operations including negative values
Cats Group instance for ExUnits, allowing algebraic operations including negative values
Attributes
Pretty prints ExUnits as [memory/steps] with millions highlighted
Pretty prints ExUnits as [memory/steps] with millions highlighted
Attributes
ToData instance for ExUnits. Encodes as array [memory, steps]
ToData instance for ExUnits. Encodes as array [memory, steps]
Attributes
Deprecated givens
Lexicographic, memory-first ordering.
Lexicographic, memory-first ordering.
Attributes
- Deprecated
-
[Since version 1.0.0]ExUnits is only partially ordered; this ordering is wrong for budget checks. Use fitsWithin/exceeds insteadExecution units are only partially ordered, so this total ordering answers budget questions incorrectly:
ExUnits(1, 999)compares as less thanExUnits(2, 1)even though it is far over on steps. Use ExUnits.fitsWithin or ExUnits.exceeds for budget checks. Kept only for sorting and for binary compatibility.