Repository navigation
feat(contract): split payouts to multiple escrow recipients - #159
aduagba4133 wants to merge 4 commits into
Conversation
|
@aduagba4133 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! 🚀 |
|
This PR has merge conflicts with |
|
@aduagba4133 Thanks for the PR. It can't be merged yet. To unblock it: Merge conflicts: this branch conflicts with Push to this same branch and CI will re-run. Once it's green and conflict-free, it'll be reviewed for merge. |
|
Hi @afeezorobsco-cyber — I reviewed the conflict against current main. It now overlaps the escrow storage model and settlement paths, plus README/architecture/roadmap edits; resolving mechanically would risk dropping newer contract behavior or introducing a storage compatibility break. I left the branch unchanged. Could you advise whether this split-payout feature should be redesigned against the current storage schema before rebasing? |
|
@afeezorobsco-cyber I reviewed the current head and the merge against |
|
@afeezorobsco-cyber I updated the split payout implementation on current main and pushed the audit delta note. The full Rust contract suite, focused split tests, release WASM build, generated-binding check, and resource-baseline check pass locally. PR #159 is mergeable and its refreshed malware scan passed. The TLA+ payout-destination invariant is updated; TLC could not run here because Java is unavailable. Please review the delta security note. |
|
@aduagba4133 This PR now has merge conflicts with git fetch upstream # upstream = https://github.com/DocForum/docforum-escrow.git
git rebase upstream/main
# resolve the conflicts, re-run the tests, then:
git push --force-with-leaseThe usual culprits are shared docs like Automated message. It won't repeat unless the PR conflicts again after your next push. |
|
@aduagba4133 Heads-up: #268 just changed how contract PRs work in this repo. Your PR changes
This should also make your next merge from |
Summary
create_split_escrowfor up to eight unique payees with positive basis-point shares totaling exactly 10,000; keepcreate_escrowas the one-payee form.get_escrowand distribute payments directly on release. Shares are floored in order and the final recipient gets the remainder, preserving the exact total.Closes #22
Verification and follow-up