Skip to content

. Add token governance voting #226

Description

@DeFiVC

What: Add on-chain governance voting using token balances as voting power.

Why: Decentralized governance requires token-weighted voting. Important for protocol upgrades.

Scope: Add Proposal struct with description, choices, start/end time. Add create_proposal, vote, execute_proposal functions. Use token snapshots for voting power.

Acceptance criteria:

  • Proposals can be created
  • Token holders can vote
  • Voting power is token-weighted
  • Proposals can be executed

Technical context: contracts/learn-token/src/lib.rs — token functions.


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