Overview
Token holders in a tokenized asset can vote on governance proposals (e.g., "Should we sell the asset?", "Approve the new lease terms?"). This interface shows open proposals, vote counts, and allows token holders to cast weighted votes. Depends on BE-63.
Context
- Route: Add a "Governance" tab to tokenized asset detail pages
- API endpoints (from BE-63):
POST /stellar/assets/:id/votes, POST /stellar/assets/:id/votes/:proposalId/cast, GET /stellar/assets/:id/votes
- Vote weight = caller's token balance
Acceptance Criteria
Overview
Token holders in a tokenized asset can vote on governance proposals (e.g., "Should we sell the asset?", "Approve the new lease terms?"). This interface shows open proposals, vote counts, and allows token holders to cast weighted votes. Depends on BE-63.
Context
POST /stellar/assets/:id/votes,POST /stellar/assets/:id/votes/:proposalId/cast,GET /stellar/assets/:id/votesAcceptance Criteria
POST /stellar/assets/:id/votes