Skip to content

#22 Issue 22: [Feature] Milestone-Based Unlocking #43

@JerryIdoko

Description

@JerryIdoko

Description:
Some vesting isn't time-based, but deliverable-based (e.g., "Unlock 20% when Mainnet launches"). Introduce a milestone mapping that the Admin can manually trigger to unlock portions of the vault.

Acceptance Criteria:

[ ] Create Milestone struct (id, percentage, is_unlocked).

[ ] Add unlock_milestone(vault_id, milestone_id) restricted to Admin.

[ ] Update claim logic to calculate unlocked tokens based on triggered milestones rather than block timestamps.
Labels: governance, logic

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions