-
-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathIERC173.sol
More file actions
18 lines (15 loc) · 765 Bytes
/
IERC173.sol
File metadata and controls
18 lines (15 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: MIT AND Apache-2.0
pragma solidity ^0.8.23;
/// @title ERC-173 Contract Ownership Standard
/// NOTE: the ERC-165 identifier for this interface is 0x7f5828d0
interface IERC173 {
/// @dev This emits when ownership of a contract changes.
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/// @notice Get the address of the owner
/// @return The address of the owner.
function owner() external view returns (address);
/// @notice Set the address of the new owner of the contract
/// @dev Set _newOwner to address(0) to renounce any ownership.
/// @param _newOwner The address of the new owner of the contract
function transferOwnership(address _newOwner) external;
}