MachineParams

scalus.uplc.eval.MachineParams
See theMachineParams companion class
object MachineParams

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited 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

Creates MachineParams from a Blockfrost protocol parameters JSON.

Creates MachineParams from a Blockfrost protocol parameters JSON.

Value parameters

json

The Blockfrost protocol parameters JSON

plutus

The plutus version

Attributes

Returns

The machine parameters

Creates MachineParams from a Cardano CLI protocol parameters JSON.

Creates MachineParams from a Cardano CLI protocol parameters JSON.

Value parameters

json

The Cardano CLI protocol parameters JSON

plutus

The plutus version

Attributes

Returns

The machine parameters

Creates MachineParams from a ProtocolParams and a PlutusLedgerLanguage

Creates MachineParams from a ProtocolParams and a PlutusLedgerLanguage

Attributes

Concrete fields

The default machine parameters.

The default machine parameters.

Attributes

Note

The default machine parameters use machine costs and builtin cost model that may be outdated, making budget calculation not precise. Please use fromCardanoCliProtocolParamsJson etc to create machine parameters with the latest costs.