Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type TestCrypto = C_Crypto
- data StandardCrypto
- data ShelleyEra c
- data MaryEra era
- data AllegraEra c
- type family Value era
- type family Script era = (r ∷ Type) | r → era
- type family TxBody era = (r ∷ Type) | r → era
- type family TxAuxData era = (r ∷ Type) | r → era
- class (Crypto (EraCrypto era), Typeable era, KnownNat (ProtVerLow era), KnownNat (ProtVerHigh era), ProtVerLow era <= ProtVerHigh era, MinVersion <= ProtVerLow era, MinVersion <= ProtVerHigh era, CmpNat (ProtVerLow era) MaxVersion ~ 'LT, CmpNat (ProtVerHigh era) MaxVersion ~ 'LT, ProtVerLow era <= MaxVersion, ProtVerHigh era <= MaxVersion) ⇒ Era era where
- type EraCrypto era
Documentation
type TestCrypto = C_Crypto Source #
data StandardCrypto Source #
The same crypto used on the net
Instances
Crypto StandardCrypto | |
Defined in Cardano.Ledger.Crypto type HASH StandardCrypto Source # type ADDRHASH StandardCrypto Source # type DSIGN StandardCrypto Source # type KES StandardCrypto Source # type VRF StandardCrypto Source # | |
PraosCrypto StandardCrypto | |
Defined in Cardano.Protocol.TPraos.API | |
type ADDRHASH StandardCrypto | |
Defined in Cardano.Ledger.Crypto | |
type DSIGN StandardCrypto | |
Defined in Cardano.Ledger.Crypto | |
type HASH StandardCrypto | |
Defined in Cardano.Ledger.Crypto | |
type KES StandardCrypto | |
Defined in Cardano.Ledger.Crypto | |
type VRF StandardCrypto | |
Defined in Cardano.Ledger.Crypto |
data ShelleyEra c Source #
Instances
Instances
data AllegraEra c Source #
The Allegra era
Instances
type family Value era Source #
A value is something which quantifies a transaction output.
Instances
type Value (AllegraEra _1) | |
Defined in Cardano.Ledger.Allegra.Era | |
type Value (AlonzoEra c) | |
Defined in Cardano.Ledger.Alonzo.Era | |
type Value (BabbageEra c) | |
Defined in Cardano.Ledger.Babbage.Era | |
type Value (ConwayEra c) | |
Defined in Cardano.Ledger.Conway.Era | |
type Value (MaryEra c) | |
Defined in Cardano.Ledger.Mary.Era | |
type Value (ShelleyEra _c) | |
Defined in Cardano.Ledger.Shelley.Era |
type family Script era = (r ∷ Type) | r → era Source #
Scripts which may lock transaction outputs in this era
Instances
type Script (AllegraEra c) | |
Defined in Cardano.Ledger.Allegra.Scripts | |
type Script (AlonzoEra c) | |
Defined in Cardano.Ledger.Alonzo.Scripts | |
type Script (BabbageEra c) | |
Defined in Cardano.Ledger.Babbage.Scripts | |
type Script (ConwayEra c) | |
Defined in Cardano.Ledger.Conway.Scripts | |
type Script (MaryEra c) | |
Defined in Cardano.Ledger.Mary.Scripts | |
type Script (ShelleyEra c) | |
Defined in Cardano.Ledger.Shelley.Scripts |
type family TxBody era = (r ∷ Type) | r → era Source #
The body of a transaction.
Instances
type TxBody (AllegraEra c) | |
Defined in Cardano.Ledger.Allegra.TxBody.Internal | |
type TxBody (AlonzoEra c) | |
Defined in Cardano.Ledger.Alonzo.TxBody.Internal | |
type TxBody (BabbageEra c) | |
Defined in Cardano.Ledger.Babbage.TxBody.Internal | |
type TxBody (ConwayEra c) | |
Defined in Cardano.Ledger.Conway.TxBody.Internal | |
type TxBody (MaryEra c) | |
Defined in Cardano.Ledger.Mary.TxBody.Internal | |
type TxBody (ShelleyEra c) | |
Defined in Cardano.Ledger.Shelley.TxBody |
type family TxAuxData era = (r ∷ Type) | r → era Source #
Instances
type TxAuxData (AllegraEra c) | |
Defined in Cardano.Ledger.Allegra.TxAuxData | |
type TxAuxData (AlonzoEra c) | |
Defined in Cardano.Ledger.Alonzo.TxAuxData | |
type TxAuxData (BabbageEra c) | |
Defined in Cardano.Ledger.Babbage.TxAuxData | |
type TxAuxData (ConwayEra c) | |
Defined in Cardano.Ledger.Conway.TxAuxData | |
type TxAuxData (MaryEra c) | |
Defined in Cardano.Ledger.Mary.TxAuxData | |
type TxAuxData (ShelleyEra c) | |
Defined in Cardano.Ledger.Shelley.TxAuxData |
class (Crypto (EraCrypto era), Typeable era, KnownNat (ProtVerLow era), KnownNat (ProtVerHigh era), ProtVerLow era <= ProtVerHigh era, MinVersion <= ProtVerLow era, MinVersion <= ProtVerHigh era, CmpNat (ProtVerLow era) MaxVersion ~ 'LT, CmpNat (ProtVerHigh era) MaxVersion ~ 'LT, ProtVerLow era <= MaxVersion, ProtVerHigh era <= MaxVersion) ⇒ Era era Source #
Instances
Crypto c ⇒ Era (AllegraEra c) | |
Defined in Cardano.Ledger.Allegra.Era type EraCrypto (AllegraEra c) Source # type PreviousEra (AllegraEra c) = (r ∷ Type) Source # type ProtVerLow (AllegraEra c) ∷ Nat Source # type ProtVerHigh (AllegraEra c) ∷ Nat Source # | |
Crypto c ⇒ Era (AlonzoEra c) | |
Crypto c ⇒ Era (BabbageEra c) | |
Defined in Cardano.Ledger.Babbage.Era type EraCrypto (BabbageEra c) Source # type PreviousEra (BabbageEra c) = (r ∷ Type) Source # type ProtVerLow (BabbageEra c) ∷ Nat Source # type ProtVerHigh (BabbageEra c) ∷ Nat Source # | |
Crypto c ⇒ Era (ConwayEra c) | |
Crypto c ⇒ Era (ByronEra c) | |
Crypto c ⇒ Era (MaryEra c) | |
Crypto c ⇒ Era (ShelleyEra c) | |
Defined in Cardano.Ledger.Shelley.Era type EraCrypto (ShelleyEra c) Source # type PreviousEra (ShelleyEra c) = (r ∷ Type) Source # type ProtVerLow (ShelleyEra c) ∷ Nat Source # type ProtVerHigh (ShelleyEra c) ∷ Nat Source # |