shelley-spec-ledger-0.1.0.0
Safe HaskellNone
LanguageHaskell98

Shelley.Spec.Ledger.STS.Pool

Synopsis

Documentation

data POOL (era :: Type) Source #

Instances

Instances details
Typeable era => STS (POOL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

Associated Types

type State (POOL era) Source #

type Signal (POOL era) Source #

type Environment (POOL era) Source #

type BaseM (POOL era) :: Type -> Type Source #

type PredicateFailure (POOL era) = (b :: Type) Source #

Era era => Embed (POOL era) (DELPL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Delpl

type PredicateFailure (POOL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

type BaseM (POOL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

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

Defined in Shelley.Spec.Ledger.STS.Pool

type Environment (POOL era) = PoolEnv era
type Signal (POOL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

type Signal (POOL era) = DCert (Crypto era)
type State (POOL era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

type State (POOL era) = PState (Crypto era)

data PoolEnv era Source #

Constructors

PoolEnv SlotNo (PParams era) 

Instances

Instances details
Eq (PoolEnv era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

Methods

(==) :: PoolEnv era -> PoolEnv era -> Bool #

(/=) :: PoolEnv era -> PoolEnv era -> Bool #

Show (PoolEnv era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

Methods

showsPrec :: Int -> PoolEnv era -> ShowS #

show :: PoolEnv era -> String #

showList :: [PoolEnv era] -> 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 PoolPredicateFailure era Source #

Instances

Instances details
Eq (PoolPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

Show (PoolPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

Generic (PoolPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

Associated Types

type Rep (PoolPredicateFailure era) :: Type -> Type #

(Typeable era, Era era) => ToCBOR (PoolPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

Era era => FromCBOR (PoolPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

NoThunks (PoolPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

type Rep (PoolPredicateFailure era) Source # 
Instance details

Defined in Shelley.Spec.Ledger.STS.Pool

type Rep (PoolPredicateFailure era) = D1 ('MetaData "PoolPredicateFailure" "Shelley.Spec.Ledger.STS.Pool" "shelley-spec-ledger-0.1.0.0-Is3EknyvW92LxCl96jGQVW" 'False) ((C1 ('MetaCons "StakePoolNotRegisteredOnKeyPOOL" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (KeyHash 'StakePool (Crypto era)))) :+: C1 ('MetaCons "StakePoolRetirementWrongEpochPOOL" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))) :+: (C1 ('MetaCons "WrongCertificateTypePOOL" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word8)) :+: C1 ('MetaCons "StakePoolCostTooLowPOOL" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Coin) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Coin))))