byron-spec-chain-1.0.1.0: Executable specification of the Cardano blockchain
Safe HaskellSafe-Inferred
LanguageHaskell2010

Byron.Spec.Chain.STS.Rule.Epoch

Synopsis

Documentation

sEpochHasCallStackSlotBlockCountEpoch Source #

Compute the epoch for the given _absolute_ slot and chain stability parameter.

data EPOCH Source #

Instances

Instances details
Data EPOCH Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

Methods

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

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

toConstrEPOCHConstr Source #

dataTypeOfEPOCHDataType Source #

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

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

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

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

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

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

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

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

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

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

STS EPOCH Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

Embed EPOCH CHAIN Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Chain

Embed UPIEC EPOCH Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

type BaseM EPOCH Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

type Environment EPOCH Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

type Event EPOCH Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

type PredicateFailure EPOCH Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

type Signal EPOCH Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

type State EPOCH Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

data EpochPredicateFailure Source #

Instances

Instances details
Data EpochPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

Methods

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

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

toConstrEpochPredicateFailureConstr Source #

dataTypeOfEpochPredicateFailureDataType Source #

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

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

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

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

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

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

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

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

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

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

Show EpochPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch

Eq EpochPredicateFailure Source # 
Instance details

Defined in Byron.Spec.Chain.STS.Rule.Epoch