Created
February 24, 2022 18:05
-
-
Save BetterProgramming/f737a1d6b67a92868f1f819e56253661 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/governance/TimelockController.sol"; | |
contract TimeLock is TimelockController { | |
// minDelay is how long you have to wait before executing | |
// proposers is the list of addresses that can propose | |
// executors is the list of addresses that can execute | |
constructor( | |
uint256 minDelay, | |
address[] memory proposers, | |
address[] memory executors | |
) TimelockController(minDelay, proposers, executors) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment