Feature/beneficiary reassignment social recovery#259
Merged
JerryIdoko merged 2 commits intoApr 23, 2026
Merged
Conversation
…ce) (Vesting-Vault#207) - Add comprehensive beneficiary reassignment system with DAO governance - Implement 2/3 multi-sig approval system for reassignment requests - Add social recovery proof types (death certificate, lost keys, court order) - Implement emergency reassignment bypassing normal approval process - Integrate with existing vesting schedules and claim functions - Add comprehensive test suite for reassignment functionality - Create detailed documentation for social recovery system This addresses issue Vesting-Vault#207 by providing a robust framework for investors who lose private keys or pass away, ensuring their locked tokens are not trapped and can be legally transferred to new beneficiaries.
|
@Timrossid 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 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.
Closes #207
Governance Veto & Lock-Up Periods Implementation
Issues Addressed
Summary
This implementation adds two major security and compliance features to the vesting vault system:
1. Governance Veto System (Issue #212)
2. Lock-Up Periods System (Issue #211)
3. Beneficiary Reassignment (Issue #114)
Files Added/Modified
New Files
contracts/lockup_token/- Complete lock-up token implementationsrc/lib.rs- Main contract logicsrc/types.rs- Data structures and eventssrc/storage.rs- Storage managementsrc/test.rs- Comprehensive testsCargo.toml- Contract configurationexamples/lockup_example.rs- Usage examplescontracts/vesting_vault/tests/- Test suitesgovernance_veto.rs- Governance veto testslockup_periods.rs- Lock-up period testscontracts/vesting_vault/examples/- Examplesgovernance_veto_example.rs- Governance veto examplesModified Files
contracts/vesting_vault/src/types.rs- Added governance and lock-up typescontracts/vesting_vault/src/storage.rs- Added storage functionscontracts/vesting_vault/src/lib.rs- Added governance and lock-up functionalityDocumentation
GOVERNANCE_VETO_IMPLEMENTATION.md- Complete implementation guideLOCKUP_IMPLEMENTATION.md- Lock-up periods documentationKey Features
Security Enhancements
Compliance Features
Integration
Testing
Test Coverage
Test Results
Gas Costs
Governance Veto
Lock-Up Periods
Configuration
Default Settings
Customizable Parameters
Security Considerations
Attack Vectors Mitigated
Protection Mechanisms
Future Enhancements
Potential Improvements
Deployment
Steps
Verification
Conclusion
This implementation provides robust security and compliance features while maintaining the flexibility and usability of the existing vesting system. The governance veto mechanism protects against malicious admin actions, while the lock-up period system enables legal compliance requirements.
The implementation is thoroughly tested, well-documented, and ready for production deployment with proper configuration and community education.
Checklist