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

Cardano.Ledger.DRep

Documentation

data DRep Source #

Bundled Patterns

pattern DRepCredentialCredential 'DRepRoleDRep 

Instances

Instances details
FromJSON DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

FromJSONKey DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

ToJSON DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

ToJSONKey DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Generic DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Associated Types

type Rep DRepTypeType Source #

Methods

fromDRepRep DRep x Source #

toRep DRep x → DRep Source #

Show DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

showsPrecIntDRepShowS Source #

showDRepString Source #

showList ∷ [DRep] → ShowS Source #

DecCBOR DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

EncCBOR DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

encCBORDRepEncoding Source #

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

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

NFData DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

rnfDRep → () Source #

Eq DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

(==)DRepDRepBool Source #

(/=)DRepDRepBool Source #

Ord DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

compareDRepDRepOrdering Source #

(<)DRepDRepBool Source #

(<=)DRepDRepBool Source #

(>)DRepDRepBool Source #

(>=)DRepDRepBool Source #

maxDRepDRepDRep Source #

minDRepDRepDRep Source #

NoThunks DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

type Rep DRep Source # 
Instance details

Defined in Cardano.Ledger.DRep

type Rep DRep = D1 ('MetaData "DRep" "Cardano.Ledger.DRep" "cardano-ledger-core-1.17.0.0-inplace" 'False) ((C1 ('MetaCons "DRepKeyHash" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (KeyHash 'DRepRole))) :+: C1 ('MetaCons "DRepScriptHash" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ScriptHash))) :+: (C1 ('MetaCons "DRepAlwaysAbstain" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "DRepAlwaysNoConfidence" 'PrefixI 'False) (U1TypeType)))

data DRepState Source #

Instances

Instances details
FromJSON DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

ToJSON DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

Generic DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

Associated Types

type Rep DRepStateTypeType Source #

Show DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

DecCBOR DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

EncCBOR DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

encCBORDRepStateEncoding Source #

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

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

NFData DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

Methods

rnfDRepState → () Source #

Eq DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

Ord DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

NoThunks DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

type Rep DRepState Source # 
Instance details

Defined in Cardano.Ledger.DRep

type Rep DRepState = D1 ('MetaData "DRepState" "Cardano.Ledger.DRep" "cardano-ledger-core-1.17.0.0-inplace" 'False) (C1 ('MetaCons "DRepState" 'PrefixI 'True) ((S1 ('MetaSel ('Just "drepExpiry") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 EpochNo) :*: S1 ('MetaSel ('Just "drepAnchor") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe Anchor))) :*: (S1 ('MetaSel ('Just "drepDeposit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Coin) :*: S1 ('MetaSel ('Just "drepDelegs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set (Credential 'Staking))))))