InsecureTargetBounty.sol 346 B

1234567891011121314151617
  1. pragma solidity ^0.4.24;
  2. import {Bounty, Target} from "../../contracts/Bounty.sol";
  3. contract InsecureTargetMock is Target {
  4. function checkInvariant() public returns(bool) {
  5. return false;
  6. }
  7. }
  8. contract InsecureTargetBounty is Bounty {
  9. function deployContract() internal returns (address) {
  10. return new InsecureTargetMock();
  11. }
  12. }