| Safe Haskell | None |
|---|---|
| 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 # | |||||
| DecCBOR DRepState Source # | |||||
| DecShareCBOR DRepState Source # | |||||
| EncCBOR DRepState Source # | |||||
| NFData DRepState Source # | |||||
Defined in Cardano.Ledger.DRep | |||||
| Generic DRepState Source # | |||||
Defined in Cardano.Ledger.DRep Associated Types
| |||||
| Show DRepState Source # | |||||
| Eq DRepState Source # | |||||
| Ord DRepState Source # | |||||
Defined in Cardano.Ledger.DRep | |||||
| NoThunks DRepState Source # | |||||
| type Share DRepState Source # | |||||
| type Rep DRepState Source # | |||||
Defined in Cardano.Ledger.DRep type Rep DRepState = D1 ('MetaData "DRepState" "Cardano.Ledger.DRep" "cardano-ledger-core-1.19.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 (CompactForm Coin)) :*: S1 ('MetaSel ('Just "drepDelegs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set (Credential 'Staking)))))) | |||||
credToDRep ∷ Credential 'DRepRole → DRep Source #
dRepToText ∷ DRep → Text Source #
dRepToCred ∷ DRep → Maybe (Credential 'DRepRole) Source #
drepDelegsL ∷ Lens' DRepState (Set (Credential 'Staking)) Source #