CostModels

scalus.cardano.ledger.CostModels
case class CostModels(models: Map[Int, List[Long]])

Represents cost models for script languages in the Cardano blockchain.

Cost models define the execution costs of operations in different script languages. The keys are language identifiers (0 for Plutus V1, 1 for Plutus V2, 2 for Plutus V3), and the values are lists of integers representing operation costs.

Value parameters

models

Map from language identifiers to lists of operation costs

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