GovActionState

scalus.cardano.ledger.GovActionState
case class GovActionState(id: GovActionId, committeeVotes: Map[Credential, Vote], drepVotes: Map[Credential, Vote], spoVotes: Map[PoolKeyHash, Vote], procedure: ProposalProcedure, proposedIn: EpochNo, expiresAfter: EpochNo)

A proposal in the gov state with its votes, the ledger's GovActionState (eras/conway/impl/src/Cardano/Ledger/Conway/Governance/Procedures.hs:213-221), spec [DM-6]. The fields are in the ledger's order.

Value parameters

committeeVotes

the votes of the committee, keyed by the hot credential

expiresAfter

the last epoch in which the proposal can be ratified

proposedIn

the epoch of the tx that made the proposal

Attributes

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

Members list

Value members

Concrete methods

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product