smart-contract-fiesta
/
organized_contracts
/22
/2213c96ca96ea4484c87cbb4d97c12ceed1dc0f77d54716343fef4032fd73e6b
/draft-IERC1822.sol
// This contract is part of Zellic’s smart contract dataset, which is a collection of publicly available contract code gathered as of March 2023. | |
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol) | |
pragma solidity ^0.8.0; | |
/** | |
* @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified | |
* proxy whose upgrades are fully controlled by the current implementation. | |
*/ | |
interface IERC1822Proxiable { | |
/** | |
* @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation | |
* address. | |
* | |
* IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks | |
* bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this | |
* function revert if invoked through a proxy. | |
*/ | |
function proxiableUUID() external view returns (bytes32); | |
} | |