Result

scalus.uplc.eval.Result
See theResult companion enum
object Result

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Result.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def showCosts(costs: Map[ExBudgetCategory, Seq[ExUnits]], prices: ExUnitPrices): String

Formats execution costs as an aligned table string.

Formats execution costs as an aligned table string.

Produces a human-readable table with columns for kind, count, memory, CPU, and fee, sorted by fee in descending order. Text columns are left-aligned, numeric columns are right-aligned.

Example output:

kind                   count      mem         cpu     fee
Apply                   1359   135900    21744000    9407
EqualsInteger            354    35400     5664000    2451

Value parameters

costs

Map of budget categories to their execution unit sequences

prices

Execution unit prices for fee calculation

Attributes

Returns

Formatted table string, or "No costs recorded" if costs map is empty