PlutusLanguageVersion

class cometa.scripts.plutus_scripts.plutus_language_version.PlutusLanguageVersion(value)[source]

Bases: IntEnum

Plutus script language version.

The Cardano ledger tags scripts with a language that determines what the ledger will do with the script. These versions correspond to different Plutus language versions introduced in different hard forks.

V1 = 0

V1 was the initial version of Plutus, introduced in the Alonzo hard fork.

V2 = 1

V2 was introduced in the Vasil hard fork with extended ScriptContext.

V3 = 2

V3 was introduced in the Conway hard fork with governance features.