Skip to content

[CONTRACTS] Implement claim_bounty escrow release for #2#10

Open
liangtovi-debug wants to merge 1 commit into
issueflow-buidl:mainfrom
liangtovi-debug:feat/claim-bounty-issue-2
Open

[CONTRACTS] Implement claim_bounty escrow release for #2#10
liangtovi-debug wants to merge 1 commit into
issueflow-buidl:mainfrom
liangtovi-debug:feat/claim-bounty-issue-2

Conversation

@liangtovi-debug
Copy link
Copy Markdown

Summary

  • implement claim_bounty to release escrowed USDC to contributor after maintainer approval
  • load bounty from issue+maintainer key and fail closed when missing
  • clear bounty mapping entry after payout to prevent double claims
  • add token-backed regression tests for payout flow and double-claim prevention

Testing

  • cd contracts/bounty && cargo test

Refs #2

@liangtovi-debug
Copy link
Copy Markdown
Author

Friendly follow-up for maintainers: this PR is ready for review and includes token-backed tests for claim flow + double-claim prevention. Happy to revise quickly if you want any contract/API changes.

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.

1 participant