byron-spec-ledger-1.0.1.0: Executable specification of Cardano ledger
Safe HaskellSafe-Inferred
LanguageHaskell2010

Byron.Spec.Ledger.Delegation

Synopsis

Delegation scheduling

data SDELEG Source #

Delegation scheduling rules

Instances

Instances details
Data SDELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → SDELEG → c SDELEG Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c SDELEG Source #

toConstrSDELEGConstr Source #

dataTypeOfSDELEGDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c SDELEG) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c SDELEG) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → SDELEGSDELEG Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → SDELEG → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → SDELEG → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → SDELEG → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → SDELEG → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → SDELEG → m SDELEG Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → SDELEG → m SDELEG Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → SDELEG → m SDELEG Source #

STS SDELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Embed SDELEG SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type BaseM SDELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Environment SDELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Event SDELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type PredicateFailure SDELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Signal SDELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type State SDELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

data SDELEGS Source #

Delegation scheduling sequencing

Instances

Instances details
Data SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → SDELEGS → c SDELEGS Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c SDELEGS Source #

toConstrSDELEGSConstr Source #

dataTypeOfSDELEGSDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c SDELEGS) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c SDELEGS) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → SDELEGSSDELEGS Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → SDELEGS → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → SDELEGS → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → SDELEGS → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → SDELEGS → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → SDELEGS → m SDELEGS Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → SDELEGS → m SDELEGS Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → SDELEGS → m SDELEGS Source #

STS SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Embed SDELEG SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Embed SDELEGS DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type BaseM SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Environment SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Event SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type PredicateFailure SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Signal SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type State SDELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

data DSState Source #

Delegation scheduling state

Constructors

DSState [(Slot, (VKeyGenesis, VKey))] (Set (Epoch, VKeyGenesis)) 

Instances

Instances details
Generic DSState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep DSStateTypeType Source #

Methods

fromDSStateRep DSState x Source #

toRep DSState x → DSState Source #

Show DSState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq DSState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

(==)DSStateDSStateBool Source #

(/=)DSStateDSStateBool Source #

NoThunks DSState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

HasScheduledDelegations DSState [(Slot, (VKeyGenesis, VKey))] Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DSState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DSState = D1 ('MetaData "DSState" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "DSState" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dSStateScheduledDelegations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [(Slot, (VKeyGenesis, VKey))]) :*: S1 ('MetaSel ('Just "_dSStateKeyEpochDelegations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set (Epoch, VKeyGenesis)))))

data DCert Source #

A delegation certificate.

Constructors

DCert VKeyGenesis VKey Epoch (Sig (VKey, Epoch)) 

Instances

Instances details
Data DCert Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → DCert → c DCert Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c DCert Source #

toConstrDCertConstr Source #

dataTypeOfDCertDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c DCert) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c DCert) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → DCertDCert Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → DCert → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → DCert → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → DCert → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → DCert → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → DCert → m DCert Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → DCert → m DCert Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → DCert → m DCert Source #

Generic DCert Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep DCertTypeType Source #

Methods

fromDCertRep DCert x Source #

toRep DCert x → DCert Source #

Show DCert Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

HasTypeReps DCert Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

typeRepsDCertSeq TypeRep Source #

Eq DCert Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

(==)DCertDCertBool Source #

(/=)DCertDCertBool Source #

Ord DCert Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

compareDCertDCertOrdering Source #

(<)DCertDCertBool Source #

(<=)DCertDCertBool Source #

(>)DCertDCertBool Source #

(>=)DCertDCertBool Source #

maxDCertDCertDCert Source #

minDCertDCertDCert Source #

Hashable DCert Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

hashWithSaltIntDCertInt Source #

hashDCertInt Source #

NoThunks DCert Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

HasHash [DCert] Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

hash ∷ [DCert] → Hash Source #

