module Plutus.V1.Ledger.ProtocolVersions where

import Plutus.ApiCommon

-- Based on https://github.com/input-output-hk/cardano-ledger/wiki/First-Block-of-Each-Era

shelleyPV :: ProtocolVersion
shelleyPV :: ProtocolVersion
shelleyPV = Int -> Int -> ProtocolVersion
ProtocolVersion Int
2 Int
0

allegraPV :: ProtocolVersion
allegraPV :: ProtocolVersion
allegraPV = Int -> Int -> ProtocolVersion
ProtocolVersion Int
3 Int
0

maryPV :: ProtocolVersion
maryPV :: ProtocolVersion
maryPV = Int -> Int -> ProtocolVersion
ProtocolVersion Int
4 Int
0

alonzoPV :: ProtocolVersion
alonzoPV :: ProtocolVersion
alonzoPV = Int -> Int -> ProtocolVersion
ProtocolVersion Int
5 Int
0

vasilPV :: ProtocolVersion
vasilPV :: ProtocolVersion
vasilPV = Int -> Int -> ProtocolVersion
ProtocolVersion Int
7 Int
0