Skip to content

Add SDK governance vetoProposal and disableVetoPower methods #472

Description

@Levi-Ojukwu

Description:

The governance contract has admin veto functionality. The SDK needs methods for:

  1. vetoProposal(proposalId, reasonHash) — admin blocks a proposal
  2. disableVetoPower() — permanently disables admin veto (one-way switch)

Why it matters: Veto power is a critical safety mechanism that needs SDK support.

Acceptance Criteria:

  • Create both methods with proper authentication
  • Handle VetoPowerDisabled and NotVetoable errors
  • Add tests

Relevant Files: contracts/iln_governance/src/lib.rs:736-821, sdk/src/methods/governance.ts


Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions