IERC1967.sol 636 B

123456789101112131415161718192021222324
  1. // SPDX-License-Identifier: MIT
  2. // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1967.sol)
  3. pragma solidity ^0.8.20;
  4. /**
  5. * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
  6. */
  7. interface IERC1967 {
  8. /**
  9. * @dev Emitted when the implementation is upgraded.
  10. */
  11. event Upgraded(address indexed implementation);
  12. /**
  13. * @dev Emitted when the admin account has changed.
  14. */
  15. event AdminChanged(address previousAdmin, address newAdmin);
  16. /**
  17. * @dev Emitted when the beacon is changed.
  18. */
  19. event BeaconUpgraded(address indexed beacon);
  20. }