-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from 0xdefaceme/better-exploitable
Improve exploitable and negotiator
- Loading branch information
Showing
18 changed files
with
339 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
pragma solidity 0.5.0; | ||
pragma solidity ^0.5.2; | ||
|
||
contract IExploitable { | ||
function implementsEIP1337() public pure returns (bool); | ||
function percentageEIP1337() public pure returns (uint256); | ||
function implementsExploitable() public pure returns (bool); | ||
function pay(uint256 bountyId, string memory publicKey) public; | ||
function restore() public payable; | ||
function decide(uint256 bountyId, bool decision) public; | ||
function decide(uint256 bountyId, bool decision, string memory reason) public; | ||
function exit() public; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pragma solidity 0.5.0; | ||
pragma solidity ^0.5.2; | ||
|
||
contract Migrations { | ||
address public owner; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.