EnactState

scalus.cardano.ledger.epoch.EnactState
case class EnactState(committee: Option[Committee], constitution: Constitution, params: ProtocolParams, withdrawals: Map[Credential, Coin], roots: GovRoots)

What the enactment of the ratified actions gives, the ledger's EnactState (eras/conway/impl/src/Cardano/Ledger/Conway/Governance/Internal.hs:131-141) without the treasury and the previous pparams, ledger-rules spec [DM-12a], D86. The treasury is a variable of one RATIFY run only (RATIFY sets it to 0 when the run ends, conway Rules/Ratify.hs:360), and the ledger never reads ensPrevPParams.

Value parameters

committee

the committee, or None after a NoConfidence

params

the current pparams with the enacted ParameterChange and HardForkInitiation actions applied

roots

the last enacted action of each purpose

withdrawals

the enacted treasury withdrawals, summed per credential, spec [EN-6]

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