21 lines
484 B
Solidity
21 lines
484 B
Solidity
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.6.0;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* @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 ClashingImplementation {
|
||
|
|
||
|
function admin() external pure returns (address) {
|
||
|
return 0x0000000000000000000000000000000011111142;
|
||
|
}
|
||
|
|
||
|
function delegatedFunction() external pure returns (bool) {
|
||
|
return true;
|
||
|
}
|
||
|
}
|