Copyright | (c) 2025 GYELD GMBH |
---|---|
License | Apache 2.0 |
Maintainer | [email protected] |
Stability | develop |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Synopsis
- data GYStakePoolRelay
- = GYSingleHostAddr !(Maybe Port) !(Maybe IPv4) !(Maybe IPv6)
- | GYSingleHostName !(Maybe Port) !DnsName
- | GYMultiHostName !DnsName
- data GYPoolParams = GYPoolParams {
- poolId ∷ !(GYKeyHash 'GYKeyRoleStakePool)
- poolVrf ∷ !(GYVRFVerKeyHash 'GYKeyRoleVRFStakePool)
- poolPledge ∷ !Natural
- poolCost ∷ !Natural
- poolMargin ∷ !UnitInterval
- poolRewardAccount ∷ !GYStakeAddress
- poolOwners ∷ !(Set (GYKeyHash 'GYKeyRoleStaking))
- poolRelays ∷ ![GYStakePoolRelay]
- poolMetadata ∷ !(Maybe GYAnchor)
- poolParamsToLedger ∷ GYPoolParams → PoolParams StandardCrypto
- poolParamsFromLedger ∷ PoolParams StandardCrypto → GYPoolParams
Documentation
data GYStakePoolRelay #
GYSingleHostAddr !(Maybe Port) !(Maybe IPv4) !(Maybe IPv6) | One or both of IPv4 & IPv6 |
GYSingleHostName !(Maybe Port) !DnsName | An |
GYMultiHostName !DnsName | A |
Instances
data GYPoolParams #
Stake pool parameters.
Instances
Show GYPoolParams # | |
Defined in GeniusYield.Types.Pool showsPrec ∷ Int → GYPoolParams → ShowS # show ∷ GYPoolParams → String # showList ∷ [GYPoolParams] → ShowS # | |
Eq GYPoolParams # | |
Defined in GeniusYield.Types.Pool (==) ∷ GYPoolParams → GYPoolParams → Bool # (/=) ∷ GYPoolParams → GYPoolParams → Bool # | |
Ord GYPoolParams # | |
Defined in GeniusYield.Types.Pool compare ∷ GYPoolParams → GYPoolParams → Ordering # (<) ∷ GYPoolParams → GYPoolParams → Bool # (<=) ∷ GYPoolParams → GYPoolParams → Bool # (>) ∷ GYPoolParams → GYPoolParams → Bool # (>=) ∷ GYPoolParams → GYPoolParams → Bool # max ∷ GYPoolParams → GYPoolParams → GYPoolParams # min ∷ GYPoolParams → GYPoolParams → GYPoolParams # |