Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MachineParams.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
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
Concrete fields
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