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 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

Creates default machine parameters for a given Plutus version and protocol version.

Creates default machine parameters for a given Plutus version and protocol version.

Value parameters

plutus

The plutus version

protocolVersion

The protocol version

Attributes

Returns

The machine parameters

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

Deprecated fields

The default machine parameters. Uses BuiltinSemanticsVariant.B

The default machine parameters. Uses BuiltinSemanticsVariant.B

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.

Deprecated
true