Copyright | (c) 2024 GYELD GMBH |
---|---|
License | Apache 2.0 |
Maintainer | [email protected] |
Stability | develop |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
GeniusYield.Types.DRep
Description
Synopsis
- data GYDRep
- drepToLedger ∷ GYDRep → DRep StandardCrypto
- drepFromLedger ∷ DRep StandardCrypto → GYDRep
- data GYDRepState = GYDRepState {
- drepExpiry ∷ !GYEpochNo
- drepAnchor ∷ !(Maybe GYAnchor)
- drepDeposit ∷ !Natural
- drepDelegs ∷ !(Set (GYCredential 'GYKeyRoleStaking))
- drepStateToLedger ∷ GYDRepState → DRepState StandardCrypto
- drepStateFromLedger ∷ DRepState StandardCrypto → GYDRepState
Documentation
DRep.
Constructors
GYDRepCredential !(GYCredential 'GYKeyRoleDRep) | |
GYDRepAlwaysAbstain | |
GYDRepAlwaysNoConfidence |
data GYDRepState #
DRep state.
Constructors
GYDRepState | |
Fields
|
Instances
Show GYDRepState # | |
Defined in GeniusYield.Types.DRep Methods showsPrec ∷ Int → GYDRepState → ShowS # show ∷ GYDRepState → String # showList ∷ [GYDRepState] → ShowS # | |
Eq GYDRepState # | |
Defined in GeniusYield.Types.DRep | |
Ord GYDRepState # | |
Defined in GeniusYield.Types.DRep Methods compare ∷ GYDRepState → GYDRepState → Ordering # (<) ∷ GYDRepState → GYDRepState → Bool # (<=) ∷ GYDRepState → GYDRepState → Bool # (>) ∷ GYDRepState → GYDRepState → Bool # (>=) ∷ GYDRepState → GYDRepState → Bool # max ∷ GYDRepState → GYDRepState → GYDRepState # min ∷ GYDRepState → GYDRepState → GYDRepState # |