Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created February 24, 2022 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BetterProgramming/f737a1d6b67a92868f1f819e56253661 to your computer and use it in GitHub Desktop.
Save BetterProgramming/f737a1d6b67a92868f1f819e56253661 to your computer and use it in GitHub Desktop.
// 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