githoney-bounties
About this Protocol
Escrow-based bounties on Cardano for open-source contributions: fund, assign, merge, and claim
Parties
The participants involved in this protocol's transactions.
Environment
Configuration values required to execute this protocol's transactions.
Transactions
The transactions defined in this protocol, with their parameters, inputs, and outputs.
claim_bounty
Contributor claims the full reward from a merged bounty and burns the bounty NFT.
Diagram
Parameters
Inputs
Outputs
close_bounty_assigned_sponsored
Admin closes an assigned-but-unmerged bounty that has sponsor funds: refund the maintainer, return min-ADA to maintainer and contributor, refund the sponsor's added tokens, and burn the bounty NFT.
Diagram
Parameters
Inputs
Outputs
assign_bug_bounty
Assign a reporter to a bug bounty. Same effect as `assign_bounty`, but the maintainer pays the min-ADA top-up while the reporter's credentials go into the datum.
Diagram
Parameters
Inputs
Outputs
close_bounty_unassigned
Admin closes a never-assigned bounty: refund the reward to the maintainer and burn the bounty NFT.
Diagram
Parameters
Inputs
Outputs
merge_bounty
Admin marks the bounty merged, takes the GitHoney reward-fee cut, and returns the maintainer's min-ADA. After this the contributor can claim.
Diagram
Parameters
Inputs
Outputs
close_bounty_unassigned_sponsored
Admin closes a never-assigned bounty that has sponsor funds: refund the maintainer, refund the sponsor's added tokens, and burn the bounty NFT.
Diagram
Parameters
Inputs
Outputs
create_bounty_with_lovelace
Create a bounty whose reward is ADA, minting the bounty NFT and paying the creation fee to GitHoney.
Diagram
Parameters
Inputs
Outputs
add_bounty_rewards
Sponsor tops up an existing bounty with additional reward tokens.
Diagram
Parameters
Inputs
Outputs
close_bounty_assigned
Admin closes an assigned-but-unmerged bounty: refund the reward to the maintainer, return min-ADA to both maintainer and contributor, and burn the bounty NFT.
Diagram
Parameters
Inputs
Outputs
assign_bounty
Contributor assigns themselves to a bounty, topping up its min-ADA and writing their address into the datum. The contributor funds the top-up.
Diagram
Parameters
Inputs
Outputs
create_bounty_with_token
Create a bounty whose reward is a native token, minting the bounty NFT and paying the creation fee to GitHoney.
Diagram
Parameters
Inputs
Outputs
Profiles
Pre-configured sets of environment and party values for different deployment targets.