Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ShelleyToMaryEra era where
- shelleyToMaryEraConstraints :: ShelleyToMaryEra era -> (ShelleyToMaryEraConstraints era => a) -> a
- shelleyToMaryEraToShelleyBasedEra :: ShelleyToMaryEra era -> ShelleyBasedEra era
- type ShelleyToMaryEraConstraints era = (HashAlgorithm (HASH (EraCrypto (ShelleyLedgerEra era))), Signable (VRF (EraCrypto (ShelleyLedgerEra era))) Seed, PraosProtocolSupportsNode (ConsensusProtocol era), ShelleyBlock (ConsensusProtocol era) (ShelleyLedgerEra era) ~ ConsensusBlockForEra era, ShelleyCompatible (ConsensusProtocol era) (ShelleyLedgerEra era), ADDRHASH (PraosProtocolSupportsNodeCrypto (ConsensusProtocol era)) ~ Blake2b_224, Crypto (EraCrypto (ShelleyLedgerEra era)), Era (ShelleyLedgerEra era), EraCrypto (ShelleyLedgerEra era) ~ StandardCrypto, EraPParams (ShelleyLedgerEra era), EraTx (ShelleyLedgerEra era), EraTxBody (ShelleyLedgerEra era), EraTxOut (ShelleyLedgerEra era), HashAnnotated (TxBody (ShelleyLedgerEra era)) EraIndependentTxBody StandardCrypto, ProtVerAtMost (ShelleyLedgerEra era) 4, ProtVerAtMost (ShelleyLedgerEra era) 6, ProtVerAtMost (ShelleyLedgerEra era) 8, ShelleyEraTxBody (ShelleyLedgerEra era), ShelleyEraTxCert (ShelleyLedgerEra era), TxCert (ShelleyLedgerEra era) ~ ShelleyTxCert (ShelleyLedgerEra era), FromCBOR (ChainDepState (ConsensusProtocol era)), FromCBOR (DebugLedgerState era), IsCardanoEra era, IsShelleyBasedEra era, ToJSON (DebugLedgerState era), Typeable era)
Documentation
data ShelleyToMaryEra era where Source #
ShelleyToMaryEraShelley :: ShelleyToMaryEra ShelleyEra | |
ShelleyToMaryEraAllegra :: ShelleyToMaryEra AllegraEra | |
ShelleyToMaryEraMary :: ShelleyToMaryEra MaryEra |
Instances
Eon ShelleyToMaryEra Source # | |
Defined in Cardano.Api.Eon.ShelleyToMaryEra inEonForEra :: a -> (ShelleyToMaryEra era -> a) -> CardanoEra era -> a Source # | |
ToCardanoEra ShelleyToMaryEra Source # | |
Defined in Cardano.Api.Eon.ShelleyToMaryEra toCardanoEra :: ShelleyToMaryEra era -> CardanoEra era Source # | |
Convert ShelleyToMaryEra ShelleyBasedEra Source # | |
Defined in Cardano.Api.Eon.ShelleyToMaryEra convert :: ShelleyToMaryEra era -> ShelleyBasedEra era Source # | |
Convert ShelleyToMaryEra CardanoEra Source # | |
Defined in Cardano.Api.Eon.ShelleyToMaryEra convert :: ShelleyToMaryEra era -> CardanoEra era Source # | |
Show (ShelleyToMaryEra era) Source # | |
Defined in Cardano.Api.Eon.ShelleyToMaryEra | |
Eq (ShelleyToMaryEra era) Source # | |
Defined in Cardano.Api.Eon.ShelleyToMaryEra (==) :: ShelleyToMaryEra era -> ShelleyToMaryEra era -> Bool Source # (/=) :: ShelleyToMaryEra era -> ShelleyToMaryEra era -> Bool Source # |
shelleyToMaryEraConstraints :: ShelleyToMaryEra era -> (ShelleyToMaryEraConstraints era => a) -> a Source #
shelleyToMaryEraToShelleyBasedEra :: ShelleyToMaryEra era -> ShelleyBasedEra era Source #
Deprecated: Use convert
instead.
type ShelleyToMaryEraConstraints era = (HashAlgorithm (HASH (EraCrypto (ShelleyLedgerEra era))), Signable (VRF (EraCrypto (ShelleyLedgerEra era))) Seed, PraosProtocolSupportsNode (ConsensusProtocol era), ShelleyBlock (ConsensusProtocol era) (ShelleyLedgerEra era) ~ ConsensusBlockForEra era, ShelleyCompatible (ConsensusProtocol era) (ShelleyLedgerEra era), ADDRHASH (PraosProtocolSupportsNodeCrypto (ConsensusProtocol era)) ~ Blake2b_224, Crypto (EraCrypto (ShelleyLedgerEra era)), Era (ShelleyLedgerEra era), EraCrypto (ShelleyLedgerEra era) ~ StandardCrypto, EraPParams (ShelleyLedgerEra era), EraTx (ShelleyLedgerEra era), EraTxBody (ShelleyLedgerEra era), EraTxOut (ShelleyLedgerEra era), HashAnnotated (TxBody (ShelleyLedgerEra era)) EraIndependentTxBody StandardCrypto, ProtVerAtMost (ShelleyLedgerEra era) 4, ProtVerAtMost (ShelleyLedgerEra era) 6, ProtVerAtMost (ShelleyLedgerEra era) 8, ShelleyEraTxBody (ShelleyLedgerEra era), ShelleyEraTxCert (ShelleyLedgerEra era), TxCert (ShelleyLedgerEra era) ~ ShelleyTxCert (ShelleyLedgerEra era), FromCBOR (ChainDepState (ConsensusProtocol era)), FromCBOR (DebugLedgerState era), IsCardanoEra era, IsShelleyBasedEra era, ToJSON (DebugLedgerState era), Typeable era) Source #