scalus.cardano.ledger.VotingState
See theVotingState companion object
case class VotingState(dreps: Map[Credential, DRepState], numDormantEpochs: EpochNo, committeeState: Map[Credential, CommitteeAuthorization])
The voting state, the Haskell VState.
Value parameters
- committeeState
-
the authorization of each committee cold credential that has one,
vsCommitteeStateof the ledger, spec [DM-1]. It is the third field, not the second as in Haskell, so that the product accessors of the earlier fields keep their types (D29). - numDormantEpochs
-
the number of epochs in a row with no active proposal,
vsNumDormantEpochsof the ledger, spec [DM-3]. A tx with a proposal adds it to the DRep expiries and resets it (eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Certs.hs:313-333), spec [DR-3].
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article