Page cover

Timelock

A timelock is a piece of code in a smart contract that can lock the functionality of an application for a certain amount of time. Timelocks are often used to support masterchef contracts. They are important because they offer high security against rug pulls.

To provide security, a Timelock contract was added as the owner of the MasterChef. Any change in the MasterChef will now have to go through the 12 hours Timelock for security!

Last updated