Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- conwayProducedValue ∷ (ConwayEraTxBody era, Value era ~ MaryValue) ⇒ PParams era → (KeyHash 'StakePool → Bool) → TxBody era → Value era
- getConwayWitsVKeyNeeded ∷ (EraTx era, ConwayEraTxBody era) ⇒ UTxO era → TxBody era → Set (KeyHash 'Witness)
- txNonDistinctRefScriptsSize ∷ (EraTx era, BabbageEraTxBody era) ⇒ UTxO era → Tx era → Int
Documentation
conwayProducedValue ∷ (ConwayEraTxBody era, Value era ~ MaryValue) ⇒ PParams era → (KeyHash 'StakePool → Bool) → TxBody era → Value era Source #
getConwayWitsVKeyNeeded ∷ (EraTx era, ConwayEraTxBody era) ⇒ UTxO era → TxBody era → Set (KeyHash 'Witness) 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.