Skip to main content

GovAction

The GovAction type represents different kinds of governance actions in the system.

ParameterChange​

Represents a change in governance parameters.

FieldDescription
govActionIdOptional reference to the governance action.
changedParametersMap of changed parameters.
constitutionScriptHashOptional constitution script hash associated with the change.

HardForkInitiation​

Initiates a protocol version upgrade (hard fork).

FieldDescription
govActionIdOptional reference to the governance action.
nextProtocolVersionThe next protocol version for the hard fork.

TreasuryWithdrawals​

Handles withdrawals from the treasury.

FieldDescription
withdrawalsMap of credentials to withdrawal amounts.
constitutionScriptHashOptional constitution script hash associated with the withdrawals.

NoConfidence​

Signals a no-confidence vote.

FieldDescription
govActionIdOptional reference to the governance action.

UpdateCommittee​

Updates committee membership and quorum.

FieldDescription
govActionIdOptional reference to the governance action.
removedList of credentials being removed from the committee.
newMembersMap of new members and their weights.
newQuorumNew quorum ratio as a rational number.

NewConstitution​

Introduces a new constitution.

FieldDescription
govActionIdOptional reference to the governance action.
infoConstitution information.

InfoAction​

Represents a purely informational governance action.

info

Not yet defined