cardano-ledger-shelley-0.1.0.0
Safe Haskell None
Language Haskell2010

Cardano.Ledger.Shelley.Rules.Ppup

Synopsis

Documentation

data PPUP era Source #

Instances

Instances details
( Typeable era, HasField "_protocolVersion" ( PParams era) ProtVer , HasField "_protocolVersion" ( PParamsDelta era) ( StrictMaybe ProtVer )) => STS ( PPUP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

( Era era, STS ( PPUP era), PredicateFailure ( EraRule "PPUP" era) ~ PpupPredicateFailure era, Event ( EraRule "PPUP" era) ~ PpupEvent era) => Embed ( PPUP era) ( UTXO era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxo

type PredicateFailure ( PPUP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type Event ( PPUP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type Event ( PPUP era) = PpupEvent era
type BaseM ( PPUP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type Environment ( PPUP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type Signal ( PPUP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type State ( PPUP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type State ( PPUP era) = PPUPState era

data PpupPredicateFailure era Source #

Instances

Instances details
Eq ( PpupPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

Show ( PpupPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

Generic ( PpupPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

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

Defined in Cardano.Ledger.Shelley.Rules.Ppup

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

Defined in Cardano.Ledger.Shelley.Rules.Ppup

NoThunks ( PpupPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

PredicateFailure ( EraRule "PPUP" era) ~ PpupPredicateFailure era => Inject ( PpupPredicateFailure era) ( UtxoPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxo

type Rep ( PpupPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

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

Instances details
type PredicateFailure ( SNAP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

type PredicateFailure ( RUPD era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Rupd

type PredicateFailure ( PPUP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type PredicateFailure ( UTXO era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxo

type PredicateFailure ( UTXOW era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxow

type PredicateFailure ( POOLREAP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.PoolReap

type PredicateFailure ( POOL era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Pool

type PredicateFailure ( NEWPP era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Newpp

type PredicateFailure ( UPEC era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Upec

type PredicateFailure ( MIR era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Mir

type PredicateFailure ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type PredicateFailure ( DELEG era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Deleg

type PredicateFailure ( DELPL era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delpl

type PredicateFailure ( DELEGS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delegs

type PredicateFailure ( LEDGER era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledger

type PredicateFailure ( LEDGERS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type PredicateFailure ( BBODY era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Bbody

type PredicateFailure ( NEWEPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.NewEpoch

type PredicateFailure ( TICKF era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

type PredicateFailure ( TICK era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

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 VotingPeriod Source #

Instances

Instances details
Eq VotingPeriod Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

Show VotingPeriod Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

Generic VotingPeriod Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

ToCBOR VotingPeriod Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

FromCBOR VotingPeriod Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

NoThunks VotingPeriod Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type Rep VotingPeriod Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

type Rep VotingPeriod = D1 (' MetaData "VotingPeriod" "Cardano.Ledger.Shelley.Rules.Ppup" "cardano-ledger-shelley-0.1.0.0-4LNBTpyKcsy6EW18a3tTt2" ' False ) ( C1 (' MetaCons "VoteForThisEpoch" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "VoteForNextEpoch" ' PrefixI ' False ) ( U1 :: Type -> Type ))