shelley-spec-ledger-0.1.0.0
Safe HaskellNone
LanguageHaskell98

Shelley.Spec.Ledger.STS.Updn

Synopsis

Documentation

data UPDN crypto Source #

Instances

Instances details
Crypto crypto ⇒ STS (UPDN crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

Associated Types

type State (UPDN crypto) Source #

type Signal (UPDN crypto) Source #

type Environment (UPDN crypto) Source #

type BaseM (UPDN crypto) ∷ TypeType Source #

type PredicateFailure (UPDN crypto) = (b ∷ Type) Source #

(Crypto crypto, DSignable crypto (OCertSignable crypto), KESignable crypto (BHBody crypto), VRFSignable crypto Seed) ⇒ Embed (UPDN crypto) (PRTCL crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Prtcl

Methods

wrapFailedPredicateFailure (UPDN crypto) → PredicateFailure (PRTCL crypto) Source #

type PredicateFailure (UPDN crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

type BaseM (UPDN crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

type BaseM (UPDN crypto) = ShelleyBase
type Environment (UPDN crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

type Environment (UPDN crypto) = UpdnEnv
type Signal (UPDN crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

type Signal (UPDN crypto) = SlotNo
type State (UPDN crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

type State (UPDN crypto) = UpdnState

newtype UpdnEnv Source #

Constructors

UpdnEnv Nonce

New nonce

data UpdnState Source #

Constructors

UpdnState Nonce Nonce 

Instances

Instances details
Eq UpdnState Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

Methods

(==)UpdnStateUpdnStateBool #

(/=)UpdnStateUpdnStateBool #

Show UpdnState Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

Methods

showsPrecIntUpdnStateShowS #

showUpdnStateString #

showList ∷ [UpdnState] → ShowS #

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 UpdnPredicateFailure crypto Source #

Instances

Instances details
Eq (UpdnPredicateFailure crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

Methods

(==)UpdnPredicateFailure crypto → UpdnPredicateFailure crypto → Bool #

(/=)UpdnPredicateFailure crypto → UpdnPredicateFailure crypto → Bool #

Show (UpdnPredicateFailure crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

Generic (UpdnPredicateFailure crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

Associated Types

type Rep (UpdnPredicateFailure crypto) ∷ TypeType #

Methods

fromUpdnPredicateFailure crypto → Rep (UpdnPredicateFailure crypto) x #

toRep (UpdnPredicateFailure crypto) x → UpdnPredicateFailure crypto #

NoThunks (UpdnPredicateFailure crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

Methods

noThunks ∷ Context → UpdnPredicateFailure crypto → IO (Maybe ThunkInfo)

wNoThunks ∷ Context → UpdnPredicateFailure crypto → IO (Maybe ThunkInfo)

showTypeOfProxy (UpdnPredicateFailure crypto) → String

type Rep (UpdnPredicateFailure crypto) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Updn

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