GovernanceActionType

class cometa.proposal_procedures.governance_action_type.GovernanceActionType(value)[source]

Bases: IntEnum

Represents the different types of governance actions within the Cardano blockchain.

These actions are part of Cardano’s on-chain governance system (CIP-1694).

PARAMETER_CHANGE = 0

Updates one or more updatable protocol parameters, excluding hard forks.

HARD_FORK_INITIATION = 1

Initiates a non-backwards compatible upgrade of the network.

TREASURY_WITHDRAWALS = 2

Withdraws funds from the treasury.

NO_CONFIDENCE = 3

Proposes a state of no-confidence in the current constitutional committee.

UPDATE_COMMITTEE = 4

Modifies the composition of the constitutional committee.

NEW_CONSTITUTION = 5

Changes or amends the Constitution.

INFO = 6

An informational action with no direct effect on the blockchain.

to_string()[source]

Returns a human-readable string representation of this governance action type.

Returns:

A string representation of the governance action type.

Return type:

str

Example

>>> from cometa.proposal_procedures import GovernanceActionType
>>> action_type = GovernanceActionType.PARAMETER_CHANGE
>>> action_type.to_string()
'Parameter Change'