Problem Statement
Crowdfunding misses events on partial cancellations, refund queue updates, milestone transitions.
Why it matters
Off-chain indexers rely on event completeness to power investor UIs.
Technical Context
Add events for: CampaignPaused, CampaignResumed, MilestoneApproved/Rejected, RefundBatchStarted, RefundBatchCompleted.
Expected Outcome
Every state transition has a corresponding event with topic fields.
Acceptance Criteria
- New events appear in
cargo contract events.
- SDK updated.
- New regression coverage in
tests/crowdfunding_events.rs.
- Doc updated.
Implementation Notes
Hand-add events; add doc.
Files or modules likely to be affected
contracts/crowdfunding/src/lib.rs.
Dependencies
None.
Difficulty level
MEDIUM.
Estimated effort
S (~1 day).
Problem Statement
Crowdfunding misses events on partial cancellations, refund queue updates, milestone transitions.
Why it matters
Off-chain indexers rely on event completeness to power investor UIs.
Technical Context
Add events for:
CampaignPaused,CampaignResumed,MilestoneApproved/Rejected,RefundBatchStarted,RefundBatchCompleted.Expected Outcome
Every state transition has a corresponding event with topic fields.
Acceptance Criteria
cargo contract events.tests/crowdfunding_events.rs.Implementation Notes
Hand-add events; add doc.
Files or modules likely to be affected
contracts/crowdfunding/src/lib.rs.Dependencies
None.
Difficulty level
MEDIUM.
Estimated effort
S (~1 day).