BuiltinCostModel

scalus.uplc.eval.BuiltinCostModel
See theBuiltinCostModel companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self 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 fromCostModelParams(plutus: PlutusLedgerLanguage, semvar: BuiltinSemanticsVariant, costModelParams: Map[String, Long]): BuiltinCostModel
def fromInputStream(input: InputStream): BuiltinCostModel

Read a BuiltinCostModel from an input stream of JSON

Read a BuiltinCostModel from an input stream of JSON

Value parameters

input

the input stream

Attributes

Returns

a BuiltinCostModel

def fromJsonString(json: String): BuiltinCostModel

Read a BuiltinCostModel from a string of JSON

Read a BuiltinCostModel from a string of JSON

Value parameters

json

the JSON string

Attributes

Returns

a BuiltinCostModel

Deprecated fields

Attributes

Deprecated
true

Givens