You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
495 B
Solidity
18 lines
495 B
Solidity
2 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.8.0;
|
||
|
|
||
|
/**
|
||
|
* @dev Implementation contract with a payable admin() function made to clash with TransparentUpgradeableProxy's to
|
||
|
* test correct functioning of the Transparent Proxy feature.
|
||
|
*/
|
||
|
contract ClashingImplementation {
|
||
|
function admin() external payable returns (address) {
|
||
|
return 0x0000000000000000000000000000000011111142;
|
||
|
}
|
||
|
|
||
|
function delegatedFunction() external pure returns (bool) {
|
||
|
return true;
|
||
|
}
|
||
|
}
|