mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/contracts/mocks/proxy/ClashingImplementation.sol

19 lines
529 B

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
/**
* @dev Implementation contract with a payable changeAdmin(address) function made to clash with
* TransparentUpgradeableProxy's to test correct functioning of the Transparent Proxy feature.
*/
contract ClashingImplementation {
event ClashingImplementationCall();
function changeAdmin(address) external payable {
emit ClashingImplementationCall();
}
function delegatedFunction() external pure returns (bool) {
return true;
}
}