cardano-ledger-shelley-1.11.0.0: Shelley Ledger Executable Model
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.Shelley.Rules.Snap

Synopsis

Documentation

data ShelleySNAP era Source #

Instances

Instances details
EraTxOut era ⇒ STS (ShelleySNAP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

Associated Types

type State (ShelleySNAP era) Source #

type Signal (ShelleySNAP era) Source #

type Environment (ShelleySNAP era) Source #

type BaseM (ShelleySNAP era) ∷ TypeType Source #

type Event (ShelleySNAP era) Source #

type PredicateFailure (ShelleySNAP era) Source #

(EraTxOut era, PredicateFailure (EraRule "SNAP" era) ~ ShelleySnapPredFailure era, Event (EraRule "SNAP" era) ~ SnapEvent era) ⇒ Embed (ShelleySNAP era) (ShelleyEPOCH era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type BaseM (ShelleySNAP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type Environment (ShelleySNAP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type Event (ShelleySNAP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type Event (ShelleySNAP era) = SnapEvent era
type PredicateFailure (ShelleySNAP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type Signal (ShelleySNAP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type Signal (ShelleySNAP era) = ()
type State (ShelleySNAP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type family PredicateFailure 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 (ShelleyBBODY era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Bbody

type PredicateFailure (ShelleyDELEG era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Deleg

type PredicateFailure (ShelleyDELEGS era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delegs

type PredicateFailure (ShelleyDELPL era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delpl

type PredicateFailure (ShelleyEPOCH era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type PredicateFailure (ShelleyLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledger

type PredicateFailure (ShelleyLEDGERS era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type PredicateFailure (ShelleyMIR era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Mir

type PredicateFailure (ShelleyNEWEPOCH era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.NewEpoch

type PredicateFailure (ShelleyNEWPP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Newpp

type PredicateFailure (ShelleyPOOL era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Pool

type PredicateFailure (ShelleyPOOLREAP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.PoolReap

type PredicateFailure (ShelleyPPUP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type PredicateFailure (ShelleyRUPD era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Rupd

type PredicateFailure (ShelleySNAP era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type PredicateFailure (ShelleyTICK era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

type PredicateFailure (ShelleyTICKF era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

type PredicateFailure (ShelleyUPEC era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Upec

type PredicateFailure (ShelleyUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxo

type PredicateFailure (ShelleyUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxow

type PredicateFailure (STUB e st si f m) 
Instance details

Defined in Control.State.Transition.Extended

type PredicateFailure (STUB e st si f m) = f

data ShelleySnapPredFailure era Source #

Instances

Instances details
Generic (ShelleySnapPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

Associated Types

type Rep (ShelleySnapPredFailure era) ∷ TypeType Source #

Show (ShelleySnapPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

NFData (ShelleySnapPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

Methods

rnfShelleySnapPredFailure era → () Source #

Eq (ShelleySnapPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

NoThunks (ShelleySnapPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type Rep (ShelleySnapPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type Rep (ShelleySnapPredFailure era) = D1 ('MetaData "ShelleySnapPredFailure" "Cardano.Ledger.Shelley.Rules.Snap" "cardano-ledger-shelley-1.11.0.0-inplace" 'False) (V1TypeType)

newtype SnapEvent era Source #

Instances

Instances details
Generic (SnapEvent era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

Associated Types

type Rep (SnapEvent era) ∷ TypeType Source #

Methods

fromSnapEvent era → Rep (SnapEvent era) x Source #

toRep (SnapEvent era) x → SnapEvent era Source #

NFData (SnapEvent era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

Methods

rnfSnapEvent era → () Source #

Eq (SnapEvent era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

Methods

(==)SnapEvent era → SnapEvent era → Bool Source #

(/=)SnapEvent era → SnapEvent era → Bool Source #

type Rep (SnapEvent era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type Rep (SnapEvent era) = D1 ('MetaData "SnapEvent" "Cardano.Ledger.Shelley.Rules.Snap" "cardano-ledger-shelley-1.11.0.0-inplace" 'True) (C1 ('MetaCons "StakeDistEvent" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map (Credential 'Staking (EraCrypto era)) (Coin, KeyHash 'StakePool (EraCrypto era))))))

data SnapEnv era Source #

Constructors

SnapEnv !(LedgerState era) !(PParams era) 

Orphan instances