Added a constructor to BreakInvariantBounty. (#1395)
This commit is contained in:
committed by
Leo Arias
parent
f7e53d90fa
commit
3acc2b4216
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user