Skip to content

feat: implement early job completion bonus - #924

Open
ositaemmanuel653-netizen wants to merge 8 commits into
anumukul:mainfrom
ositaemmanuel653-netizen:Add-job-completion
Open

feat: implement early job completion bonus#924
ositaemmanuel653-netizen wants to merge 8 commits into
anumukul:mainfrom
ositaemmanuel653-netizen:Add-job-completion

Conversation

@ositaemmanuel653-netizen

Copy link
Copy Markdown
  • Add �onus_amount and �onus_paid fields to Job struct.
  • Update post_job to escrow bonus.
  • Calculate/release bonus in �pprove_work upon early completion.
  • Refund bonus in cancel_job if unpaid.
  • Update frontend UI to include bonus amount input in post-job form.
  • Add unit tests for early bonus and cancellation refunds.

Pull Request Template

Linked Issue

Closes #828

PR Title

This PR title follows the Conventional Commits format as required by CI. See PR Title Conventions for details.

What Changed

Describe the main changes and any relevant design trade-offs.

Validation

  • I referenced the related issue in this PR.
  • Contract checks pass (soroban contract build and cargo test in contracts/escrow) if contract code changed.
  • Frontend checks/build pass for changed frontend files.
  • I included screenshots or short clips for UI changes (or noted N/A).
  • I verified the UI changes in the preview deployment.

Additional Notes

Add any follow-up work, risks, or reviewer context.

- Add �onus_amount and �onus_paid fields to Job struct.
- Update post_job to escrow bonus.
- Calculate/release bonus in �pprove_work upon early completion.
- Refund bonus in cancel_job if unpaid.
- Update frontend UI to include bonus amount input in post-job form.
- Add unit tests for early bonus and cancellation refunds.
@drips-wave

drips-wave Bot commented Sep 5, 2026

Copy link
Copy Markdown

@ositaemmanuel653-netizen Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[SC-129] Add job completion bonus for early delivery

1 participant