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 #

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

toConstrEPOCH → Constr #

dataTypeOfEPOCHDataType #

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

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

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

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

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

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

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

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

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

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

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 #

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

toConstrEpochPredicateFailure → Constr #

dataTypeOfEpochPredicateFailureDataType #

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

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

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

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

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

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

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

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

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

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

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