ProtocolParams

scalus.ledger.babbage.ProtocolParams
See theProtocolParams companion object
case class ProtocolParams(collateralPercentage: Long, costModels: Map[String, Seq[Long]], decentralization: Option[Double], executionUnitPrices: ExecutionUnitPrices, extraPraosEntropy: Option[String], maxBlockBodySize: Long, maxBlockExecutionUnits: MaxBlockExecutionUnits, maxBlockHeaderSize: Long, maxCollateralInputs: Long, maxTxExecutionUnits: MaxTxExecutionUnits, maxTxSize: Long, maxValueSize: Long, minPoolCost: Long, minUTxOValue: Option[Long], monetaryExpansion: Double, poolPledgeInfluence: Double, poolRetireMaxEpoch: Long, protocolVersion: ProtocolVersion, stakeAddressDeposit: Long, stakePoolDeposit: Long, stakePoolTargetNum: Long, treasuryCut: Double, txFeeFixed: Long, txFeePerByte: Long, utxoCostPerByte: Long, utxoCostPerWord: Option[Long])

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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product