Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
DRepKeyHash !(KeyHash 'DRepRole) | |
DRepScriptHash !ScriptHash | |
DRepAlwaysAbstain | |
DRepAlwaysNoConfidence |
pattern DRepCredential ∷ Credential 'DRepRole → DRep |
Instances
FromJSON DRep Source # | |
FromJSONKey DRep Source # | |
ToJSON DRep Source # | |
ToJSONKey DRep Source # | |
Defined in Cardano.Ledger.DRep | |
Generic DRep Source # | |
Show DRep Source # | |
DecCBOR DRep Source # | |
EncCBOR DRep Source # | |
NFData DRep Source # | |
Defined in Cardano.Ledger.DRep | |
Eq DRep Source # | |
Ord DRep Source # | |
NoThunks DRep Source # | |
type Rep DRep Source # | |
Defined in Cardano.Ledger.DRep type Rep DRep = D1 ('MetaData "DRep" "Cardano.Ledger.DRep" "cardano-ledger-core-1.17.0.0-inplace" 'False) ((C1 ('MetaCons "DRepKeyHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (KeyHash 'DRepRole))) :+: C1 ('MetaCons "DRepScriptHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ScriptHash))) :+: (C1 ('MetaCons "DRepAlwaysAbstain" 'PrefixI 'False) (U1 ∷ Type → Type) :+: C1 ('MetaCons "DRepAlwaysNoConfidence" 'PrefixI 'False) (U1 ∷ Type → Type))) |
DRepState | |
|
Instances
FromJSON DRepState Source # | |
ToJSON DRepState Source # | |
Generic DRepState Source # | |
Show DRepState Source # | |
DecCBOR DRepState Source # | |
EncCBOR DRepState Source # | |
NFData DRepState Source # | |
Defined in Cardano.Ledger.DRep | |
Eq DRepState Source # | |
Ord DRepState Source # | |
Defined in Cardano.Ledger.DRep | |
NoThunks DRepState Source # | |
type Rep DRepState Source # | |
Defined in Cardano.Ledger.DRep type Rep DRepState = D1 ('MetaData "DRepState" "Cardano.Ledger.DRep" "cardano-ledger-core-1.17.0.0-inplace" 'False) (C1 ('MetaCons "DRepState" 'PrefixI 'True) ((S1 ('MetaSel ('Just "drepExpiry") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo) :*: S1 ('MetaSel ('Just "drepAnchor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe Anchor))) :*: (S1 ('MetaSel ('Just "drepDeposit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Coin) :*: S1 ('MetaSel ('Just "drepDelegs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set (Credential 'Staking)))))) |
drepDelegsL ∷ Lens' DRepState (Set (Credential 'Staking)) Source #