type Rep DCert Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DCert = D1 ('MetaData "DCert" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "DCert" 'PrefixI 'True) ((S1 ('MetaSel ('Just "delegator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VKeyGenesis) :*: S1 ('MetaSel ('Just "delegate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VKey)) :*: (S1 ('MetaSel ('Just "depoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Epoch) :*: S1 ('MetaSel ('Just "signature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sig (VKey, Epoch))))))

delegatorDCertVKeyGenesis Source #

Key that delegates

delegateDCertVKey Source #

Key that the delegator is delegating to

depochDCertEpoch Source #

Certificate epoch

dwhoDCert → (VKeyGenesis, VKey) Source #

Who is delegating to whom.

signatureDCertSig (VKey, Epoch) Source #

Witness for the delegation certificate

Delegation activation

data ADELEG Source #

Delegation rules

Instances

Instances details
Data ADELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → ADELEG → c ADELEG Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c ADELEG Source #

toConstrADELEGConstr Source #

dataTypeOfADELEGDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c ADELEG) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c ADELEG) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → ADELEGADELEG Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → ADELEG → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → ADELEG → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → ADELEG → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → ADELEG → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → ADELEG → m ADELEG Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → ADELEG → m ADELEG Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → ADELEG → m ADELEG Source #

STS ADELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Embed ADELEG ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type BaseM ADELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Environment ADELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Event ADELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type PredicateFailure ADELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Signal ADELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type State ADELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

data ADELEGS Source #

Delegation rules sequencing

Instances

Instances details
Data ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → ADELEGS → c ADELEGS Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c ADELEGS Source #

toConstrADELEGSConstr Source #

dataTypeOfADELEGSDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c ADELEGS) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c ADELEGS) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → ADELEGSADELEGS Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → ADELEGS → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → ADELEGS → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → ADELEGS → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → ADELEGS → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → ADELEGS → m ADELEGS Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → ADELEGS → m ADELEGS Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → ADELEGS → m ADELEGS Source #

STS ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Embed ADELEG ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Embed ADELEGS DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type BaseM ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Environment ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Event ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type PredicateFailure ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Signal ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type State ADELEGS Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

data DSEnv Source #

Delegation scheduling environment

Constructors

DSEnv 

Fields

Instances

Instances details
Generic DSEnv Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep DSEnvTypeType Source #

Methods

fromDSEnvRep DSEnv x Source #

toRep DSEnv x → DSEnv Source #

Show DSEnv Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq DSEnv Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

(==)DSEnvDSEnvBool Source #

(/=)DSEnvDSEnvBool Source #

NoThunks DSEnv Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DSEnv Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DSEnv = D1 ('MetaData "DSEnv" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "DSEnv" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dSEnvAllowedDelegators") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set VKeyGenesis)) :*: S1 ('MetaSel ('Just "_dSEnvEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Epoch)) :*: (S1 ('MetaSel ('Just "_dSEnvSlot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Slot) :*: S1 ('MetaSel ('Just "_dSEnvK") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BlockCount))))

allowedDelegators ∷ HasAllowedDelegators s a ⇒ Lens' s a Source #

data DState Source #

Delegation state

Constructors

DState 

Fields

Instances

Instances details
Generic DState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep DStateTypeType Source #

Methods

fromDStateRep DState x Source #

toRep DState x → DState Source #

Show DState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq DState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

(==)DStateDStateBool Source #

(/=)DStateDStateBool Source #

NoThunks DState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DState = D1 ('MetaData "DState" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "DState" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dStateDelegationMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Bimap VKeyGenesis VKey)) :*: S1 ('MetaSel ('Just "_dStateLastDelegation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map VKeyGenesis Slot))))

Delegation interface

data DELEG Source #

Delegation interface

Instances

Instances details
Data DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → DELEG → c DELEG Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c DELEG Source #

toConstrDELEGConstr Source #

dataTypeOfDELEGDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c DELEG) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c DELEG) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → DELEGDELEG Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → DELEG → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → DELEG → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → DELEG → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → DELEG → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → DELEG → m DELEG Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → DELEG → m DELEG Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → DELEG → m DELEG Source #

STS DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

HasTrace DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type BaseEnv DELEG Source #

Embed ADELEGS DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Embed SDELEGS DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type BaseM DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Environment DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Event DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type PredicateFailure DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Signal DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Signal DELEG = [DCert]
type State DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type BaseEnv DELEG Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type BaseEnv DELEG = ()

type DIEnv = DSEnv Source #

Interface environment is the same as scheduling environment.

data DIState Source #

Instances

Instances details
Generic DIState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep DIStateTypeType Source #

Methods

fromDIStateRep DIState x Source #

toRep DIState x → DIState Source #

Show DIState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq DIState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

(==)DIStateDIStateBool Source #

(/=)DIStateDIStateBool Source #

NoThunks DIState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

HasScheduledDelegations DIState [(Slot, (VKeyGenesis, VKey))] Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DIState Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DIState = D1 ('MetaData "DIState" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "DIState" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dIStateDelegationMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Bimap VKeyGenesis VKey)) :*: S1 ('MetaSel ('Just "_dIStateLastDelegation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map VKeyGenesis Slot))) :*: (S1 ('MetaSel ('Just "_dIStateScheduledDelegations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [(Slot, (VKeyGenesis, VKey))]) :*: S1 ('MetaSel ('Just "_dIStateKeyEpochDelegations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set (Epoch, VKeyGenesis))))))

liveAfterBlockCountSlotCount Source #

Compute after which slot the delegation certificate will become live, using the chain stability parameter.

data EpochDiff Source #

Constructors

EpochDiff 

Instances

Instances details
Data EpochDiff Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → EpochDiff → c EpochDiff Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c EpochDiff Source #

toConstrEpochDiffConstr Source #

dataTypeOfEpochDiffDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c EpochDiff) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c EpochDiff) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → EpochDiffEpochDiff Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → EpochDiff → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → EpochDiff → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → EpochDiff → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → EpochDiff → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → EpochDiff → m EpochDiff Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → EpochDiff → m EpochDiff Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → EpochDiff → m EpochDiff Source #

Generic EpochDiff Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep EpochDiffTypeType Source #

Show EpochDiff Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq EpochDiff Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

NoThunks EpochDiff Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep EpochDiff Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep EpochDiff = D1 ('MetaData "EpochDiff" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "EpochDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "currentEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Epoch) :*: S1 ('MetaSel ('Just "certEpoch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Epoch)))

State lens fields

slot ∷ HasSlot s a ⇒ Lens' s a Source #

epoch ∷ HasEpoch s a ⇒ Lens' s a Source #

delegationMap ∷ HasDelegationMap s a ⇒ Lens' s a Source #

State lens type classes

dmsL ∷ HasDelegationMap a (Bimap VKeyGenesis VKey) ⇒ Lens' a (Bimap VKeyGenesis VKey) Source #

Generators

initialEnvFromGenesisKeys Source #

Arguments

Word8

Number of genesis keys.

Word64

Chain length

Gen DSEnv 

Generate an initial DELEG environment from the given number of genesis keys.

randomDCertGenEnvironment DELEGGen DCert Source #

Generate a random delegation certificate, which has a high probability of failing since we do not consider the current delegation state. So for instance, we could generate a delegation certificate for a genesis key that already delegated in this epoch.

Functions on delegation state

Support Functions for delegation properties

emptyDelegationPayloadRatio ∷ [[DCert]] → Double Source #

Ratio of certificate groups that are empty

thisEpochDelegationsRatio ∷ [(Epoch, Epoch)] → Double Source #

Ratio of certificates that delegate to _this_ epoch, where each certificate is represented by (current epoch,cert epoch)

nextEpochDelegationsRatio ∷ [(Epoch, Epoch)] → Double Source #

Ratio of certificates that delegate to the _next_ epoch, where each certificate is represented by (current epoch,cert epoch)

selfDelegationsRatio ∷ [DCert] → Double Source #

Ratio of certificates that "delegate to self", that is, where the delegator and delegate are the same

multipleDelegationsRatio ∷ [DCert] → Double Source #

Ratio of delegates that have multiple delegators that are delegating to them

maxDelegationsTo ∷ [DCert] → Int Source #

The maximum number of delegators to any particular delegate

changedDelegationsRatio ∷ [DCert] → Double Source #

Ratio of delegators that have changed their delegations

maxChangedDelegations ∷ [DCert] → Int Source #

The maximum number of change-of-delegate for any particular delegator

repeatedDelegationsRatio ∷ [DCert] → Double Source #

Ratio of repeated delegations to all delegations

maxRepeatedDelegations ∷ [DCert] → Int Source #

The maximum number of repeated delegations in the given certificates

Predicate failures

data AdelegPredicateFailure Source #

None of these PredicateFailures are actually "throwable". The disjuction of the rules' preconditions is True, which means that one of them will pass. The PredicateFailure just act as switches to direct control flow to the successful one.

Instances

Instances details
Data AdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → AdelegPredicateFailure → c AdelegPredicateFailure Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c AdelegPredicateFailure Source #

toConstrAdelegPredicateFailureConstr Source #

dataTypeOfAdelegPredicateFailureDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c AdelegPredicateFailure) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c AdelegPredicateFailure) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → AdelegPredicateFailureAdelegPredicateFailure Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → AdelegPredicateFailure → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → AdelegPredicateFailure → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → AdelegPredicateFailure → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → AdelegPredicateFailure → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → AdelegPredicateFailure → m AdelegPredicateFailure Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → AdelegPredicateFailure → m AdelegPredicateFailure Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → AdelegPredicateFailure → m AdelegPredicateFailure Source #

Generic AdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep AdelegPredicateFailureTypeType Source #

Show AdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq AdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

NoThunks AdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep AdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep AdelegPredicateFailure = D1 ('MetaData "AdelegPredicateFailure" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) ((C1 ('MetaCons "S_BeforeExistingDelegation" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "S_NoLastDelegation" 'PrefixI 'False) (U1TypeType)) :+: (C1 ('MetaCons "S_AfterExistingDelegation" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "S_AlreadyADelegateOf" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VKey) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VKeyGenesis))))

data AdelegsPredicateFailure Source #

Instances

Instances details
Data AdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → AdelegsPredicateFailure → c AdelegsPredicateFailure Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c AdelegsPredicateFailure Source #

toConstrAdelegsPredicateFailureConstr Source #

dataTypeOfAdelegsPredicateFailureDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c AdelegsPredicateFailure) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c AdelegsPredicateFailure) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → AdelegsPredicateFailureAdelegsPredicateFailure Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → AdelegsPredicateFailure → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → AdelegsPredicateFailure → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → AdelegsPredicateFailure → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → AdelegsPredicateFailure → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → AdelegsPredicateFailure → m AdelegsPredicateFailure Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → AdelegsPredicateFailure → m AdelegsPredicateFailure Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → AdelegsPredicateFailure → m AdelegsPredicateFailure Source #

Generic AdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep AdelegsPredicateFailureTypeType Source #

Show AdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq AdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

NoThunks AdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep AdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep AdelegsPredicateFailure = D1 ('MetaData "AdelegsPredicateFailure" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "ADelegFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PredicateFailure ADELEG))))

data SdelegPredicateFailure Source #

These PredicateFailures are all "throwable". The disjunction of the rules' preconditions is not True - the PredicateFailures represent False cases.

Instances

Instances details
Data SdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → SdelegPredicateFailure → c SdelegPredicateFailure Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c SdelegPredicateFailure Source #

toConstrSdelegPredicateFailureConstr Source #

dataTypeOfSdelegPredicateFailureDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c SdelegPredicateFailure) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c SdelegPredicateFailure) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → SdelegPredicateFailureSdelegPredicateFailure Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → SdelegPredicateFailure → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → SdelegPredicateFailure → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → SdelegPredicateFailure → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → SdelegPredicateFailure → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → SdelegPredicateFailure → m SdelegPredicateFailure Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → SdelegPredicateFailure → m SdelegPredicateFailure Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → SdelegPredicateFailure → m SdelegPredicateFailure Source #

Generic SdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep SdelegPredicateFailureTypeType Source #

Show SdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq SdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

NoThunks SdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep SdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep SdelegPredicateFailure = D1 ('MetaData "SdelegPredicateFailure" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) ((C1 ('MetaCons "IsNotGenesisKey" 'PrefixI 'False) (U1TypeType) :+: (C1 ('MetaCons "EpochInThePast" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EpochDiff)) :+: C1 ('MetaCons "EpochPastNextEpoch" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EpochDiff)))) :+: (C1 ('MetaCons "HasAlreadyDelegated" 'PrefixI 'False) (U1TypeType) :+: (C1 ('MetaCons "IsAlreadyScheduled" 'PrefixI 'False) (U1TypeType) :+: C1 ('MetaCons "DoesNotVerify" 'PrefixI 'False) (U1TypeType))))

data SdelegsPredicateFailure Source #

Instances

Instances details
Data SdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → SdelegsPredicateFailure → c SdelegsPredicateFailure Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c SdelegsPredicateFailure Source #

toConstrSdelegsPredicateFailureConstr Source #

dataTypeOfSdelegsPredicateFailureDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c SdelegsPredicateFailure) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c SdelegsPredicateFailure) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → SdelegsPredicateFailureSdelegsPredicateFailure Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → SdelegsPredicateFailure → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → SdelegsPredicateFailure → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → SdelegsPredicateFailure → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → SdelegsPredicateFailure → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → SdelegsPredicateFailure → m SdelegsPredicateFailure Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → SdelegsPredicateFailure → m SdelegsPredicateFailure Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → SdelegsPredicateFailure → m SdelegsPredicateFailure Source #

Generic SdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep SdelegsPredicateFailureTypeType Source #

Show SdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq SdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

NoThunks SdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep SdelegsPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep SdelegsPredicateFailure = D1 ('MetaData "SdelegsPredicateFailure" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "SDelegFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PredicateFailure SDELEG))))

data MsdelegPredicateFailure Source #

Instances

Instances details
Data MsdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → MsdelegPredicateFailure → c MsdelegPredicateFailure Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c MsdelegPredicateFailure Source #

toConstrMsdelegPredicateFailureConstr Source #

dataTypeOfMsdelegPredicateFailureDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c MsdelegPredicateFailure) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c MsdelegPredicateFailure) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → MsdelegPredicateFailureMsdelegPredicateFailure Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → MsdelegPredicateFailure → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → MsdelegPredicateFailure → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → MsdelegPredicateFailure → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → MsdelegPredicateFailure → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → MsdelegPredicateFailure → m MsdelegPredicateFailure Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → MsdelegPredicateFailure → m MsdelegPredicateFailure Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → MsdelegPredicateFailure → m MsdelegPredicateFailure Source #

Generic MsdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep MsdelegPredicateFailureTypeType Source #

Show MsdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq MsdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

NoThunks MsdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep MsdelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep MsdelegPredicateFailure = D1 ('MetaData "MsdelegPredicateFailure" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "SDELEGFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PredicateFailure SDELEG))))

data DelegPredicateFailure Source #

Instances

Instances details
Data DelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → DelegPredicateFailure → c DelegPredicateFailure Source #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c DelegPredicateFailure Source #

toConstrDelegPredicateFailureConstr Source #

dataTypeOfDelegPredicateFailureDataType Source #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c DelegPredicateFailure) Source #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c DelegPredicateFailure) Source #

gmapT ∷ (∀ b. Data b ⇒ b → b) → DelegPredicateFailureDelegPredicateFailure Source #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → DelegPredicateFailure → r Source #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → DelegPredicateFailure → r Source #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → DelegPredicateFailure → [u] Source #

gmapQiInt → (∀ d. Data d ⇒ d → u) → DelegPredicateFailure → u Source #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → DelegPredicateFailure → m DelegPredicateFailure Source #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → DelegPredicateFailure → m DelegPredicateFailure Source #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → DelegPredicateFailure → m DelegPredicateFailure Source #

Generic DelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Associated Types

type Rep DelegPredicateFailureTypeType Source #

Show DelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

Eq DelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

NoThunks DelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DelegPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Ledger.Delegation

type Rep DelegPredicateFailure = D1 ('MetaData "DelegPredicateFailure" "Byron.Spec.Ledger.Delegation" "byron-spec-ledger-1.0.1.0-inplace" 'False) (C1 ('MetaCons "SDelegSFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PredicateFailure SDELEGS))) :+: C1 ('MetaCons "ADelegSFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PredicateFailure ADELEGS))))