cardano-ledger-conway-1.18.0.0: Cardano ledger with an updated on-chain governance system.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.Conway.UTxO

Synopsis

Documentation

conwayProducedValue ∷ (ConwayEraTxBody era, Value era ~ MaryValue (EraCrypto era)) ⇒ PParams era → (KeyHash 'StakePool (EraCrypto era) → Bool) → TxBody era → Value era Source #

txNonDistinctRefScriptsSize ∷ (EraTx era, BabbageEraTxBody era) ⇒ UTxO era → Tx era → Int Source #

Calculate the total size of reference scripts used by the transactions. Duplicate scripts will be counted as many times as they occur, since there is never a reason to include an input with the same reference script.

Any input that appears in both regular inputs and reference inputs of a transaction is only used once in this computation.

Orphan instances