shelley-spec-ledger-0.1.0.0
Safe HaskellNone
LanguageHaskell98

Shelley.Spec.Ledger.STS.Delegs

Synopsis

Documentation

data DELEGS era Source #

Instances

Instances details
(Era era, ShelleyBased era, HasField "wdrls" (TxBody era) (Wdrl era)) ⇒ STS (DELEGS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

Associated Types

type State (DELEGS era) Source #

type Signal (DELEGS era) Source #

type Environment (DELEGS era) Source #

type BaseM (DELEGS era) ∷ TypeType Source #

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

(Era era, ShelleyBased era, HasField "wdrls" (TxBody era) (Wdrl era)) ⇒ Embed (DELPL era) (DELEGS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

(ShelleyBased era, STS (DELEGS era)) ⇒ Embed (DELEGS era) (LEDGER era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Ledger

type PredicateFailure (DELEGS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

type BaseM (DELEGS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

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

Defined in Shelley.Spec.Ledger.STS.Delegs

type Environment (DELEGS era) = DelegsEnv era
type Signal (DELEGS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

type Signal (DELEGS era) = Seq (DCert era)
type State (DELEGS era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

type State (DELEGS era) = DPState era

data DelegsEnv era Source #

Constructors

DelegsEnv 

Instances

Instances details
ShelleyBased era ⇒ Show (DelegsEnv era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

Methods

showsPrecIntDelegsEnv era → ShowS #

showDelegsEnv era → String #

showList ∷ [DelegsEnv era] → ShowS #

data DelegsPredicateFailure era Source #

Instances

Instances details
Eq (DelegsPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

Show (DelegsPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

Generic (DelegsPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

Associated Types

type Rep (DelegsPredicateFailure era) ∷ TypeType #

(Typeable era, Era era, Typeable (Script era)) ⇒ ToCBOR (DelegsPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

(Era era, Typeable (Script era)) ⇒ FromCBOR (DelegsPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

NoThunks (DelegsPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

Methods

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

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

showTypeOfProxy (DelegsPredicateFailure era) → String

type Rep (DelegsPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delegs

type Rep (DelegsPredicateFailure era) = D1 ('MetaData "DelegsPredicateFailure" "Shelley.Spec.Ledger.STS.Delegs" "shelley-spec-ledger-0.1.0.0-inplace" 'False) (C1 ('MetaCons "DelegateeNotRegisteredDELEG" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (KeyHash 'StakePool (Crypto era)))) :+: (C1 ('MetaCons "WithdrawalsNotInRewardsDELEGS" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map (RewardAcnt era) Coin))) :+: C1 ('MetaCons "DelplFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PredicateFailure (DELPL 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