cairo-contracts icon indicating copy to clipboard operation
cairo-contracts copied to clipboard

feat: implement token time lock contract #288

Open AbdelStark opened this issue 2 years ago • 0 comments

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.cairo contract
  • Create test_TokenTimeLock.py: unit tests for TokenTimeLock contract

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

AbdelStark avatar Apr 27 '22 13:04 AbdelStark