Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Ledger.DRep
Documentation
Constructors
DRepKeyHash !(KeyHash 'DRepRole) | |
DRepScriptHash !ScriptHash | |
DRepAlwaysAbstain | |
DRepAlwaysNoConfidence |
Bundled Patterns
pattern DRepCredential ∷ Credential 'DRepRole → DRep |
Instances
Constructors
DRepState | |
Fields
|
Instances
FromJSON DRepState Source # | |
ToJSON DRepState Source # | |
Generic DRepState Source # | |
Show DRepState Source # | |
DecCBOR DRepState Source # | |
DecShareCBOR 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)))))) | |
type Share DRepState Source # | |
drepDelegsL ∷ Lens' DRepState (Set (Credential 'Staking)) Source #