cardano-ledger-alonzo-0.1.0.0: Cardano ledger introducing Plutus Core
Safe Haskell None
Language Haskell2010

Cardano.Ledger.Alonzo.Rules.Bbody

Synopsis

Documentation

data AlonzoBBODY era Source #

The uninhabited type that marks the STS Alonzo Era instance.

Instances

Instances details
( Era era, BaseM ledgers ~ ShelleyBase , ledgers ~ EraRule "LEDGERS" era, STS ledgers, DSignable ( Crypto era) ( Hash ( Crypto era) EraIndependentTxBody ), Era era) => Embed ledgers ( AlonzoBBODY era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

( DSignable ( Crypto era) ( Hash ( Crypto era) EraIndependentTxBody ), Embed ( EraRule "LEDGERS" era) ( AlonzoBBODY era), Environment ( EraRule "LEDGERS" era) ~ LedgersEnv era, State ( EraRule "LEDGERS" era) ~ LedgerState era, Signal ( EraRule "LEDGERS" era) ~ Seq ( ValidatedTx era), Era era, Tx era ~ ValidatedTx era, HasField "_d" ( PParams era) UnitInterval , HasField "_maxBlockExUnits" ( PParams era) ExUnits , TxSeq era ~ TxSeq era, Tx era ~ ValidatedTx era, Witnesses era ~ TxWitness era, SupportsSegWit era) => STS ( AlonzoBBODY era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

type State ( AlonzoBBODY era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

type Event ( AlonzoBBODY era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

type PredicateFailure ( AlonzoBBODY era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

type BaseM ( AlonzoBBODY era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

type Environment ( AlonzoBBODY era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

type Signal ( AlonzoBBODY era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

data AlonzoBbodyPredFail era Source #

Constructors

ShelleyInAlonzoPredFail ( BbodyPredicateFailure era)
TooManyExUnits

Fields

  • ! ExUnits

    Computed Sum of ExUnits for all plutus scripts

  • ! ExUnits

    Maximum allowed by protocal parameters

Instances

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

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

( Era era, Show ( PredicateFailure ( EraRule "LEDGERS" era))) => Show ( AlonzoBbodyPredFail era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

Generic ( AlonzoBbodyPredFail era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

( Typeable era, ToCBOR ( BbodyPredicateFailure era)) => ToCBOR ( AlonzoBbodyPredFail era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

( Typeable era, FromCBOR ( BbodyPredicateFailure era)) => FromCBOR ( AlonzoBbodyPredFail era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

( Era era, NoThunks ( PredicateFailure ( EraRule "LEDGERS" era))) => NoThunks ( AlonzoBbodyPredFail era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

type Rep ( AlonzoBbodyPredFail era) Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

bbodyTransition :: forall (someBBODY :: Type -> Type ) era. ( STS (someBBODY era), Signal (someBBODY era) ~ Block ( BHeaderView ( Crypto era)) era, PredicateFailure (someBBODY era) ~ AlonzoBbodyPredFail era, BaseM (someBBODY era) ~ ShelleyBase , State (someBBODY era) ~ BbodyState era, Environment (someBBODY era) ~ BbodyEnv era, Embed ( EraRule "LEDGERS" era) (someBBODY era), Environment ( EraRule "LEDGERS" era) ~ LedgersEnv era, State ( EraRule "LEDGERS" era) ~ LedgerState era, Signal ( EraRule "LEDGERS" era) ~ Seq ( Tx era), HasField "_d" ( PParams era) UnitInterval , HasField "_maxBlockExUnits" ( PParams era) ExUnits , Era era, TxSeq era ~ TxSeq era, Tx era ~ ValidatedTx era, Witnesses era ~ TxWitness era) => TransitionRule (someBBODY era) Source #