feat(contract): add batch_claim_inheritance_plan entry point - #1056
Closed
abikedaniel22 wants to merge 1 commit into
Closed
feat(contract): add batch_claim_inheritance_plan entry point#1056abikedaniel22 wants to merge 1 commit into
abikedaniel22 wants to merge 1 commit into
Conversation
Implement batch_claim_inheritance_plan(env, plan_id, claimers, emails, claim_codes) in the Soroban inheritance contract. - Accepts parallel Vec<Address>, Vec<String>, Vec<u32> inputs (one entry per beneficiary) - Validates all inputs atomically: length parity, MAX_BENEFICIARIES cap, pause/freeze/legal-hold checks, trigger state, per-claimer KYC and rate-limit, claim-code verification, frozen-beneficiary, vesting schedule, waterfall ordering, emergency cap and liquidity - Accumulates plan mutations in-memory across the batch before a single store_plan write, ensuring atomic rollback on any individual failure - Emits per-beneficiary CLAIM SUCCESS and F_PAYOUT events after all validations pass - Grants Role::Beneficiary to each successful claimer Closes Fracverse#1042
|
@abikedaniel22 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! 🚀 |
ONEONUORA
approved these changes
Aug 26, 2026
ONEONUORA
left a comment
Contributor
There was a problem hiding this comment.
GReat job @abikedaniel22
Contributor
|
@abikedaniel22 |
Contributor
|
@abikedaniel22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement batch_claim_inheritance_plan(env, plan_id, claimers, emails, claim_codes) in the Soroban inheritance contract.
Closes #1042