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
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) -> MilestoneDataError::MilestoneNotFoundif index out of rangeMilestoneDataincluding status