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