This bounty will pay out to a researcher if they break invariant logic of the contract.
event TargetCreated(address createdAddress)
abstract function _deployContract() internal returns (address)
Internal function to deploy the target contract.
- A target contract address
function claim(Target target) public
Transfers the contract funds to the researcher that proved the contract is broken.
function claimed() public view returns (bool)
Determine if the bounty was claimed.
- true if the bounty was claimed, false otherwise.
function createTarget() public returns (Target)
Create and deploy the target contract (extension of Target contract), and sets the msg.sender as a researcher.
- A target contract
function destroy() public
Transfers the current balance to the owner and terminates the contract.
function () external payable
Fallback function allowing the contract to receive funds, if they haven't already been claimed.