ExUnitPrices

scalus.cardano.ledger.ExUnitPrices
case class ExUnitPrices(memPrice: NonNegativeInterval, stepPrice: NonNegativeInterval)

Represents execution unit prices in the Cardano blockchain.

ExUnitPrices define the cost of execution units in terms of the protocol's currency, with separate prices for memory usage and CPU steps.

Value parameters

memPrice

Price per memory unit

stepPrice

Price per step unit

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product