Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ShelleyEraOnly era where
- shelleyEraOnlyConstraints :: ShelleyEraOnly era -> (ShelleyEraOnlyConstraints era => a) -> a
- shelleyEraOnlyToShelleyBasedEra :: ShelleyEraOnly era -> ShelleyBasedEra era
- type ShelleyEraOnlyConstraints 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), ExactEra ShelleyEra (ShelleyLedgerEra era), ExactEra ShelleyEra (ShelleyLedgerEra era), HashAnnotated (TxBody (ShelleyLedgerEra era)) EraIndependentTxBody StandardCrypto, ProtVerAtMost (ShelleyLedgerEra era) 2, 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 ShelleyEraOnly era where Source #
Instances
Eon ShelleyEraOnly Source # | |
Defined in Cardano.Api.Eon.ShelleyEraOnly inEonForEra :: a -> (ShelleyEraOnly era -> a) -> CardanoEra era -> a Source # | |
ToCardanoEra ShelleyEraOnly Source # | |
Defined in Cardano.Api.Eon.ShelleyEraOnly toCardanoEra :: ShelleyEraOnly era -> CardanoEra era Source # | |
Convert ShelleyEraOnly ShelleyBasedEra Source # | |
Defined in Cardano.Api.Eon.ShelleyEraOnly convert :: ShelleyEraOnly era -> ShelleyBasedEra era Source # | |
Convert ShelleyEraOnly CardanoEra Source # | |
Defined in Cardano.Api.Eon.ShelleyEraOnly convert :: ShelleyEraOnly era -> CardanoEra era Source # | |
Show (ShelleyEraOnly era) Source # | |
Defined in Cardano.Api.Eon.ShelleyEraOnly | |
Eq (ShelleyEraOnly era) Source # | |
Defined in Cardano.Api.Eon.ShelleyEraOnly (==) :: ShelleyEraOnly era -> ShelleyEraOnly era -> Bool Source # (/=) :: ShelleyEraOnly era -> ShelleyEraOnly era -> Bool Source # |
shelleyEraOnlyConstraints :: ShelleyEraOnly era -> (ShelleyEraOnlyConstraints era => a) -> a Source #
shelleyEraOnlyToShelleyBasedEra :: ShelleyEraOnly era -> ShelleyBasedEra era Source #
Deprecated: Use convert
instead.
type ShelleyEraOnlyConstraints 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), ExactEra ShelleyEra (ShelleyLedgerEra era), ExactEra ShelleyEra (ShelleyLedgerEra era), HashAnnotated (TxBody (ShelleyLedgerEra era)) EraIndependentTxBody StandardCrypto, ProtVerAtMost (ShelleyLedgerEra era) 2, 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 #