Skip to content

feat: Add donor refund functionality for failed campaigns - #3

Open
syed-ghufran-hassan wants to merge 1 commit into
jadonamite:mainfrom
syed-ghufran-hassan:patch-3
Open

feat: Add donor refund functionality for failed campaigns#3
syed-ghufran-hassan wants to merge 1 commit into
jadonamite:mainfrom
syed-ghufran-hassan:patch-3

Conversation

@syed-ghufran-hassan

Copy link
Copy Markdown
  • Add refunded field to campaign tracking
  • Implement request-refund function for donors to reclaim funds
  • Add refunds map to prevent double refunding
  • Create can-refund read-only function for eligibility checks
  • Add validation to ensure refunds only after deadline and when goal not reached
  • Update campaign totals when refunds are processed
  • Add new error constants: err-refund-not-available, err-no-donations

- Add refunded field to campaign tracking
- Implement request-refund function for donors to reclaim funds
- Add refunds map to prevent double refunding
- Create can-refund read-only function for eligibility checks
- Add validation to ensure refunds only after deadline and when goal not reached
- Update campaign totals when refunds are processed
- Add new error constants: err-refund-not-available, err-no-donations
@vercel

vercel Bot commented Feb 20, 2026

Copy link
Copy Markdown

@syed-ghufran-hassan is attempting to deploy a commit to the Jadonamite's projects Team on Vercel.

A member of the Team first needs to authorize it.

@jadonamite

Copy link
Copy Markdown
Owner

valid commit but it is an indiegogo style format so i dont think it will be necessary but you can check out the new version of the contract tooo if you might see any fix

@jadonamite jadonamite left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice stuff actually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants