ERC1820ImplementerMockUpgradeable.sol 882 B

123456789101112131415161718192021222324
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.0;
  3. import "../utils/introspection/ERC1820ImplementerUpgradeable.sol";
  4. import "../proxy/utils/Initializable.sol";
  5. contract ERC1820ImplementerMockUpgradeable is Initializable, ERC1820ImplementerUpgradeable {
  6. function __ERC1820ImplementerMock_init() internal onlyInitializing {
  7. }
  8. function __ERC1820ImplementerMock_init_unchained() internal onlyInitializing {
  9. }
  10. function registerInterfaceForAddress(bytes32 interfaceHash, address account) public {
  11. _registerInterfaceForAddress(interfaceHash, account);
  12. }
  13. /**
  14. * @dev This empty reserved space is put in place to allow future versions to add new
  15. * variables without shifting down storage in the inheritance chain.
  16. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
  17. */
  18. uint256[50] private __gap;
  19. }