Add a beacon proxy contract (#2411)

Co-authored-by: Santiago Palladino <spalladino@gmail.com>
This commit is contained in:
Francisco Giordano
2020-11-26 13:03:01 -03:00
committed by GitHub
parent 520bf7ac61
commit 951e946e71
10 changed files with 409 additions and 7 deletions

View File

@ -0,0 +1,14 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../proxy/IBeacon.sol";
contract BadBeaconNoImpl {
}
contract BadBeaconNotContract is IBeacon {
function implementation() external view override returns (address) {
return address(0x1);
}
}