shelley-spec-ledger-0.1.0.0
Safe HaskellNone
LanguageHaskell98

Shelley.Spec.Ledger.STS.Tickn

Synopsis

Documentation

data TicknEnv Source #

Constructors

TicknEnv 

Fields

data TicknState Source #

Instances

Instances details
Eq TicknState Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Methods

(==)TicknStateTicknStateBool #

(/=)TicknStateTicknStateBool #

Show TicknState Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Generic TicknState Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Associated Types

type Rep TicknStateTypeType #

ToCBOR TicknState Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Methods

toCBORTicknStateEncoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TicknStateSize Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [TicknState] → Size Source #

FromCBOR TicknState Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

NoThunks TicknState Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Methods

noThunks ∷ Context → TicknStateIO (Maybe ThunkInfo)

wNoThunks ∷ Context → TicknStateIO (Maybe ThunkInfo)

showTypeOfProxy TicknStateString

type Rep TicknState Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

type Rep TicknState = D1 ('MetaData "TicknState" "Shelley.Spec.Ledger.STS.Tickn" "shelley-spec-ledger-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TicknState" 'PrefixI 'True) (S1 ('MetaSel ('Just "ticknStateEpochNonce") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Nonce) :*: S1 ('MetaSel ('Just "ticknStatePrevHashNonce") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Nonce)))

data TicknPredicateFailure Source #

Instances

Instances details
Eq TicknPredicateFailure Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Show TicknPredicateFailure Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Generic TicknPredicateFailure Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Associated Types

type Rep TicknPredicateFailureTypeType #

NoThunks TicknPredicateFailure Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

Methods

noThunks ∷ Context → TicknPredicateFailureIO (Maybe ThunkInfo)

wNoThunks ∷ Context → TicknPredicateFailureIO (Maybe ThunkInfo)

showTypeOfProxy TicknPredicateFailureString

type Rep TicknPredicateFailure Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

type Rep TicknPredicateFailure = D1 ('MetaData "TicknPredicateFailure" "Shelley.Spec.Ledger.STS.Tickn" "shelley-spec-ledger-0.1.0.0-inplace" 'False) (V1TypeType)

type family PredicateFailure a = (b ∷ Type) | b → a Source #

Descriptive type for the possible failures which might cause a transition to fail.

As a convention, PredicateFailures which are "structural" (meaning that they are not "throwable" in practice, and are used to pass control from one transition rule to another) are prefixed with S_.

Structural PredicateFailures represent conditions between rules where the disjunction of all rules' preconditions is equal to True. That is, either one rule will throw a structural PredicateFailure and the other will succeed, or vice-versa.

Instances

Instances details
type PredicateFailure TICKN Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

type PredicateFailure (UPDN crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

type PredicateFailure (SNAP era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Snap

type PredicateFailure (RUPD era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Rupd

type PredicateFailure (PPUP era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ppup

type PredicateFailure (UTXO (ShelleyEra c)) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Utxo

type PredicateFailure (UTXOW (ShelleyEra c)) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Utxow

type PredicateFailure (POOLREAP era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.PoolReap

type PredicateFailure (POOL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

type PredicateFailure (NEWPP era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Newpp

type PredicateFailure (MIR era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Mir

type PredicateFailure (EPOCH era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Epoch

type PredicateFailure (NEWEPOCH era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.NewEpoch

type PredicateFailure (TICKF era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type PredicateFailure (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type PredicateFailure (DELEG era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Deleg

type PredicateFailure (DELPL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delpl

type PredicateFailure (DELEGS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

type PredicateFailure (LEDGER era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledger

type PredicateFailure (LEDGERS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

type PredicateFailure (OCERT crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ocert

type PredicateFailure (OVERLAY crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Overlay

type PredicateFailure (PRTCL crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Prtcl

type PredicateFailure (BBODY era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Bbody

type PredicateFailure (CHAIN era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Chain