Skip to content

Commit

Permalink
Rename SecurityCouncil contract
Browse files Browse the repository at this point in the history
  • Loading branch information
elenadimitrova committed Mar 17, 2023
1 parent f7bb92a commit 8a360c3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions contracts/governance/src/IZeroExGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
*/
pragma solidity ^0.8.19;

import "./ISecurityCouncil.sol";
import "./SecurityCouncil.sol";
import "@openzeppelin/governance/IGovernor.sol";
import "@openzeppelin/governance/extensions/IGovernorTimelock.sol";

abstract contract IZeroExGovernor is ISecurityCouncil, IGovernor, IGovernorTimelock {
abstract contract IZeroExGovernor is SecurityCouncil, IGovernor, IGovernorTimelock {
function token() public virtual returns (address);

function proposalThreshold() public view virtual returns (uint256);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
pragma solidity ^0.8.19;

abstract contract ISecurityCouncil {
abstract contract SecurityCouncil {
address public securityCouncil;

event SecurityCouncilAssigned(address securityCouncil);
Expand Down
4 changes: 2 additions & 2 deletions contracts/governance/src/ZeroExProtocolGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
pragma solidity ^0.8.19;

import "./ISecurityCouncil.sol";
import "./SecurityCouncil.sol";
import "./ZeroExTimelock.sol";
import "@openzeppelin/governance/Governor.sol";
import "@openzeppelin/governance/extensions/GovernorSettings.sol";
Expand All @@ -27,7 +27,7 @@ import "@openzeppelin/governance/extensions/GovernorVotes.sol";
import "@openzeppelin/governance/extensions/GovernorTimelockControl.sol";

contract ZeroExProtocolGovernor is
ISecurityCouncil,
SecurityCouncil,
Governor,
GovernorSettings,
GovernorCountingSimple,
Expand Down
4 changes: 2 additions & 2 deletions contracts/governance/src/ZeroExTreasuryGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import "@openzeppelin/governance/extensions/GovernorVotesQuorumFraction.sol";
import "@openzeppelin/governance/extensions/GovernorTimelockControl.sol";

import "./IZeroExVotes.sol";
import "./ISecurityCouncil.sol";
import "./SecurityCouncil.sol";

contract ZeroExTreasuryGovernor is
ISecurityCouncil,
SecurityCouncil,
Governor,
GovernorSettings,
GovernorCountingSimple,
Expand Down

0 comments on commit 8a360c3

Please sign in to comment.