Skip to content

Implement get_milestone view function #199

@ayshadogo

Description

@ayshadogo

User Story:
As a donor, I want to read milestone data from the contract so that I can verify funding release conditions independently.
Acceptance Criteria:

  • fn get_milestone(env: Env, index: u32) -> MilestoneData
  • Panics with Error::MilestoneNotFound if index out of range
  • Returns full MilestoneData including status
  • No auth required

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions