cardano/governance
Types
Constructors
- 
          Constitution { guardrails: Option<ScriptHash> }
Constructors
- 
          ProtocolParameters { ancestor: Option<GovernanceActionId>, new_parameters: ProtocolParametersUpdate, guardrails: Option<ScriptHash>, }.ancestorThe last governance action of type ‘ProtocolParameters’. They must all form a chain. 
 .new_parametersThe new proposed protocol parameters. Only values set to Someare relevant.
 .guardrailsThe optional guardrails script defined in the constitution. The script is executed by the ledger in addition to the hard-coded ledger rules. It must pass for the new protocol parameters to be deemed valid. 
 
- 
          HardFork { ancestor: Option<GovernanceActionId>, new_version: ProtocolVersion }.ancestorThe last governance action of type HardFork. They must all form a chain.
 .new_versionThe new proposed version. Few rules apply to proposing new versions: - The majorcomponent, if incremented, must be exactly one more than the current.
- The minorcomponent, if incremented, must be exactly one more than the current.
- If the majorcomponent is incremented,minormust be set to0.
- Neither minornormajorcan be decremented.
 
 
- The 
- 
          TreasuryWithdrawal { beneficiaries: Pairs<Credential, Lovelace>, guardrails: Option<ScriptHash>, }.beneficiariesA collection of beneficiaries, which can be plain verification key hashes or script hashes (e.g. DAO). 
 .guardrailsThe optional guardrails script defined in the constitution. The script is executed by the ledger in addition to the hard-coded ledger rules. It must pass for the withdrawals to be authorized. 
 
- 
          NoConfidence { ancestor: Option<GovernanceActionId> }.ancestorThe last governance action of type NoConfidenceorConstitutionalCommittee. They must all / form a chain.
 
- 
          ConstitutionalCommittee { ancestor: Option<GovernanceActionId>, evicted_members: List<Credential>, added_members: Pairs<Credential, Mandate>, quorum: Rational, }.ancestorThe last governance action of type NoConfidenceorConstitutionalCommittee. They must all / form a chain.
 .evicted_membersConstitutional members to be removed. 
 .added_membersConstitutional members to be added. 
 .quorumThe new quorum value, as a ratio of a numerator and a denominator. The quorum specifies the threshold of ‘Yes’ votes necessary for the constitutional committee to accept a proposal procedure. 
 
- 
          NewConstitution { ancestor: Option<GovernanceActionId>, constitution: Constitution, }.ancestorThe last governance action of type ConstitutionorConstitutionalCommittee. They must all / form a chain.
 .constitutionThe new proposed constitution. 
 
- 
          NicePoll
Constructors
- 
          GovernanceActionId { transaction: TransactionId, proposal_procedure: Index }
An epoch number after which constitutional committee member mandate expires.
Alias
Mandate = IntConstructors
- 
          ProposalProcedure { deposit: Lovelace, return_address: Credential, governance_action: GovernanceAction, }
Constructors
- 
          ProtocolVersion { major: Int, minor: Int }
Alias
TransactionId = Hash<Blake2b_256, ByteArray>Constructors
- 
          No
- 
          Yes
- 
          Abstain
Constructors
- 
          ConstitutionalCommitteeMember(Credential)
- 
          DelegateRepresentative(Credential)
- 
          StakePool(VerificationKeyHash)