scalus.ledger.babbage

Members list

Type members

Classlikes

case class DRepVotingThresholds(committeeNoConfidence: Double, committeeNormal: Double, hardForkInitiation: Double, motionNoConfidence: Double, ppEconomicGroup: Double, ppGovGroup: Double, ppNetworkGroup: Double, ppTechnicalGroup: Double, treasuryWithdrawal: Double, updateToConstitution: Double)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait PlutusParams

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Plutus V1 cost model parameters.

Plutus V1 cost model parameters.

The names of the fields are taken from https://github.com/input-output-hk/plutus/blob/1.40.0.0/plutus-ledger-api/src/PlutusLedgerApi/V1/ParamName.hs and Blockfrost Protocol Parameters JSON uses these names as well in blockfrost-params-epoch-544.json

But what's really important is the order of the fields because that's the order of the parameters in the protocol parameters array.

Attributes

Companion
object
Supertypes
trait PlutusParams
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Plutus V2 cost model parameters.

Plutus V2 cost model parameters.

The names of the fields are taken from https://github.com/input-output-hk/plutus/blob/1.40.0.0/plutus-ledger-api/src/PlutusLedgerApi/V2/ParamName.hs and Blockfrost Protocol Parameters JSON uses these names as well in blockfrost-params-epoch-544.json

But what's really important is the order of the fields because that's the order of the parameters in the protocol parameters array.

Attributes

Companion
object
Supertypes
trait PlutusParams
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Plutus V3 cost model parameters.

Plutus V3 cost model parameters.

The names of the fields are taken from https://github.com/input-output-hk/plutus/blob/1.40.0.0/plutus-ledger-api/src/PlutusLedgerApi/V3/ParamName.hs and Blockfrost Protocol Parameters JSON uses these names as well in blockfrost-params-epoch-544.json

But what's really important is the order of the fields because that's the order of the parameters in the protocol parameters array.

Attributes

Companion
object
Supertypes
trait PlutusParams
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
case class PoolVotingThresholds(committeeNoConfidence: Double, committeeNormal: Double, hardForkInitiation: Double, motionNoConfidence: Double, ppSecurityGroup: Double)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ProtocolParams(collateralPercentage: Long, committeeMaxTermLength: Long, committeeMinSize: Long, costModels: Map[String, IndexedSeq[Long]], dRepActivity: Long, dRepDeposit: Long, dRepVotingThresholds: DRepVotingThresholds, executionUnitPrices: ExUnitPrices, govActionDeposit: Long, govActionLifetime: Long, maxBlockBodySize: Long, maxBlockExecutionUnits: ExUnits, maxBlockHeaderSize: Long, maxCollateralInputs: Long, maxTxExecutionUnits: ExUnits, maxTxSize: Long, maxValueSize: Long, minFeeRefScriptCostPerByte: Long, minPoolCost: Long, monetaryExpansion: Double, poolPledgeInfluence: Double, poolRetireMaxEpoch: Long, poolVotingThresholds: PoolVotingThresholds, protocolVersion: ProtocolVersion, stakeAddressDeposit: Long, stakePoolDeposit: Long, stakePoolTargetNum: Long, treasuryCut: Double, txFeeFixed: Long, txFeePerByte: Long, utxoCostPerByte: Long)

Protocol parameters for the Cardano blockchain of Babbage era Field names are taken from the cardano-cli query protocol-parameters output

Protocol parameters for the Cardano blockchain of Babbage era Field names are taken from the cardano-cli query protocol-parameters output

Attributes

Note

These names are different from CIP-55, don't ask me why.

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type