From c8c48a7ed1827b1908faaff6e804ab5bb46977ac Mon Sep 17 00:00:00 2001 From: Nick Mudge Date: Fri, 8 Jun 2018 22:49:24 -0700 Subject: [PATCH] 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 --- EIPS/eip-173.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/EIPS/eip-173.md b/EIPS/eip-173.md index eb02d616..8c88f1bc 100644 --- a/EIPS/eip-173.md +++ b/EIPS/eip-173.md @@ -2,6 +2,7 @@ eip: 173 title: ERC-173 Contract Ownership Standard author: Nick Mudge , Dan Finlay +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.