Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data AlonzoTx era = AlonzoTx {
- body ∷ !(TxBody era)
- wits ∷ !(TxWits era)
- isValid ∷ !IsValid
- auxiliaryData ∷ !(StrictMaybe (TxAuxData era))
- class (EraTx era, AlonzoEraTxBody era, AlonzoEraTxWits era, AlonzoEraScript era) ⇒ AlonzoEraTx era where
- isValidTxL ∷ Lens' (Tx era) IsValid
- tierRefScriptFee ∷ HasCallStack ⇒ Rational → Int → Rational → Int → Coin
- refScriptCostStride ∷ Int
- refScriptCostMultiplier ∷ Rational
Documentation
AlonzoTx | |
|
Instances
class (EraTx era, AlonzoEraTxBody era, AlonzoEraTxWits era, AlonzoEraScript era) ⇒ AlonzoEraTx era where Source #
Instances
AlonzoEraTx AlonzoEra | |
Defined in Cardano.Ledger.Alonzo.Tx | |
AlonzoEraTx ConwayEra Source # | |
Defined in Cardano.Ledger.Conway.Tx |
∷ HasCallStack | |
⇒ Rational | Growth factor or step multiplier |
→ Int | Increment size in which price grows linearly according to the price |
→ Rational | Base fee. Currently this is customizable by |
→ Int | Total RefScript size in bytes |
→ Coin |
Calculate the fee for reference scripts using an expoential growth of the price per byte with linear increments
refScriptCostStride ∷ Int Source #
25 KiB