shelley-spec-ledger-0.1.0.0
Safe HaskellNone
LanguageHaskell98

Shelley.Spec.Ledger.STS.Tick

Synopsis

Documentation

data TICK era Source #

Instances

Instances details
ShelleyBased era ⇒ STS (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Associated Types

type State (TICK era) Source #

type Signal (TICK era) Source #

type Environment (TICK era) Source #

type BaseM (TICK era) ∷ TypeType Source #

type PredicateFailure (TICK era) = (b ∷ Type) Source #

ShelleyBased era ⇒ Embed (RUPD era) (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

ShelleyBased era ⇒ Embed (NEWEPOCH era) (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

(Era era, ShelleyBased era, STS (TICK era)) ⇒ Embed (TICK era) (CHAIN era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Chain

type PredicateFailure (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type BaseM (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type BaseM (TICK era) = ShelleyBase
type Environment (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type Environment (TICK era) = ()
type Signal (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type Signal (TICK era) = SlotNo
type State (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type State (TICK era) = NewEpochState era

type family State a Source #

Type of the state which the system transitions between.

Instances

Instances details
type State TICKN Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tickn

type State (UPDN crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

type State (UPDN crypto) = UpdnState
type State (SNAP era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Snap

type State (SNAP era) = SnapShots era
type State (RUPD era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Rupd

type State (RUPD era) = StrictMaybe (RewardUpdate era)
type State (PPUP era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ppup

type State (PPUP era) = PPUPState era
type State (UTXO (ShelleyEra c)) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Utxo

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

Defined in Shelley.Spec.Ledger.STS.Utxow

type State (POOLREAP era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.PoolReap

type State (POOLREAP era) = PoolreapState era
type State (POOL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

type State (POOL era) = PState era
type State (NEWPP era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Newpp

type State (NEWPP era) = NewppState era
type State (MIR era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Mir

type State (MIR era) = EpochState era
type State (EPOCH era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Epoch

type State (EPOCH era) = EpochState era
type State (NEWEPOCH era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.NewEpoch

type State (NEWEPOCH era) = NewEpochState era
type State (TICKF era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type State (TICKF era) = NewEpochState era
type State (TICK era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type State (TICK era) = NewEpochState era
type State (DELEG era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Deleg

type State (DELEG era) = DState era
type State (DELPL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delpl

type State (DELPL era) = DPState era
type State (DELEGS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

type State (DELEGS era) = DPState era
type State (LEDGER era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledger

type State (LEDGER era) = (UTxOState era, DPState era)
type State (LEDGERS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

type State (LEDGERS era) = LedgerState era
type State (OCERT crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ocert

type State (OCERT crypto) = Map (KeyHash 'BlockIssuer crypto) Word64
type State (OVERLAY crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Overlay

type State (OVERLAY crypto) = Map (KeyHash 'BlockIssuer crypto) Word64
type State (PRTCL crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Prtcl

type State (PRTCL crypto) = PrtclState crypto
type State (BBODY era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Bbody

type State (BBODY era) = BbodyState era
type State (CHAIN era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Chain

type State (CHAIN era) = ChainState era

data TickPredicateFailure era Source #

Instances

Instances details
Eq (TickPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Show (TickPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Generic (TickPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Associated Types

type Rep (TickPredicateFailure era) ∷ TypeType #

NoThunks (TickPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Methods

noThunks ∷ Context → TickPredicateFailure era → IO (Maybe ThunkInfo)

wNoThunks ∷ Context → TickPredicateFailure era → IO (Maybe ThunkInfo)

showTypeOfProxy (TickPredicateFailure era) → String

type Rep (TickPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type Rep (TickPredicateFailure era) = D1 ('MetaData "TickPredicateFailure" "Shelley.Spec.Ledger.STS.Tick" "shelley-spec-ledger-0.1.0.0-inplace" 'False) (C1 ('MetaCons "NewEpochFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PredicateFailure (NEWEPOCH era)))) :+: C1 ('MetaCons "RupdFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PredicateFailure (RUPD era)))))

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

data TICKF era Source #

Instances

Instances details
ShelleyBased era ⇒ STS (TICKF era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Associated Types

type State (TICKF era) Source #

type Signal (TICKF era) Source #

type Environment (TICKF era) Source #

type BaseM (TICKF era) ∷ TypeType Source #

type PredicateFailure (TICKF era) = (b ∷ Type) Source #

ShelleyBased era ⇒ Embed (NEWEPOCH era) (TICKF era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type PredicateFailure (TICKF era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type BaseM (TICKF era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type BaseM (TICKF era) = ShelleyBase
type Environment (TICKF era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type Environment (TICKF era) = ()
type Signal (TICKF era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type Signal (TICKF era) = SlotNo
type State (TICKF era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type State (TICKF era) = NewEpochState era

data TickfPredicateFailure era Source #

Instances

Instances details
Eq (TickfPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Show (TickfPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Generic (TickfPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Associated Types

type Rep (TickfPredicateFailure era) ∷ TypeType #

NoThunks (TickfPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

Methods

noThunks ∷ Context → TickfPredicateFailure era → IO (Maybe ThunkInfo)

wNoThunks ∷ Context → TickfPredicateFailure era → IO (Maybe ThunkInfo)

showTypeOfProxy (TickfPredicateFailure era) → String

type Rep (TickfPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Tick

type Rep (TickfPredicateFailure era) = D1 ('MetaData "TickfPredicateFailure" "Shelley.Spec.Ledger.STS.Tick" "shelley-spec-ledger-0.1.0.0-inplace" 'False) (C1 ('MetaCons "TickfNewEpochFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PredicateFailure (NEWEPOCH era)))))