Automatically merged updates to draft EIP(s) 173

Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing draft EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
This commit is contained in:
Nick Mudge 2018-06-08 22:49:24 -07:00 committed by EIP Automerge Bot
parent cd530aea37
commit c8c48a7ed1

View File

@ -2,6 +2,7 @@
eip: 173
title: ERC-173 Contract Ownership Standard
author: Nick Mudge <nick@perfectabstractions.com>, Dan Finlay <dan@danfinlay.com>
discussions-to: https://github.com/ethereum/EIPs/issues/173
type: Standards Track
category: ERC
status: Draft
@ -51,7 +52,7 @@ interface ERC173 /* is ERC165 */ {
/// @return The address of the owner.
function owner() view external;
/// @notice Get the owner of a contract
/// @notice Set the address of the new owner of the contract
/// @param _newOwner The address of the new owner of the contract
function transferOwnership(address _newOwner) external;
}
@ -71,6 +72,8 @@ The `owner()` function may be implemented as `pure` or `view`.
The `transferOwnership(address _newOwner)` function may be implemented as `public` or `external`.
The OwnershipTransferred event does not have to be emitted when a contract is created.
## Rationale
Several ownership schemes were considered. The scheme chosen in this standard was chosen because of its simplicity, low gas cost and backwards compatibility with OpenZeppelin's implementation of the Ownable contract which is in active use.