12345678910111213141516171819202122232425262728293031 |
- // SPDX-License-Identifier: MIT
- pragma solidity ^0.8.0;
- import "../proxy/utils/Initializable.sol";
- /**
- * @dev Implementation contract with an admin() function made to clash with
- * @dev TransparentUpgradeableProxy's to test correct functioning of the
- * @dev Transparent Proxy feature.
- */
- contract ClashingImplementationUpgradeable is Initializable {
- function __ClashingImplementation_init() internal onlyInitializing {
- }
- function __ClashingImplementation_init_unchained() internal onlyInitializing {
- }
- function admin() external pure returns (address) {
- return 0x0000000000000000000000000000000011111142;
- }
- function delegatedFunction() external pure returns (bool) {
- return true;
- }
- /**
- * @dev This empty reserved space is put in place to allow future versions to add new
- * variables without shifting down storage in the inheritance chain.
- * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
- */
- uint256[50] private __gap;
- }
|