| Copyright | (c) 2024 GYELD GMBH |
|---|---|
| License | Apache 2.0 |
| Maintainer | [email protected] |
| Stability | develop |
| Safe Haskell | None |
| Language | GHC2021 |
GeniusYield.Types.DRep
Description
Synopsis
- data GYDRep
- drepToLedger :: GYDRep -> DRep
- drepFromLedger :: DRep -> GYDRep
- data GYDRepState = GYDRepState {
- drepExpiry :: !GYEpochNo
- drepAnchor :: !(Maybe GYAnchor)
- drepDeposit :: !Natural
- drepDelegs :: !(Set (GYCredential 'GYKeyRoleStaking))
- drepStateToLedger :: GYDRepState -> DRepState
- drepStateFromLedger :: DRepState -> GYDRepState
Documentation
DRep.
Constructors
| GYDRepCredential !(GYCredential 'GYKeyRoleDRep) | |
| GYDRepAlwaysAbstain | |
| GYDRepAlwaysNoConfidence |
drepToLedger :: GYDRep -> DRep #
drepFromLedger :: DRep -> GYDRep #
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 # | |