Add IERC5313.sol (#4013)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
5
.changeset/happy-socks-travel.md
Normal file
5
.changeset/happy-socks-travel.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'openzeppelin-solidity': minor
|
||||||
|
---
|
||||||
|
|
||||||
|
`IERC5313`: Add an interface for EIP-5313 that is now final.
|
||||||
17
contracts/interfaces/IERC5313.sol
Normal file
17
contracts/interfaces/IERC5313.sol
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
pragma solidity ^0.8.0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @dev Interface for the Light Contract Ownership Standard.
|
||||||
|
*
|
||||||
|
* A standardized minimal interface required to identify an account that controls a contract
|
||||||
|
*
|
||||||
|
* _Available since v4.9._
|
||||||
|
*/
|
||||||
|
interface IERC5313 {
|
||||||
|
/**
|
||||||
|
* @dev Gets the address of the owner.
|
||||||
|
*/
|
||||||
|
function owner() external view returns (address);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user