> For the complete documentation index, see [llms.txt](https://mapledefi.gitbook.io/mapledefi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mapledefi.gitbook.io/mapledefi/security/timelock.md).

# 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.&#x20;

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 6 hours Timelock for security!

* **TIMELOCK CONTRACT :** [**0x520BE54B5776a72538a45a0313aBf1E79921e533**](https://bscscan.com/address/0x520BE54B5776a72538a45a0313aBf1E79921e533)
* **TIMELOCK OWNS MASTERCHEF:** [**https://bscscan.com/tx/0x1483f0c4cfb2a11dd898fdd768141ef0c1fd61a5ade86ec9a40c732f6c2a5149**](https://bscscan.com/tx/0x1483f0c4cfb2a11dd898fdd768141ef0c1fd61a5ade86ec9a40c732f6c2a5149)[ <br>](<https://bscscan.com/tx/0xe8841c6faca752b4435ad8d189aefca7619116cb018097ff1911ab071f29ea72&#xD;&#xA;>)
