Commit 9c76d282 by Nicolás Venturo

Added a constructor to BreakInvariantBounty. (#1395)

(cherry picked from commit 3acc2b42)
parent 8d6250cd
...@@ -10,12 +10,16 @@ import "../ownership/Ownable.sol"; ...@@ -10,12 +10,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.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment