Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: cairo <cairoeth@protonmail.com> Co-authored-by: Ernesto García <ernestognw@gmail.com> Co-authored-by: sudo rm -rf --no-preserve-root / <pcaversaccio@users.noreply.github.com> Co-authored-by: danilo neves cruz <cruzdanilo@gmail.com> Co-authored-by: omahs <73983677+omahs@users.noreply.github.com> Co-authored-by: skyge <1506186404li@gmail.com> Co-authored-by: PurrProof <149718167+PurrProof@users.noreply.github.com> Co-authored-by: Eric Lau <ericglau@outlook.com> Co-authored-by: plooten <sunxingzhecrypto@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Md Zartaj Afser <91191500+Zartaj0@users.noreply.github.com>
21 lines
881 B
Solidity
21 lines
881 B
Solidity
// SPDX-License-Identifier: MIT
|
|
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC1822.sol)
|
|
|
|
pragma solidity ^0.8.20;
|
|
|
|
/**
|
|
* @dev ERC-1822: 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);
|
|
}
|