Skip to content

feat(inheritance): add partial claim support and per-beneficiary bala… - #1187

Open
dee-john wants to merge 3 commits into
Fracverse:masterfrom
dee-john:feat/partial-claim
Open

feat(inheritance): add partial claim support and per-beneficiary bala…#1187
dee-john wants to merge 3 commits into
Fracverse:masterfrom
dee-john:feat/partial-claim

Conversation

@dee-john

Copy link
Copy Markdown

closes #1144

Summary: Added per-beneficiary balance tracking and partial payout support so beneficiaries can claim partial amounts; full-claim flow now deducts from per-beneficiary balances and marks beneficiaries claimed only when their balance reaches zero.
Files: Updated lib.rs (DataKey, PartialClaimEvent, balance init, claim_partial_payout, updated claim_inheritance_plan) and test.rs (unit test test_partial_claim_success).
Tests: Added unit test covering partial claim behavior; run cargo test -p inheritance-contract to verify.

@drips-wave

drips-wave Bot commented Aug 28, 2026

Copy link
Copy Markdown

@dee-john 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

@ONEONUORA

Copy link
Copy Markdown
Contributor

@dee-john
Run cargo fmt --all -- --check

@ONEONUORA

Copy link
Copy Markdown
Contributor

@dee-john
Pls update on this pr

@dee-john

Copy link
Copy Markdown
Author

@ONEONUORA check again

@ONEONUORA

Copy link
Copy Markdown
Contributor

@dee-john
Run cargo fmt --all -- --check

@ONEONUORA

Copy link
Copy Markdown
Contributor

@dee-john
Pls update on this PR

@dee-john

dee-john commented Sep 1, 2026

Copy link
Copy Markdown
Author

@ONEONUORA pls check

@ONEONUORA

Copy link
Copy Markdown
Contributor

@dee-john Pls make implmentation to pass CI checks

@dee-john

dee-john commented Sep 4, 2026

Copy link
Copy Markdown
Author

@ONEONUORA done please review

@ONEONUORA

Copy link
Copy Markdown
Contributor

@dee-john
Still failing

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.

Contract: Add Partial Beneficiary Claim Support with Balance Tracking

2 participants