Skip to content

Add split payout support for multiple PR contributors#36

Open
mateoalifraco wants to merge 1 commit into
skndash96:mainfrom
mateoalifraco:codex/bountic-payout-splits
Open

Add split payout support for multiple PR contributors#36
mateoalifraco wants to merge 1 commit into
skndash96:mainfrom
mateoalifraco:codex/bountic-payout-splits

Conversation

@mateoalifraco
Copy link
Copy Markdown

@mateoalifraco mateoalifraco commented Jun 1, 2026

Summary

  • Adds an opt-in bountic-split block in PR bodies so maintainers can distribute a locked bounty across multiple contributors by percentage or fixed USDC amounts.
  • Pays each split recipient through the existing wallet/email/unclaimed payout resolution path and records separate payout/activity events.
  • Updates the approval UI/API response shape so maintainers see when a split payout was sent.

Example PR body syntax:

<!-- bountic-split:
@alice 60% 0x1111111111111111111111111111111111111111
@bob 40%
-->

Fixed amounts are also supported as long as they total the bounty amount:

<!-- bountic-split:
@alice 6.00
@bob 4.00
-->

Verification

  • tsc --noEmit
  • eslint over the modified files:
    • lib/bounty/services/payout.ts
    • lib/bounty/services/approve-payout.ts
    • lib/api/client.ts
    • app/b/[owner]/[repo]/issues/[issueNumber]/approve-button.tsx

Related to #12.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

@malifraco is attempting to deploy a commit to the skndash96's projects Team on Vercel.

A member of the Team first needs to authorize it.

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