Skip to content

feat: add split_to_escrow helper — create split and lock shares in escrow#364

Open
soundsng wants to merge 1 commit into
Lead-Studios:mainfrom
soundsng:feat/issue-187-split-to-escrow
Open

feat: add split_to_escrow helper — create split and lock shares in escrow#364
soundsng wants to merge 1 commit into
Lead-Studios:mainfrom
soundsng:feat/issue-187-split-to-escrow

Conversation

@soundsng
Copy link
Copy Markdown

Summary

  • Add create_split_with_escrow to splitter.rs
  • Debits sender once, then writes one EscrowRecord per recipient sized by share_bps
  • Last recipient gets any rounding dust
  • Returns Vec<u32> of escrow IDs in recipient order
  • Test verifies ID count and uniqueness

Closes #187

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@soundsng 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.

feat: add split_to_escrow helper — create a split and immediately lock each share in an escrow

1 participant