Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
9c76d282
Commit
9c76d282
authored
Oct 08, 2018
by
Nicolás Venturo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a constructor to BreakInvariantBounty. (#1395)
(cherry picked from commit
3acc2b42
)
parent
8d6250cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
BreakInvariantBounty.sol
contracts/drafts/BreakInvariantBounty.sol
+5
-1
No files found.
contracts/drafts/BreakInvariantBounty.sol
View file @
9c76d282
...
...
@@ -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.
*/
contract BreakInvariantBounty is PullPayment, Ownable {
bool private _claimable
= true
;
bool private _claimable;
mapping(address => address) private _researchers;
event TargetCreated(address createdAddress);
event BountyCanceled();
constructor() public {
_claimable = true;
}
/**
* @dev Fallback function allowing the contract to receive funds, if they haven't already been claimed.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment