Skip to content

Commit

Permalink
Fix roles.
Browse files Browse the repository at this point in the history
  • Loading branch information
LybraFinance committed Aug 28, 2023
1 parent a7d48f4 commit 77e8bc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/lybra/governance/GovernanceTimelock.sol
Expand Up @@ -10,11 +10,12 @@ contract GovernanceTimelock is TimelockController {
bytes32 public constant TIMELOCK = keccak256("TIMELOCK");
bytes32 public constant ADMIN = keccak256("ADMIN");

constructor(uint256 minDelay, address[] memory proposers, address[] memory executors, address timeLock) TimelockController(minDelay, proposers, executors, msg.sender) {
constructor(uint256 minDelay, address[] memory proposers, address[] memory executors, address timeLock, address multiSig) TimelockController(minDelay, proposers, executors, msg.sender) {
_setRoleAdmin(DAO, DAO);
_setRoleAdmin(TIMELOCK, DAO);
_setRoleAdmin(ADMIN, DAO);
_grantRole(DAO, msg.sender);
_grantRole(DAO, address(this));
_grantRole(ADMIN, multiSig);
_grantRole(TIMELOCK, timeLock);
}

Expand Down

0 comments on commit 77e8bc3

Please sign in to comment.