Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class EraTransition era ⇒ ConwayEraTransition era where
- tcDelegsL ∷ Lens' (TransitionConfig era) (ListMap (Credential 'Staking (EraCrypto era)) (Delegatee (EraCrypto era)))
- tcInitialDRepsL ∷ Lens' (TransitionConfig era) (ListMap (Credential 'DRepRole (EraCrypto era)) (DRepState (EraCrypto era)))
- tcConwayGenesisL ∷ Lens' (TransitionConfig era) (ConwayGenesis (EraCrypto era))
- data family TransitionConfig era
- toConwayTransitionConfigPairs ∷ (KeyValue e a, Crypto c) ⇒ TransitionConfig (ConwayEra c) → [a]
Documentation
class EraTransition era ⇒ ConwayEraTransition era where Source #
tcDelegsL ∷ Lens' (TransitionConfig era) (ListMap (Credential 'Staking (EraCrypto era)) (Delegatee (EraCrypto era))) Source #
tcInitialDRepsL ∷ Lens' (TransitionConfig era) (ListMap (Credential 'DRepRole (EraCrypto era)) (DRepState (EraCrypto era))) Source #
tcConwayGenesisL ∷ Lens' (TransitionConfig era) (ConwayGenesis (EraCrypto era)) Source #
Instances
Crypto c ⇒ ConwayEraTransition (ConwayEra c) Source # | |
Defined in Cardano.Ledger.Conway.Transition tcDelegsL ∷ Lens' (TransitionConfig (ConwayEra c)) (ListMap (Credential 'Staking (EraCrypto (ConwayEra c))) (Delegatee (EraCrypto (ConwayEra c)))) Source # tcInitialDRepsL ∷ Lens' (TransitionConfig (ConwayEra c)) (ListMap (Credential 'DRepRole (EraCrypto (ConwayEra c))) (DRepState (EraCrypto (ConwayEra c)))) Source # tcConwayGenesisL ∷ Lens' (TransitionConfig (ConwayEra c)) (ConwayGenesis (EraCrypto (ConwayEra c))) Source # |
data family TransitionConfig era Source #
Cumulative configuration that is needed to be able to start in a current era
Instances
toConwayTransitionConfigPairs ∷ (KeyValue e a, Crypto c) ⇒ TransitionConfig (ConwayEra c) → [a] Source #