Skip to content

Implement SDK method for hasVoted #561

Description

@Levi-Ojukwu

Description:

The SDK needs a method to check if an address has voted on a proposal.

Why it matters: Voting UIs need to show vote status.

Acceptance Criteria:

  • Create hasVoted(voter, proposalId) view method
  • Add tests

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


Metadata

Metadata

Assignees

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