[NF-01] Multi-Position Support Per Tier Vault (True Laddering) - #131
Merged
wumibals merged 2 commits intoJul 21, 2026
Conversation
|
@yusuftomilola is attempting to deploy a commit to the wumibals' projects Team on Vercel. A member of the Team first needs to authorize it. |
- Add PositionCount and Position storage keys to vault_l3, vault_l6, vault_l12 - Create Position struct with principal, shares, lock_until, checkpoint - Modify deposit to create new position instead of merging - Add position_id parameter to withdraw and early_exit - Add positions(user) function to return all user positions - Keep balance(user) and shares(user) as aggregate sums for backward compatibility - Update VaultRouter to pass position_id through
mftee
force-pushed
the
feat/nf-01-multi-position-support
branch
from
July 16, 2026 17:40
e2668b8 to
21ea2e4
Compare
Resolve merge conflicts in vault_l3, vault_l6, vault_l12, and vault_router. Adopt main's amount-based single-position model with emergency unlock, TVL caps, and relock features from both branches.
6 tasks
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.
Changes
Acceptance Criteria
closes #76