ClashingImplementation.sol 495 B

1234567891011121314151617
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.0;
  3. /**
  4. * @dev Implementation contract with a payable admin() function made to clash with TransparentUpgradeableProxy's to
  5. * test correct functioning of the Transparent Proxy feature.
  6. */
  7. contract ClashingImplementation {
  8. function admin() external payable returns (address) {
  9. return 0x0000000000000000000000000000000011111142;
  10. }
  11. function delegatedFunction() external pure returns (bool) {
  12. return true;
  13. }
  14. }