You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/vesting_curves/README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,18 @@
1
1
---
2
2
3
3
### Summary
4
-
Introduces the `VestingCurve` enum to support both **Linear**and **Exponential** vesting schedules in the Vesting Vault contract. This enhancement allows flexible release patterns, enabling either steady vesting or a slow-start/accelerated curve, while ensuring correctness through unit and integration tests.
4
+
Introduces the `VestingCurve` enum to support **Linear**, **Exponential**, and **ExponentialDecay** vesting schedules in the Vesting Vault contract. This enhancement allows flexible release patterns, enabling steady vesting, a slow-start/accelerated curve, or a front-loaded decay curve while ensuring correctness through unit and integration tests.
5
5
6
6
### Key Features
7
7
* **VestingCurve Enum**:
8
8
- `Linear`: vested = total × elapsed ÷ duration
9
9
- `Exponential`: vested = total × elapsed² ÷ duration²
0 commit comments