cardano-ledger-dijkstra-0.3.0.0: Cardano ledger with nested transactions
Safe HaskellNone
LanguageHaskell2010

Cardano.Ledger.Dijkstra.UTxO

Synopsis

Documentation

dijkstraConsumed ∷ ∀ era (l ∷ TxLevel). EraUTxO era ⇒ PParams era → UTxO era → TxBody l era → Value era Source #

Unlike shelleyConsumed, this function does not need access to Accounts to produce accurate information about refunds, hence is this simplification. Note that using shelleyConsumed in Dijkstra era onwards will produce the same result as this one.

getDijkstraScriptsProvided ∷ ∀ era (l ∷ TxLevel). (EraTx era, DijkstraEraTxBody era, STxLevel l era ~ STxBothLevels l era) ⇒ UTxO era → Tx l era → ScriptsProvided era Source #

Like getBabbageScriptsProvided, but for TopTx also aggregates scripts from all subtransactions.

batchNonDistinctRefScriptsSize ∷ (EraTx era, DijkstraEraTxBody era) ⇒ UTxO era → Tx 'TopTx era → Int Source #

Total size of reference scripts across a top-level transaction and all its subtransactions.

Orphan instances

AlonzoEraUTxO DijkstraEra Source # 
Instance details

EraUTxO DijkstraEra Source # 
Instance details