ClashingImplementationUpgradeable.sol 820 B

1234567891011121314151617181920212223242526
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.0;
  3. import "../proxy/utils/Initializable.sol";
  4. /**
  5. * @dev Implementation contract with an admin() function made to clash with
  6. * @dev TransparentUpgradeableProxy's to test correct functioning of the
  7. * @dev Transparent Proxy feature.
  8. */
  9. contract ClashingImplementationUpgradeable is Initializable {
  10. function __ClashingImplementation_init() internal onlyInitializing {
  11. __ClashingImplementation_init_unchained();
  12. }
  13. function __ClashingImplementation_init_unchained() internal onlyInitializing {
  14. }
  15. function admin() external pure returns (address) {
  16. return 0x0000000000000000000000000000000011111142;
  17. }
  18. function delegatedFunction() external pure returns (bool) {
  19. return true;
  20. }
  21. uint256[50] private __gap;
  22. }