Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data PoolParams c = PoolParams {
- ppId ∷ !(KeyHash 'StakePool c)
- ppVrf ∷ !(VRFVerKeyHash 'StakePoolVRF c)
- ppPledge ∷ !Coin
- ppCost ∷ !Coin
- ppMargin ∷ !UnitInterval
- ppRewardAccount ∷ !(RewardAccount c)
- ppOwners ∷ !(Set (KeyHash 'Staking c))
- ppRelays ∷ !(StrictSeq StakePoolRelay)
- ppMetadata ∷ !(StrictMaybe PoolMetadata)
- data PoolMetadata = PoolMetadata {
- pmUrl ∷ !Url
- pmHash ∷ !ByteString
- data StakePoolRelay
- = SingleHostAddr !(StrictMaybe Port) !(StrictMaybe IPv4) !(StrictMaybe IPv6)
- | SingleHostName !(StrictMaybe Port) !DnsName
- | MultiHostName !DnsName
- data SizeOfPoolRelays = SizeOfPoolRelays
- data SizeOfPoolOwners = SizeOfPoolOwners
Documentation
data PoolParams c Source #
A stake pool.
PoolParams | |
|
Instances
data PoolMetadata Source #
PoolMetadata | |
|
Instances
data StakePoolRelay Source #
SingleHostAddr !(StrictMaybe Port) !(StrictMaybe IPv4) !(StrictMaybe IPv6) | One or both of IPv4 & IPv6 |
SingleHostName !(StrictMaybe Port) !DnsName | An |
MultiHostName !DnsName | A |
Instances
data SizeOfPoolRelays Source #
The size of the ppRelays
Set
. Only used to compute size of encoded
PoolParams
.
Instances
EncCBOR SizeOfPoolRelays Source # | |
Defined in Cardano.Ledger.PoolParams encCBOR ∷ SizeOfPoolRelays → Encoding Source # encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy SizeOfPoolRelays → Size Source # encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [SizeOfPoolRelays] → Size Source # |
data SizeOfPoolOwners Source #
The size of the ppOwners
Set
. Only used to compute size of encoded
PoolParams
.
Instances
EncCBOR SizeOfPoolOwners Source # | |
Defined in Cardano.Ledger.PoolParams encCBOR ∷ SizeOfPoolOwners → Encoding Source # encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy SizeOfPoolOwners → Size Source # encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [SizeOfPoolOwners] → Size Source # |