tokenlon-contracts
tokenlon-contracts copied to clipboard
veLON contract with early withdrawal penalty
- Forked from veMULTI
- Supported early withdrawal penalty
- Add some foundry test cases:
- initializing the project
- testing staking
- testing early withdrawal
- Improve the coding style
It would be great if commit 33261c3 can be split into two: first copy ve.sol and second apply changes on top. Then we can review second commit and see the new changes applied to ve.sol.
After discussion, I'll refactor the implementation in another PR. Keep this one opened for now so new feature and test can be added without being blocked.
Let's keep this PR opened as a reference until refactored implementation get merged.