shelley-spec-ledger-0.1.0.0
Safe HaskellNone
LanguageHaskell98

Shelley.Spec.Ledger.STS.Ledgers

Synopsis

Documentation

data LEDGERS era Source #

Instances

Instances details
(Era era, ShelleyBased era, Embed (LEDGER era) (LEDGERS era), DSignable (Crypto era) (Hash (Crypto era) EraIndependentTxBody)) ⇒ STS (LEDGERS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

Associated Types

type State (LEDGERS era) Source #

type Signal (LEDGERS era) Source #

type Environment (LEDGERS era) Source #

type BaseM (LEDGERS era) ∷ TypeType Source #

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

(Era era, STS (LEDGER era), ShelleyBased era, DSignable (Crypto era) (Hash (Crypto era) EraIndependentTxBody), Environment (UTXO era) ~ UtxoEnv era, State (UTXO era) ~ UTxOState era) ⇒ Embed (LEDGER era) (LEDGERS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

(Era era, STS (LEDGERS era), DSignable (Crypto era) (Hash (Crypto era) EraIndependentTxBody), ShelleyBased era) ⇒ Embed (LEDGERS era) (BBODY era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Bbody

type PredicateFailure (LEDGERS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

type BaseM (LEDGERS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

type Environment (LEDGERS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

type Environment (LEDGERS era) = LedgersEnv era
type Signal (LEDGERS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

type Signal (LEDGERS era) = Seq (Tx era)
type State (LEDGERS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

type State (LEDGERS era) = LedgerState era

data LedgersPredicateFailure era Source #

Constructors

LedgerFailure (PredicateFailure (LEDGER era)) 

Instances

Instances details
(ShelleyBased era, Eq (PredicateFailure (LEDGER era))) ⇒ Eq (LedgersPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

(ShelleyBased era, Show (PredicateFailure (LEDGER era))) ⇒ Show (LedgersPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

Generic (LedgersPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

Associated Types

type Rep (LedgersPredicateFailure era) ∷ TypeType #

(ShelleyBased era, ToCBOR (PredicateFailure (LEDGER era))) ⇒ ToCBOR (LedgersPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

(ShelleyBased era, FromCBOR (PredicateFailure (LEDGER era))) ⇒ FromCBOR (LedgersPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

(ShelleyBased era, NoThunks (PredicateFailure (LEDGER era))) ⇒ NoThunks (LedgersPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

Methods

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

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

showTypeOfProxy (LedgersPredicateFailure era) → String

type Rep (LedgersPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledgers

type Rep (LedgersPredicateFailure era) = D1 ('MetaData "LedgersPredicateFailure" "Shelley.Spec.Ledger.STS.Ledgers" "shelley-spec-ledger-0.1.0.0-inplace" 'False) (C1 ('MetaCons "LedgerFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PredicateFailure (LEDGER 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