Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ShelleyToAllegraEra era where
- shelleyToAllegraEraConstraints :: ShelleyToAllegraEra era -> (ShelleyToAllegraEraConstraints era => a) -> a
- shelleyToAllegraEraToShelleyBasedEra :: ShelleyToAllegraEra era -> ShelleyBasedEra era
- type ShelleyToAllegraEraConstraints 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), EraUTxO (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), Value (ShelleyLedgerEra era) ~ Coin, FromCBOR (ChainDepState (ConsensusProtocol era)), FromCBOR (DebugLedgerState era), IsCardanoEra era, IsShelleyBasedEra era, ToJSON (DebugLedgerState era), Typeable era)
Documentation
data ShelleyToAllegraEra era where Source #
ShelleyToAllegraEraShelley :: ShelleyToAllegraEra ShelleyEra | |
ShelleyToAllegraEraAllegra :: ShelleyToAllegraEra AllegraEra |
Instances
Eon ShelleyToAllegraEra Source # | |
Defined in Cardano.Api.Eon.ShelleyToAllegraEra inEonForEra :: a -> (ShelleyToAllegraEra era -> a) -> CardanoEra era -> a Source # | |
ToCardanoEra ShelleyToAllegraEra Source # | |
Defined in Cardano.Api.Eon.ShelleyToAllegraEra toCardanoEra :: ShelleyToAllegraEra era -> CardanoEra era Source # | |
Convert ShelleyToAllegraEra ShelleyBasedEra Source # | |
Defined in Cardano.Api.Eon.ShelleyToAllegraEra convert :: ShelleyToAllegraEra era -> ShelleyBasedEra era Source # | |
Convert ShelleyToAllegraEra CardanoEra Source # | |
Defined in Cardano.Api.Eon.ShelleyToAllegraEra convert :: ShelleyToAllegraEra era -> CardanoEra era Source # | |
Show (ShelleyToAllegraEra era) Source # | |
Defined in Cardano.Api.Eon.ShelleyToAllegraEra | |
Eq (ShelleyToAllegraEra era) Source # | |
Defined in Cardano.Api.Eon.ShelleyToAllegraEra (==) :: ShelleyToAllegraEra era -> ShelleyToAllegraEra era -> Bool Source # (/=) :: ShelleyToAllegraEra era -> ShelleyToAllegraEra era -> Bool Source # |
shelleyToAllegraEraConstraints :: ShelleyToAllegraEra era -> (ShelleyToAllegraEraConstraints era => a) -> a Source #
shelleyToAllegraEraToShelleyBasedEra :: ShelleyToAllegraEra era -> ShelleyBasedEra era Source #
Deprecated: Use convert
instead.
type ShelleyToAllegraEraConstraints 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), EraUTxO (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), Value (ShelleyLedgerEra era) ~ Coin, FromCBOR (ChainDepState (ConsensusProtocol era)), FromCBOR (DebugLedgerState era), IsCardanoEra era, IsShelleyBasedEra era, ToJSON (DebugLedgerState era), Typeable era) Source #