Skip to content

Commit bcd5e09

Browse files
authored
Contract fixes (#195)
* Revoke owner of CapManager implementation * Revoke owner of Market Wrapper implementations
1 parent 5a4be39 commit bcd5e09

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/contracts/CapManager.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ contract CapManager is Initializable, OwnableOperable {
3131

3232
constructor(address _arm) {
3333
arm = _arm;
34+
35+
_setOwner(address(0)); // Revoke owner for implementation contract at deployment
3436
}
3537

3638
function initialize(address _operator) external initializer {

src/contracts/markets/Abstract4626MarketWrapper.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ contract Abstract4626MarketWrapper is Initializable, Ownable {
4343
market = _market;
4444

4545
asset = IERC4626(_market).asset();
46+
47+
_setOwner(address(0)); // Revoke owner for implementation contract at deployment
4648
}
4749

4850
/// @notice Initialize the proxy contract with the Harvester address.

0 commit comments

Comments
 (0)