Added a constructor to BreakInvariantBounty. (#1395)

pull/1400/head
Nicolás Venturo 6 years ago committed by Leo Arias
parent f7e53d90fa
commit 3acc2b4216
  1. 6
      contracts/bounties/BreakInvariantBounty.sol

@ -8,12 +8,16 @@ import "../ownership/Ownable.sol";
* @dev This bounty will pay out to a researcher if they break invariant logic of the contract. * @dev This bounty will pay out to a researcher if they break invariant logic of the contract.
*/ */
contract BreakInvariantBounty is PullPayment, Ownable { contract BreakInvariantBounty is PullPayment, Ownable {
bool private _claimable = true; bool private _claimable;
mapping(address => address) private _researchers; mapping(address => address) private _researchers;
event TargetCreated(address createdAddress); event TargetCreated(address createdAddress);
event BountyCanceled(); event BountyCanceled();
constructor() public {
_claimable = true;
}
/** /**
* @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed. * @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed.
*/ */

Loading…
Cancel
Save