EpochState

scalus.cardano.ledger.epoch.EpochState
final case class EpochState

The node's EpochState (eras/shelley/impl/src/Cardano/Ledger/Shelley/LedgerState/Types.hs:66-75) with the parts of the node's ConwayGovState (eras/conway/impl/src/Cardano/Ledger/Conway/Governance.hs:245-252) that only epoch boundaries write, D122.

In the node, params, prevParams, futureParams and the ratify pulser live in the gov state of ledgerState. Here they sit beside it: the Scalus GovState holds only the part the tx rules read and write, D27, and the current pparams stay in the validation context, spec [DM-7].

Value parameters

accountState

the treasury and the reserves, esChainAccountState

futureParams

the pparams the next boundary adopts, cgsFuturePParams, D125

ledgerState

the ledger state of the tx rules, esLState

nonMyopic

the pool-ranking data, esNonMyopic; always NonMyopic.empty, D124

params

the current pparams, cgsCurPParams

pendingRatify

the ratify result the next boundary enacts, the result of cgsDRepPulsingState

prevParams

the pparams before the last boundary, cgsPrevPParams

snapshots

the stake snapshots and the fee snapshot, esSnapshots

Attributes

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