Approving Work

After the hunter submits their work, your bounty with their submitted work will appear under the Submitted: Needs Approval tab. Expanding the bounty will show you the hunter's original application and links to their work. You can choose to either Contest the work or Pay the hunter the escrowed funds. Make sure you take either action within 2 weeks of receiving the work as the hunter can force a payout after that time.

Click Pay to payout the escrowed funds to the hunter. This will call payout in the Cornucopia contract, removing your funds from escrow and sending them to the hunter.

payout

function payout(string _bountyAppId, address _hunter) external

Creator pays out a bounty for a given hunter

Handles the case where the bounty hunter doesn't submit work in time so creator can get a refund Handles cases where bounty was disputed or hunter didn't submit their work yet Handles both ERC-20 and ETH bounties

Parameters

Name
Type
Description

_bountyAppId

string

The bountyId for the given bounty

_hunter

address

The hunter's address

FundsSent

event FundsSent(address creator, address hunter, string bountyAppId, string message)

After paying out the bounty, the bounty will move to the Finished tab.

Last updated