cairo-contracts
cairo-contracts copied to clipboard
feat: implement token time lock contract #288
Description
Start the implementation of a token time lock contract that will allow a beneficiary to extract the tokens after a given release time.
Changes summary
- Create
TokenTimeLock.cairocontract - Create
test_TokenTimeLock.py: unit tests forTokenTimeLockcontract
Testing
| Test | Covered | Comments |
|---|---|---|
| Constructor parameters validation | Yes | |
| Release nominal case | No | Need to mock block timestamp |
| Release with invalid time | No | Need to mock block timestamp |
Related Issues
- fixes #288