Feature/vesting cliffs topups#31
Merged
JerryIdoko merged 3 commits intoVesting-Vault:mainfrom Feb 20, 2026
Merged
Conversation
added 3 commits
February 20, 2026 04:38
- Add propose_new_admin function for creating pending transfer proposals - Add accept_ownership function to complete transfer process - Add transfer_ownership function for backward compatibility - Add comprehensive API endpoints for admin key management - Include 24-hour expiration on pending proposals - Add full audit logging for all admin actions - Support both global and contract-specific admin transfers - Add comprehensive test suite with error handling - Prevent accidental lockout with two-step verification Resolves Vesting-Vault#16: [Admin] Update Admin Key
- Add SubSchedule model for multiple vesting schedules per vault - Implement top-up functionality with configurable cliff periods - Add comprehensive API endpoints for vault management - Update indexing service to handle vesting events - Create database migration for new tables - Add comprehensive test suite - Support independent cliffs per top-up - Implement pro-rata token release across sub-schedules Closes Vesting-Vault#19
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.
: Implements vesting "cliffs" on top-ups functionality, allowing vaults to add funds with independent cliff periods using a SubSchedule system.
Key Changes:
SubSchedule model for multiple vesting schedules per vault
Database migration with proper indexes
VestingService with comprehensive cliff management
6 new API endpoints for vault and indexing operations
Complete test suite and documentation
Closes: #19