This PR introduces a new application example named TimeLock which is the Cairo adaptation of the corresponding Solidity by Example contract.
Tests have been added to make sure the implementation is correct using a dummy ERC721 and execute a transfer_from on the token from the TimeLock contract and make sure it is executable only after the wait period is over.
Checklist
[X] CI Verifier: Run ./scripts/cairo_programs_verifier.sh successfully
[X] Contract Tests: Added tests to cover the changes
Issue(s): Close #190
Description
This PR introduces a new application example named
TimeLock
which is the Cairo adaptation of the corresponding Solidity by Example contract. Tests have been added to make sure the implementation is correct using a dummyERC721
and execute atransfer_from
on the token from theTimeLock
contract and make sure it is executable only after the wait period is over.Checklist
./scripts/cairo_programs_verifier.sh
successfully