Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type UsesTxBody era = ( Era era, ChainData ( TxBody era), AnnotatedData ( TxBody era), HashAnnotated ( TxBody era) EraIndependentTxBody ( Crypto era))
- class ( Era era, Val ( Value era), Compactible ( Value era), ChainData ( Value era), SerialisableData ( Value era), DecodeNonNegative ( Value era), EncodeMint ( Value era), DecodeMint ( Value era)) => UsesValue era
- class ( Era era, ChainData ( TxOut era), ToCBOR ( TxOut era), FromCBOR ( TxOut era)) => UsesTxOut era where
- type UsesScript era = ( Era era, Eq ( Script era), Show ( Script era), AnnotatedData ( Script era))
- type UsesAuxiliary era = ( Era era, Eq ( AuxiliaryData era), Show ( AuxiliaryData era), ValidateAuxiliaryData era ( Crypto era), AnnotatedData ( AuxiliaryData era))
-
class
(
Era
era,
Eq
(
PParams
era),
Show
(
PParams
era),
SerialisableData
(
PParams
era),
ChainData
(
PParamsDelta
era),
Ord
(
PParamsDelta
era),
SerialisableData
(
PParamsDelta
era)) =>
UsesPParams
era
where
- mergePPUpdates :: proxy era -> PParams era -> PParamsDelta era -> PParams era
- type TransValue (c :: Type -> Constraint ) era = ( Era era, Compactible ( Value era), c ( Value era))
Documentation
type UsesTxBody era = ( Era era, ChainData ( TxBody era), AnnotatedData ( TxBody era), HashAnnotated ( TxBody era) EraIndependentTxBody ( Crypto era)) Source #
class ( Era era, Val ( Value era), Compactible ( Value era), ChainData ( Value era), SerialisableData ( Value era), DecodeNonNegative ( Value era), EncodeMint ( Value era), DecodeMint ( Value era)) => UsesValue era Source #
Instances
Crypto c => UsesValue ( ShelleyEra c) Source # | |
Defined in Cardano.Ledger.Shelley |
class ( Era era, ChainData ( TxOut era), ToCBOR ( TxOut era), FromCBOR ( TxOut era)) => UsesTxOut era where Source #
Instances
Crypto c => UsesTxOut ( ShelleyEra c) Source # | |
Defined in Cardano.Ledger.Shelley makeTxOut :: Proxy ( ShelleyEra c) -> Addr ( Crypto ( ShelleyEra c)) -> Value ( ShelleyEra c) -> TxOut ( ShelleyEra c) Source # |
type UsesScript era = ( Era era, Eq ( Script era), Show ( Script era), AnnotatedData ( Script era)) Source #
type UsesAuxiliary era = ( Era era, Eq ( AuxiliaryData era), Show ( AuxiliaryData era), ValidateAuxiliaryData era ( Crypto era), AnnotatedData ( AuxiliaryData era)) Source #
class ( Era era, Eq ( PParams era), Show ( PParams era), SerialisableData ( PParams era), ChainData ( PParamsDelta era), Ord ( PParamsDelta era), SerialisableData ( PParamsDelta era)) => UsesPParams era where Source #
mergePPUpdates :: proxy era -> PParams era -> PParamsDelta era -> PParams era Source #
Instances
Crypto c => UsesPParams ( ShelleyEra c) Source # | |
Defined in Cardano.Ledger.Shelley mergePPUpdates :: proxy ( ShelleyEra c) -> PParams ( ShelleyEra c) -> PParamsDelta ( ShelleyEra c) -> PParams ( ShelleyEra c) Source # |
type TransValue (c :: Type -> Constraint ) era = ( Era era, Compactible ( Value era), c ( Value era)) Source #
Apply
c
to all the types transitively involved with Value when
(Core.Value era) is an instance of Compactible