// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import { LibDiamond } from "../Libraries/LibDiamond.sol"; import { IERC173 } from "../Interfaces/IERC173.sol"; contract OwnershipFacet is IERC173 { function transferOwnership(address _newOwner) external override { LibDiamond.enforceIsContractOwner(); LibDiamond.setContractOwner(_newOwner); } function owner() external view override returns (address owner_) { owner_ = LibDiamond.contractOwner(); } }