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

Cardano.Ledger.Shelley.Rules.Ledgers

Synopsis

Documentation

data LEDGERS era Source #

Instances

Instances details
( Era era, Embed ( EraRule "LEDGER" era) ( LEDGERS era), Environment ( EraRule "LEDGER" era) ~ LedgerEnv era, State ( EraRule "LEDGER" era) ~ LedgerState era, Signal ( EraRule "LEDGER" era) ~ Tx era, DSignable ( Crypto era) ( Hash ( Crypto era) EraIndependentTxBody ), Default ( LedgerState era)) => STS ( LEDGERS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

( Era era, STS ( LEDGER era), PredicateFailure ( EraRule "LEDGER" era) ~ LedgerPredicateFailure era, Event ( EraRule "LEDGER" era) ~ LedgerEvent era) => Embed ( LEDGER era) ( LEDGERS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type PredicateFailure ( LEDGERS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type Event ( LEDGERS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type BaseM ( LEDGERS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type Environment ( LEDGERS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type Signal ( LEDGERS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type Signal ( LEDGERS era) = Seq ( Tx era)
type State ( LEDGERS era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

newtype LedgersPredicateFailure era Source #

Constructors

LedgerFailure ( PredicateFailure ( EraRule "LEDGER" era))

Instances

Instances details
( Era era, Eq ( PredicateFailure ( EraRule "LEDGER" era))) => Eq ( LedgersPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

( Era era, Show ( PredicateFailure ( EraRule "LEDGER" era))) => Show ( LedgersPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

Generic ( LedgersPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

( Era era, ToCBOR ( PredicateFailure ( EraRule "LEDGER" era))) => ToCBOR ( LedgersPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

( Era era, FromCBOR ( PredicateFailure ( EraRule "LEDGER" era))) => FromCBOR ( LedgersPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

( Era era, NoThunks ( PredicateFailure ( EraRule "LEDGER" era))) => NoThunks ( LedgersPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type Rep ( LedgersPredicateFailure era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

type Rep ( LedgersPredicateFailure era) = D1 (' MetaData "LedgersPredicateFailure" "Cardano.Ledger.Shelley.Rules.Ledgers" "cardano-ledger-shelley-0.1.0.0-4LNBTpyKcsy6EW18a3tTt2" ' True ) ( C1 (' MetaCons "LedgerFailure" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( PredicateFailure ( EraRule "LEDGER" era)))))

newtype LedgersEvent era Source #

Constructors

LedgerEvent ( Event ( EraRule "LEDGER" era))

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