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

Cardano.Ledger.Shelley.Rules.Epoch

Synopsis

Documentation

data EPOCH era Source #

Instances

Instances details
( UsesTxOut era, UsesValue era, Embed ( EraRule "SNAP" era) ( EPOCH era), Environment ( EraRule "SNAP" era) ~ LedgerState era, State ( EraRule "SNAP" era) ~ SnapShots ( Crypto era), Signal ( EraRule "SNAP" era) ~ (), Embed ( EraRule "POOLREAP" era) ( EPOCH era), Environment ( EraRule "POOLREAP" era) ~ PParams era, State ( EraRule "POOLREAP" era) ~ PoolreapState era, Signal ( EraRule "POOLREAP" era) ~ EpochNo , Embed ( EraRule "UPEC" era) ( EPOCH era), Environment ( EraRule "UPEC" era) ~ EpochState era, State ( EraRule "UPEC" era) ~ UpecState era, Signal ( EraRule "UPEC" era) ~ (), Default ( State ( EraRule "PPUP" era)), Default ( PParams era), HasField "_keyDeposit" ( PParams era) Coin , HasField "_poolDeposit" ( PParams era) Coin ) => STS ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

( UsesTxOut era, UsesValue era, PredicateFailure ( EraRule "SNAP" era) ~ SnapPredicateFailure era, Event ( EraRule "SNAP" era) ~ SnapEvent era) => Embed ( SNAP era) ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

( Era era, STS ( POOLREAP era), PredicateFailure ( EraRule "POOLREAP" era) ~ PoolreapPredicateFailure era, Event ( EraRule "POOLREAP" era) ~ PoolreapEvent era) => Embed ( POOLREAP era) ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

( Era era, STS ( UPEC era), PredicateFailure ( EraRule "UPEC" era) ~ UpecPredicateFailure era, Event ( EraRule "UPEC" era) ~ Void ) => Embed ( UPEC era) ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

( UsesTxOut era, UsesValue era, STS ( EPOCH era), PredicateFailure ( EraRule "EPOCH" era) ~ EpochPredicateFailure era, Event ( EraRule "EPOCH" era) ~ EpochEvent era) => Embed ( EPOCH era) ( NEWEPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.NewEpoch

type PredicateFailure ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type Event ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type BaseM ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type Environment ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type Environment ( EPOCH era) = ()
type Signal ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type State ( EPOCH era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

data EpochPredicateFailure era Source #

Instances

Instances details
( Eq ( PredicateFailure ( EraRule "POOLREAP" era)), Eq ( PredicateFailure ( EraRule "SNAP" era)), Eq ( PredicateFailure ( EraRule "UPEC" era))) => Eq ( EpochPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

( Show ( PredicateFailure ( EraRule "POOLREAP" era)), Show ( PredicateFailure ( EraRule "SNAP" era)), Show ( PredicateFailure ( EraRule "UPEC" era))) => Show ( EpochPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

Generic ( EpochPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

( NoThunks ( PredicateFailure ( EraRule "POOLREAP" era)), NoThunks ( PredicateFailure ( EraRule "SNAP" era)), NoThunks ( PredicateFailure ( EraRule "UPEC" era))) => NoThunks ( EpochPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

type Rep ( EpochPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

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