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

Cardano.Ledger.PoolParams

Contents

Synopsis

Documentation

data PoolParams c Source #

A stake pool.

Instances

Instances details
Crypto c ⇒ FromJSON (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Crypto c ⇒ ToJSON (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Generic (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Associated Types

type Rep (PoolParams c) ∷ TypeType Source #

Methods

fromPoolParams c → Rep (PoolParams c) x Source #

toRep (PoolParams c) x → PoolParams c Source #

Show (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Crypto c ⇒ DecCBOR (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Crypto c ⇒ EncCBOR (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

encCBORPoolParams c → Encoding Source #

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

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

Crypto c ⇒ DecCBORGroup (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Crypto c ⇒ EncCBORGroup (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Crypto c ⇒ Default (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

defPoolParams c Source #

NFData (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

rnfPoolParams c → () Source #

Eq (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

(==)PoolParams c → PoolParams c → Bool Source #

(/=)PoolParams c → PoolParams c → Bool Source #

Ord (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

NoThunks (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

type Rep (PoolParams c) Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

data PoolMetadata Source #

Constructors

PoolMetadata 

Fields

Instances

Instances details
FromJSON PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

ToJSON PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Generic PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Associated Types

type Rep PoolMetadataTypeType Source #

Show PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

DecCBOR PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

EncCBOR PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

NFData PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

rnfPoolMetadata → () Source #

Eq PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Ord PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

NoThunks PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

type Rep PoolMetadata Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

type Rep PoolMetadata = D1 ('MetaData "PoolMetadata" "Cardano.Ledger.PoolParams" "cardano-ledger-core-1.14.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.PoolParams

ToJSON StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Generic StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Associated Types

type Rep StakePoolRelayTypeType Source #

Show StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

DecCBOR StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

EncCBOR StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

NFData StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Methods

rnfStakePoolRelay → () Source #

Eq StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

Ord StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

NoThunks StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

type Rep StakePoolRelay Source # 
Instance details

Defined in Cardano.Ledger.PoolParams

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.PoolParams

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.PoolParams

Deprecations

ppRewardAcntPoolParams c → RewardAccount c Source #

Deprecated: Use ppRewardAccount instead