Description
Upgrade the vesting-wallet to support vesting schedules that accelerate or trigger based on external project milestones rather than just time. Complexity: Medium (150 points) ⚡
Requirements and Context
- Background: Some team tokens should only unlock if the project hits specific funding or delivery targets.
- Success Criteria (Done):
VestingSchedule includes optional milestone_id link.
claim checks if the linked milestone is "Completed" in the Vault.
- Fallback: Time-based vesting continues if milestones are met.
Suggested Execution
- Fork/Branch:
feat/dynamic-vesting
- Implementation: Add cross-contract call from
vesting-wallet to crowdfund-vault.
Guidelines
- Complexity: Medium (150 points)
Description
Upgrade the
vesting-walletto support vesting schedules that accelerate or trigger based on external project milestones rather than just time. Complexity: Medium (150 points) ⚡Requirements and Context
VestingScheduleincludes optionalmilestone_idlink.claimchecks if the linked milestone is "Completed" in the Vault.Suggested Execution
feat/dynamic-vestingvesting-wallettocrowdfund-vault.Guidelines