Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ShelleyPOOLREAP era
- data ShelleyPoolreapEvent era = RetiredPools {}
- data ShelleyPoolreapState era = PoolreapState {
- prUTxOSt ∷ UTxOState era
- prAccountState ∷ AccountState
- prDState ∷ DState era
- prPState ∷ PState era
- newtype ShelleyPoolreapEnv era = ShelleyPoolreapEnv {}
- type family PredicateFailure a
- data ShelleyPoolreapPredFailure era
- prAcnt ∷ ShelleyPoolreapState era → AccountState
Documentation
data ShelleyPOOLREAP era Source #
Instances
data ShelleyPoolreapEvent era Source #
Instances
data ShelleyPoolreapState era Source #
PoolreapState | |
|
Instances
Show (UTxOState era) ⇒ Show (ShelleyPoolreapState era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap | |
Default (UTxOState era) ⇒ Default (ShelleyPoolreapState era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap def ∷ ShelleyPoolreapState era Source # |
newtype ShelleyPoolreapEnv era Source #
Instances
Show (PParams era) ⇒ Show (ShelleyPoolreapEnv era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap | |
Eq (PParams era) ⇒ Eq (ShelleyPoolreapEnv era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap (==) ∷ ShelleyPoolreapEnv era → ShelleyPoolreapEnv era → Bool Source # (/=) ∷ ShelleyPoolreapEnv era → ShelleyPoolreapEnv era → Bool Source # |
type family PredicateFailure a Source #
Descriptive type for the possible failures which might cause a transition to fail.
As a convention, PredicateFailure
s 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 PredicateFailure
s 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
data ShelleyPoolreapPredFailure era Source #
Instances
Generic (ShelleyPoolreapPredFailure era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap from ∷ ShelleyPoolreapPredFailure era → Rep (ShelleyPoolreapPredFailure era) x Source # to ∷ Rep (ShelleyPoolreapPredFailure era) x → ShelleyPoolreapPredFailure era Source # | |
Show (ShelleyPoolreapPredFailure era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap | |
NFData (ShelleyPoolreapPredFailure era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap rnf ∷ ShelleyPoolreapPredFailure era → () Source # | |
Eq (ShelleyPoolreapPredFailure era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap (==) ∷ ShelleyPoolreapPredFailure era → ShelleyPoolreapPredFailure era → Bool Source # (/=) ∷ ShelleyPoolreapPredFailure era → ShelleyPoolreapPredFailure era → Bool Source # | |
NoThunks (ShelleyPoolreapPredFailure era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap | |
type Rep (ShelleyPoolreapPredFailure era) Source # | |
Defined in Cardano.Ledger.Shelley.Rules.PoolReap |
Deprecations
prAcnt ∷ ShelleyPoolreapState era → AccountState Source #
Deprecated: Use prAccountState
instead
Orphan instances
(Default (ShelleyPoolreapState era), EraPParams era, EraGov era) ⇒ STS (ShelleyPOOLREAP era) Source # | |
type State (ShelleyPOOLREAP era) Source # type Signal (ShelleyPOOLREAP era) Source # type Environment (ShelleyPOOLREAP era) Source # type BaseM (ShelleyPOOLREAP era) ∷ Type → Type Source # type Event (ShelleyPOOLREAP era) Source # type PredicateFailure (ShelleyPOOLREAP era) Source # initialRules ∷ [InitialRule (ShelleyPOOLREAP era)] Source # transitionRules ∷ [TransitionRule (ShelleyPOOLREAP era)] Source # assertions ∷ [Assertion (ShelleyPOOLREAP era)] Source # renderAssertionViolation ∷ AssertionViolation (ShelleyPOOLREAP era) → String Source # |