https://github.com/kinetic-market/public-money-market-contracts
The esProtocol.sol contract inherits Ownable2StepUpgradeable contract which consists of renounceOwnership() function to transfer the ownership of a contract to address zero.
If the contract's owner accidentally call this function, all the functions in esProtocol.sol with onlyOwner modifier such as updateRedeemSettings, updateTransferWhitelist & updateBurnRateCalculator will not be able to call again.
Add the following line in esProtocol.sol:
function renounceOwnership() public virtual override onlyOwner {
revert("Unavailable!");
}
contract esProtocol is ReentrancyGuardUpgradeable, Ownable2StepUpgradeable, esProtocolStorageV1, ERC20VotesUpgradeable{
The esProtocol.sol contract inherits Ownable2StepUpgradeable contract which consists of renounceOwnership() function