Skip to content

Implement campaign deadline enforcement in donate #193

@ayshadogo

Description

@ayshadogo

User Story:
As a developer, I want donations rejected after the campaign deadline so that the contract enforces time-bound fundraising.
Acceptance Criteria:

  • env.ledger().timestamp() > campaign.end_time check in donate
  • Panics with Error::CampaignEnded
  • Deadline checked on every donation
  • Atomic check-and-transfer to prevent race conditions

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

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