Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data PParams era
- emptyPParams ∷ EraPParams era ⇒ PParams era
- type family UpgradePParams (f ∷ Type → Type) era
- upgradePParams ∷ (EraPParams era, EraPParams (PreviousEra era)) ⇒ UpgradePParams Identity era → PParams (PreviousEra era) → PParams era
- type family DowngradePParams (f ∷ Type → Type) era
- downgradePParams ∷ (EraPParams era, EraPParams (PreviousEra era)) ⇒ DowngradePParams Identity era → PParams era → PParams (PreviousEra era)
- data PParamsUpdate era
- emptyPParamsUpdate ∷ EraPParams era ⇒ PParamsUpdate era
- upgradePParamsUpdate ∷ (EraPParams era, EraPParams (PreviousEra era)) ⇒ UpgradePParams StrictMaybe era → PParamsUpdate (PreviousEra era) → PParamsUpdate era
- downgradePParamsUpdate ∷ (EraPParams era, EraPParams (PreviousEra era)) ⇒ DowngradePParams StrictMaybe era → PParamsUpdate era → PParamsUpdate (PreviousEra era)
- ppMinFeeAL ∷ EraPParams era ⇒ Lens' (PParams era) Coin
- ppuMinFeeAL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin)
- ppMinFeeBL ∷ EraPParams era ⇒ Lens' (PParams era) Coin
- ppuMinFeeBL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin)
- ppMaxBBSizeL ∷ EraPParams era ⇒ Lens' (PParams era) Word32
- ppuMaxBBSizeL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Word32)
- ppMaxBHSizeL ∷ EraPParams era ⇒ Lens' (PParams era) Word16
- ppuMaxBHSizeL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Word16)
- ppPoolDepositL ∷ EraPParams era ⇒ Lens' (PParams era) Coin
- ppuPoolDepositL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin)
- ppEMaxL ∷ EraPParams era ⇒ Lens' (PParams era) EpochInterval
- ppuEMaxL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe EpochInterval)
- ppNOptL ∷ EraPParams era ⇒ Lens' (PParams era) Word16
- ppuNOptL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Word16)
- ppA0L ∷ EraPParams era ⇒ Lens' (PParams era) NonNegativeInterval
- ppuA0L ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe NonNegativeInterval)
- ppTauL ∷ EraPParams era ⇒ Lens' (PParams era) UnitInterval
- ppuTauL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe UnitInterval)
- ppRhoL ∷ EraPParams era ⇒ Lens' (PParams era) UnitInterval
- ppuRhoL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe UnitInterval)
- ppDL ∷ (EraPParams era, ProtVerAtMost era 6) ⇒ Lens' (PParams era) UnitInterval
- ppDG ∷ EraPParams era ⇒ SimpleGetter (PParams era) UnitInterval
- ppuDL ∷ (EraPParams era, ProtVerAtMost era 6) ⇒ Lens' (PParamsUpdate era) (StrictMaybe UnitInterval)
- ppExtraEntropyL ∷ (EraPParams era, ProtVerAtMost era 6) ⇒ Lens' (PParams era) Nonce
- ppuExtraEntropyL ∷ (EraPParams era, ProtVerAtMost era 6) ⇒ Lens' (PParamsUpdate era) (StrictMaybe Nonce)
- ppProtocolVersionL ∷ EraPParams era ⇒ Lens' (PParams era) ProtVer
- ppuProtocolVersionL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe ProtVer)
- ppuMinUTxOValueL ∷ (EraPParams era, ProtVerAtMost era 4) ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin)
- ppMinUTxOValueL ∷ (EraPParams era, ProtVerAtMost era 4) ⇒ Lens' (PParams era) Coin
- ppMinPoolCostL ∷ EraPParams era ⇒ Lens' (PParams era) Coin
- ppuMinPoolCostL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin)
- ppKeyDepositL ∷ EraPParams era ⇒ Lens' (PParams era) Coin
- ppuKeyDepositL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin)
- ppMaxTxSizeL ∷ EraPParams era ⇒ Lens' (PParams era) Word32
- ppuMaxTxSizeL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Word32)
- data UpgradeAlonzoPParams (f ∷ Type → Type) = UpgradeAlonzoPParams {
- uappCoinsPerUTxOWord ∷ !(HKD f CoinPerWord)
- uappCostModels ∷ !(HKD f CostModels)
- uappPrices ∷ !(HKD f Prices)
- uappMaxTxExUnits ∷ !(HKD f ExUnits)
- uappMaxBlockExUnits ∷ !(HKD f ExUnits)
- uappMaxValSize ∷ !(HKD f Natural)
- uappCollateralPercentage ∷ !(HKD f Natural)
- uappMaxCollateralInputs ∷ !(HKD f Natural)
- newtype DowngradeAlonzoPParams (f ∷ Type → Type) = DowngradeAlonzoPParams {
- dappMinUTxOValue ∷ HKD f Coin
- data LangDepView = LangDepView {}
- getLanguageView ∷ AlonzoEraPParams era ⇒ PParams era → Language → LangDepView
- ppCostModelsL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) CostModels
- ppuCostModelsL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe CostModels)
- ppPricesL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) Prices
- ppuPricesL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Prices)
- ppMaxTxExUnitsL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) ExUnits
- ppuMaxTxExUnitsL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe ExUnits)
- ppMaxBlockExUnitsL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) ExUnits
- ppuMaxBlockExUnitsL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe ExUnits)
- ppMaxValSizeL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) Natural
- ppuMaxValSizeL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Natural)
- newtype CoinPerWord = CoinPerWord {}
- ppCoinsPerUTxOWordL ∷ (AlonzoEraPParams era, ExactEra AlonzoEra era) ⇒ Lens' (PParams era) CoinPerWord
- ppuCoinsPerUTxOWordL ∷ (AlonzoEraPParams era, ExactEra AlonzoEra era) ⇒ Lens' (PParamsUpdate era) (StrictMaybe CoinPerWord)
- ppCollateralPercentageL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) Natural
- ppuCollateralPercentageL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Natural)
- ppMaxCollateralInputsL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) Natural
- ppuMaxCollateralInputsL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Natural)
- data DowngradeBabbagePParams (f ∷ Type → Type) = DowngradeBabbagePParams {
- dbppD ∷ !(HKD f UnitInterval)
- dbppExtraEntropy ∷ !(HKD f Nonce)
- newtype CoinPerByte = CoinPerByte {}
- coinsPerUTxOWordToCoinsPerUTxOByte ∷ CoinPerWord → CoinPerByte
- coinsPerUTxOByteToCoinsPerUTxOWord ∷ CoinPerByte → CoinPerWord
- ppCoinsPerUTxOByteL ∷ BabbageEraPParams era ⇒ Lens' (PParams era) CoinPerByte
- ppuCoinsPerUTxOByteL ∷ BabbageEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe CoinPerByte)
- class (Era era, Eq (PParamsHKD Identity era), Ord (PParamsHKD Identity era), Show (PParamsHKD Identity era), NFData (PParamsHKD Identity era), EncCBOR (PParamsHKD Identity era), DecCBOR (PParamsHKD Identity era), ToCBOR (PParamsHKD Identity era), FromCBOR (PParamsHKD Identity era), NoThunks (PParamsHKD Identity era), ToJSON (PParamsHKD Identity era), FromJSON (PParamsHKD Identity era), Eq (PParamsHKD StrictMaybe era), Ord (PParamsHKD StrictMaybe era), Show (PParamsHKD StrictMaybe era), NFData (PParamsHKD StrictMaybe era), EncCBOR (PParamsHKD StrictMaybe era), DecCBOR (PParamsHKD StrictMaybe era), ToCBOR (PParamsHKD StrictMaybe era), FromCBOR (PParamsHKD StrictMaybe era), NoThunks (PParamsHKD StrictMaybe era), ToJSON (PParamsHKD StrictMaybe era)) ⇒ EraPParams era
- class EraPParams era ⇒ AlonzoEraPParams era
- class AlonzoEraPParams era ⇒ BabbageEraPParams era
PParams
Protocol parameters
Instances
emptyPParams ∷ EraPParams era ⇒ PParams era Source #
type family UpgradePParams (f ∷ Type → Type) era Source #
Instances
type UpgradePParams f AllegraEra | |
Defined in Cardano.Ledger.Allegra.PParams | |
type UpgradePParams f AlonzoEra | |
Defined in Cardano.Ledger.Alonzo.PParams | |
type UpgradePParams f BabbageEra | |
Defined in Cardano.Ledger.Babbage.PParams | |
type UpgradePParams f ConwayEra | |
Defined in Cardano.Ledger.Conway.PParams | |
type UpgradePParams f MaryEra | |
Defined in Cardano.Ledger.Mary.PParams | |
type UpgradePParams f ShelleyEra | |
Defined in Cardano.Ledger.Shelley.PParams |
upgradePParams ∷ (EraPParams era, EraPParams (PreviousEra era)) ⇒ UpgradePParams Identity era → PParams (PreviousEra era) → PParams era Source #
type family DowngradePParams (f ∷ Type → Type) era Source #
Instances
type DowngradePParams f AllegraEra | |
Defined in Cardano.Ledger.Allegra.PParams | |
type DowngradePParams f AlonzoEra | |
Defined in Cardano.Ledger.Alonzo.PParams | |
type DowngradePParams f BabbageEra | |
Defined in Cardano.Ledger.Babbage.PParams | |
type DowngradePParams f ConwayEra | |
Defined in Cardano.Ledger.Conway.PParams | |
type DowngradePParams f MaryEra | |
Defined in Cardano.Ledger.Mary.PParams | |
type DowngradePParams f ShelleyEra | |
Defined in Cardano.Ledger.Shelley.PParams |
downgradePParams ∷ (EraPParams era, EraPParams (PreviousEra era)) ⇒ DowngradePParams Identity era → PParams era → PParams (PreviousEra era) Source #
PParamsUpdate
data PParamsUpdate era Source #
The type of updates to Protocol parameters
Instances
emptyPParamsUpdate ∷ EraPParams era ⇒ PParamsUpdate era Source #
upgradePParamsUpdate ∷ (EraPParams era, EraPParams (PreviousEra era)) ⇒ UpgradePParams StrictMaybe era → PParamsUpdate (PreviousEra era) → PParamsUpdate era Source #
downgradePParamsUpdate ∷ (EraPParams era, EraPParams (PreviousEra era)) ⇒ DowngradePParams StrictMaybe era → PParamsUpdate era → PParamsUpdate (PreviousEra era) Source #
Shelley params
Protocol parameters introduced in Shelley era
MinFeeA
Min fee factor
ppMinFeeAL ∷ EraPParams era ⇒ Lens' (PParams era) Coin Source #
The linear factor for the minimum fee calculation
ppuMinFeeAL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin) Source #
The linear factor for the minimum fee calculation
MinFeeB
Min fee constant
ppMinFeeBL ∷ EraPParams era ⇒ Lens' (PParams era) Coin Source #
The constant factor for the minimum fee calculation
ppuMinFeeBL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin) Source #
The constant factor for the minimum fee calculation
MaxBBSize
Max block body size
ppMaxBBSizeL ∷ EraPParams era ⇒ Lens' (PParams era) Word32 Source #
Maximal block body size
ppuMaxBBSizeL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Word32) Source #
Maximal block body size
AaxBHSize
Max block header size
ppMaxBHSizeL ∷ EraPParams era ⇒ Lens' (PParams era) Word16 Source #
Maximal block header size
ppuMaxBHSizeL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Word16) Source #
Maximal block header size
PoolDeposit
Stake pool deposit
ppPoolDepositL ∷ EraPParams era ⇒ Lens' (PParams era) Coin Source #
The amount of a pool registration deposit
ppuPoolDepositL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin) Source #
The amount of a pool registration deposit
EMax
Epoch bound on pool retirement
ppEMaxL ∷ EraPParams era ⇒ Lens' (PParams era) EpochInterval Source #
epoch bound on pool retirement
ppuEMaxL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe EpochInterval) Source #
epoch bound on pool retirement
NOpt
Desired number of pools
ppuNOptL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Word16) Source #
Desired number of pools
A0
Pool influence
ppA0L ∷ EraPParams era ⇒ Lens' (PParams era) NonNegativeInterval Source #
Pool influence
ppuA0L ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe NonNegativeInterval) Source #
Pool influence
Tau
Treasury expansion
ppTauL ∷ EraPParams era ⇒ Lens' (PParams era) UnitInterval Source #
Treasury expansion
ppuTauL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe UnitInterval) Source #
Treasury expansion
Rho
Monetary expansion
ppRhoL ∷ EraPParams era ⇒ Lens' (PParams era) UnitInterval Source #
Monetary expansion
ppuRhoL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe UnitInterval) Source #
Monetary expansion
D
Decentralization paramteter
Note - Removed in Babbage
ppDL ∷ (EraPParams era, ProtVerAtMost era 6) ⇒ Lens' (PParams era) UnitInterval Source #
Decentralization parameter
ppDG ∷ EraPParams era ⇒ SimpleGetter (PParams era) UnitInterval Source #
Decentralization parameter getter
ppuDL ∷ (EraPParams era, ProtVerAtMost era 6) ⇒ Lens' (PParamsUpdate era) (StrictMaybe UnitInterval) Source #
Decentralization parameter
ExtraEntropy
Extra entropy
Note - Removed in Babbage
ppExtraEntropyL ∷ (EraPParams era, ProtVerAtMost era 6) ⇒ Lens' (PParams era) Nonce Source #
Extra entropy
ppuExtraEntropyL ∷ (EraPParams era, ProtVerAtMost era 6) ⇒ Lens' (PParamsUpdate era) (StrictMaybe Nonce) Source #
Extra entropy
ProtocolVersion
Protocol version
ppProtocolVersionL ∷ EraPParams era ⇒ Lens' (PParams era) ProtVer Source #
ppuProtocolVersionL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe ProtVer) Source #
PParamsUpdate Protocol version
MinUTxOValue
Minimum allowed value of a new TxOut
ppuMinUTxOValueL ∷ (EraPParams era, ProtVerAtMost era 4) ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin) Source #
Minimum UTxO value
ppMinUTxOValueL ∷ (EraPParams era, ProtVerAtMost era 4) ⇒ Lens' (PParams era) Coin Source #
Minimum UTxO value
MinPoolCast
Miminum allowed stake pool cost
ppMinPoolCostL ∷ EraPParams era ⇒ Lens' (PParams era) Coin Source #
Minimum Stake Pool Cost
ppuMinPoolCostL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin) Source #
Minimum Stake Pool Cost
KeyDeposit
ppKeyDepositL ∷ EraPParams era ⇒ Lens' (PParams era) Coin Source #
The amount of a key registration deposit
ppuKeyDepositL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Coin) Source #
The amount of a key registration deposit
MaxTxSize
ppMaxTxSizeL ∷ EraPParams era ⇒ Lens' (PParams era) Word32 Source #
Maximal transaction size
ppuMaxTxSizeL ∷ EraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Word32) Source #
Maximal transaction size
Alonzo params
Protocol parameters introduced in Alonzo era
data UpgradeAlonzoPParams (f ∷ Type → Type) Source #
Parameters that were added in Alonzo
UpgradeAlonzoPParams | |
|
Instances
newtype DowngradeAlonzoPParams (f ∷ Type → Type) Source #
Parameters that were removed in Alonzo
Instances
Generic (DowngradeAlonzoPParams f) | |
Defined in Cardano.Ledger.Alonzo.PParams from ∷ DowngradeAlonzoPParams f → Rep (DowngradeAlonzoPParams f) x Source # to ∷ Rep (DowngradeAlonzoPParams f) x → DowngradeAlonzoPParams f Source # | |
Show (DowngradeAlonzoPParams Identity) | |
NFData (DowngradeAlonzoPParams Identity) | |
Defined in Cardano.Ledger.Alonzo.PParams rnf ∷ DowngradeAlonzoPParams Identity → () Source # | |
Eq (DowngradeAlonzoPParams Identity) | |
NoThunks (DowngradeAlonzoPParams Identity) | |
type Rep (DowngradeAlonzoPParams f) | |
Defined in Cardano.Ledger.Alonzo.PParams type Rep (DowngradeAlonzoPParams f) = D1 ('MetaData "DowngradeAlonzoPParams" "Cardano.Ledger.Alonzo.PParams" "cardano-ledger-alonzo-1.13.0.0-inplace" 'True) (C1 ('MetaCons "DowngradeAlonzoPParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "dappMinUTxOValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HKD f Coin)))) |
data LangDepView Source #
Instances
getLanguageView ∷ AlonzoEraPParams era ⇒ PParams era → Language → LangDepView Source #
CostModels
Plutus CostModels
To convert resource primitives into the more abstract
ExUnits
during script execution a cost model needs to be
supplied to the interpreter. The cost models required for this purpose are recorded
in the CostModels
protocol parameter.
ppCostModelsL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) CostModels Source #
ppuCostModelsL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe CostModels) Source #
Prices
The calculation of the actual cost, in Ada, of running a script that takes
ExUnits
resources to run, is done by a formula in the
ledger rules, which uses the Prices
parameter
ppuPricesL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Prices) Source #
MaxTxExUnits
Limit the total per-transaction resource use for phase-2 scripts.
ppMaxTxExUnitsL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) ExUnits Source #
ppuMaxTxExUnitsL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe ExUnits) Source #
MaxBlockExUnits
Limit the total per-transaction and per-block resource use for phase-2 scripts.
ppMaxBlockExUnitsL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) ExUnits Source #
ppuMaxBlockExUnitsL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe ExUnits) Source #
MaxValSize
The new parameter maxValSize replaces the constant maxValSize
used Mary era to
limit the size of the Value part of an output in a serialised transaction.
ppMaxValSizeL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) Natural Source #
ppuMaxValSizeL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Natural) Source #
CoinsPerUTxOWord
In Alonzo, the protocol parameter minUTxOValue
is deprecated, and replaced by
coinsPerUTxOWord
. This specifies directly the deposit required for storing bytes of
data on the ledger in the form of UTxO entries.
newtype CoinPerWord Source #
Instances
ppCoinsPerUTxOWordL ∷ (AlonzoEraPParams era, ExactEra AlonzoEra era) ⇒ Lens' (PParams era) CoinPerWord Source #
ppuCoinsPerUTxOWordL ∷ (AlonzoEraPParams era, ExactEra AlonzoEra era) ⇒ Lens' (PParamsUpdate era) (StrictMaybe CoinPerWord) Source #
CollateralPercentage
The parameter collateralPercent is used to specify the percentage of the total transaction fee its collateral must (at minimum) cover.
ppCollateralPercentageL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) Natural Source #
ppuCollateralPercentageL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Natural) Source #
MaxCollateralInputs
The parameter maxCollateralInputs
is used to limit, additionally, the total number
of collateral inputs, and thus the total number of additional signatures that must be
checked during validation.
ppMaxCollateralInputsL ∷ AlonzoEraPParams era ⇒ Lens' (PParams era) Natural Source #
ppuMaxCollateralInputsL ∷ AlonzoEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe Natural) Source #
Babbage params
Protocol parameters introduced in Babbage era
data DowngradeBabbagePParams (f ∷ Type → Type) Source #
DowngradeBabbagePParams | |
|
CoinsPerUTxOByte
Cost in the amount of lovelace ber byte.
Note - This parameter is a replacement for coinsPerUTxOWord
newtype CoinPerByte Source #
Instances
coinsPerUTxOWordToCoinsPerUTxOByte ∷ CoinPerWord → CoinPerByte Source #
A word is 8 bytes, so convert from coinsPerUTxOWord to coinsPerUTxOByte, rounding down.
coinsPerUTxOByteToCoinsPerUTxOWord ∷ CoinPerByte → CoinPerWord Source #
A word is 8 bytes, so convert from coinsPerUTxOByte to coinsPerUTxOWord.
ppCoinsPerUTxOByteL ∷ BabbageEraPParams era ⇒ Lens' (PParams era) CoinPerByte Source #
ppuCoinsPerUTxOByteL ∷ BabbageEraPParams era ⇒ Lens' (PParamsUpdate era) (StrictMaybe CoinPerByte) Source #
Type classes
class (Era era, Eq (PParamsHKD Identity era), Ord (PParamsHKD Identity era), Show (PParamsHKD Identity era), NFData (PParamsHKD Identity era), EncCBOR (PParamsHKD Identity era), DecCBOR (PParamsHKD Identity era), ToCBOR (PParamsHKD Identity era), FromCBOR (PParamsHKD Identity era), NoThunks (PParamsHKD Identity era), ToJSON (PParamsHKD Identity era), FromJSON (PParamsHKD Identity era), Eq (PParamsHKD StrictMaybe era), Ord (PParamsHKD StrictMaybe era), Show (PParamsHKD StrictMaybe era), NFData (PParamsHKD StrictMaybe era), EncCBOR (PParamsHKD StrictMaybe era), DecCBOR (PParamsHKD StrictMaybe era), ToCBOR (PParamsHKD StrictMaybe era), FromCBOR (PParamsHKD StrictMaybe era), NoThunks (PParamsHKD StrictMaybe era), ToJSON (PParamsHKD StrictMaybe era)) ⇒ EraPParams era Source #
emptyPParamsIdentity, emptyPParamsStrictMaybe, upgradePParamsHKD, downgradePParamsHKD, hkdMinFeeAL, hkdMinFeeBL, hkdMaxBBSizeL, hkdMaxTxSizeL, hkdMaxBHSizeL, hkdKeyDepositL, hkdPoolDepositL, hkdEMaxL, hkdNOptL, hkdA0L, hkdRhoL, hkdTauL, hkdDL, hkdExtraEntropyL, hkdProtocolVersionL, hkdMinUTxOValueL, hkdMinPoolCostL
class EraPParams era ⇒ AlonzoEraPParams era Source #
hkdCoinsPerUTxOWordL, hkdCostModelsL, hkdPricesL, hkdMaxTxExUnitsL, hkdMaxBlockExUnitsL, hkdMaxValSizeL, hkdCollateralPercentageL, hkdMaxCollateralInputsL
Instances
AlonzoEraPParams AlonzoEra | |
Defined in Cardano.Ledger.Alonzo.PParams hkdCoinsPerUTxOWordL ∷ ∀ (f ∷ Type → Type). (HKDFunctor f, ExactEra AlonzoEra AlonzoEra) ⇒ Lens' (PParamsHKD f AlonzoEra) (HKD f CoinPerWord) Source # hkdCostModelsL ∷ ∀ (f ∷ Type → Type). HKDFunctor f ⇒ Lens' (PParamsHKD f AlonzoEra) (HKD f CostModels) Source # hkdPricesL ∷ ∀ (f ∷ Type → Type). HKDFunctor f ⇒ Lens' (PParamsHKD f AlonzoEra) (HKD f Prices) Source # hkdMaxTxExUnitsL ∷ ∀ (f ∷ Type → Type). HKDFunctor f ⇒ Lens' (PParamsHKD f AlonzoEra) (HKD f ExUnits) Source # hkdMaxBlockExUnitsL ∷ ∀ (f ∷ Type → Type). HKDFunctor f ⇒ Lens' (PParamsHKD f AlonzoEra) (HKD f ExUnits) Source # hkdMaxValSizeL ∷ ∀ (f ∷ Type → Type). HKDFunctor f ⇒ Lens' (PParamsHKD f AlonzoEra) (HKD f Natural) Source # hkdCollateralPercentageL ∷ ∀ (f ∷ Type → Type). HKDFunctor f ⇒ Lens' (PParamsHKD f AlonzoEra) (HKD f Natural) Source # hkdMaxCollateralInputsL ∷ ∀ (f ∷ Type → Type). HKDFunctor f ⇒ Lens' (PParamsHKD f AlonzoEra) (HKD f Natural) Source # |
class AlonzoEraPParams era ⇒ BabbageEraPParams era Source #
Instances
BabbageEraPParams BabbageEra | |
Defined in Cardano.Ledger.Babbage.PParams hkdCoinsPerUTxOByteL ∷ ∀ (f ∷ Type → Type). HKDFunctor f ⇒ Lens' (PParamsHKD f BabbageEra) (HKD f CoinPerByte) Source # |