Copyright | (c) 2024 GYELD GMBH |
---|---|
License | Apache 2.0 |
Maintainer | [email protected] |
Stability | develop |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
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
data GYDRepState #
DRep state.
GYDRepState | |
|
Instances
Show GYDRepState # | |
Defined in GeniusYield.Types.DRep showsPrec ∷ Int → GYDRepState → ShowS # show ∷ GYDRepState → String # showList ∷ [GYDRepState] → ShowS # | |
Eq GYDRepState # | |
Defined in GeniusYield.Types.DRep (==) ∷ GYDRepState → GYDRepState → Bool # (/=) ∷ GYDRepState → GYDRepState → Bool # | |
Ord GYDRepState # | |
Defined in GeniusYield.Types.DRep compare ∷ GYDRepState → GYDRepState → Ordering # (<) ∷ GYDRepState → GYDRepState → Bool # (<=) ∷ GYDRepState → GYDRepState → Bool # (>) ∷ GYDRepState → GYDRepState → Bool # (>=) ∷ GYDRepState → GYDRepState → Bool # max ∷ GYDRepState → GYDRepState → GYDRepState # min ∷ GYDRepState → GYDRepState → GYDRepState # |