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

Timelock

Open 0xLaplace opened this issue 3 years ago • 3 comments

0xLaplace avatar Oct 16 '21 13:10 0xLaplace

Hello there! Thanks for opening this issue, do you have any specific thoughts or needs regarding a potential Timelock contract?

martriay avatar Oct 17 '21 02:10 martriay

maybe this most recent design: https://github.com/yieldprotocol/yield-utils-v2/blob/main/contracts/utils/Timelock.sol

vetted by https://code423n4.com/reports/2021-08-yield/

0xLaplace avatar Oct 17 '21 13:10 0xLaplace

Note that for the moment there is no access to an equivalent to block.timestamp in Cairo. But it is on their roadmap.

juniset avatar Oct 18 '21 09:10 juniset