cardano-ledger-core-1.18.0.0: Core components of Cardano ledgers from the Shelley release on.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.PoolParams

Description

Deprecated: Use State instead.

This module is deprecated and will be removed in a future version. Please import these types from Cardano.Ledger.State instead.

The contents of this module have been moved to Cardano.Ledger.State.StakePool to provide better separation between pool registration parameters and pool state management. All types are now re-exported through Cardano.Ledger.State for convenient access.

Synopsis

Documentation

data PoolParams Source #

A stake pool.

Instances

Instances details
FromJSON PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

ToJSON PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Generic PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Associated Types

type Rep PoolParamsTypeType #

Show PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

DecCBOR PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

EncCBOR PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

encCBORPoolParamsEncoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy PoolParamsSize Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [PoolParams] → Size Source #

DecCBORGroup PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

EncCBORGroup PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Default PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

defPoolParams Source #

NFData PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

rnfPoolParams → () #

Eq PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

(==)PoolParamsPoolParamsBool #

(/=)PoolParamsPoolParamsBool #

Ord PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

NoThunks PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

type Rep PoolParams Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

data PoolMetadata Source #

Constructors

PoolMetadata 

Fields

Instances

Instances details
FromJSON PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

ToJSON PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Generic PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Associated Types

type Rep PoolMetadataTypeType #

Show PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

DecCBOR PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

EncCBOR PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

NFData PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

rnfPoolMetadata → () #

Eq PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Ord PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

NoThunks PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

type Rep PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

type Rep PoolMetadata = D1 ('MetaData "PoolMetadata" "Cardano.Ledger.State.StakePool" "cardano-ledger-core-1.18.0.0-inplace" 'False) (C1 ('MetaCons "PoolMetadata" 'PrefixI 'True) (S1 ('MetaSel ('Just "pmUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Url) :*: S1 ('MetaSel ('Just "pmHash") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)))

data StakePoolRelay Source #

Constructors

SingleHostAddr !(StrictMaybe Port) !(StrictMaybe IPv4) !(StrictMaybe IPv6)

One or both of IPv4 & IPv6

SingleHostName !(StrictMaybe Port) !DnsName

An A or AAAA DNS record

MultiHostName !DnsName

A SRV DNS record

Instances

Instances details
FromJSON StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

ToJSON StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Generic StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Associated Types

type Rep StakePoolRelayTypeType #

Show StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

DecCBOR StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

EncCBOR StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

NFData StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Methods

rnfStakePoolRelay → () #

Eq StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

Ord StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

NoThunks StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

type Rep StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

data SizeOfPoolRelays Source #

The size of the ppRelays Set. Only used to compute size of encoded PoolParams.

Constructors

SizeOfPoolRelays 

Instances

Instances details
EncCBOR SizeOfPoolRelays Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool

data SizeOfPoolOwners Source #

The size of the ppOwners Set. Only used to compute size of encoded PoolParams.

Constructors

SizeOfPoolOwners 

Instances

Instances details
EncCBOR SizeOfPoolOwners Source # 
Instance details

Defined in Cardano.Ledger.State.StakePool