Every state, and every refusal

A reference for the bounty status machine and the ways the system says no. Funded, Paid and Refunded are only ever shown after the escrow contract has confirmed them.

DraftSource of truth: GitHub and the Merit server

Step 1 of 7: Draft

Bounty created. No money has moved yet.

Awaiting fundingSource of truth: GitHub and the Merit server

Step 2 of 7: Awaiting funding

Deposit sent. Waiting for the escrow contract to confirm it.

FundedSource of truth: escrow contract

Step 3 of 7: Funded

The reward is locked in escrow. Reviews can start.

Review candidateSource of truth: GitHub and the Merit server

Step 4 of 7: Review candidate

A review looks like it led to a fix. The maintainer decides.

ApprovedSource of truth: GitHub and the Merit server

Step 5 of 7: Approved

The maintainer approved a payout. Waiting for the contract to confirm it.

ClaimableSource of truth: GitHub and the Merit server

Step 6 of 7: Claimable

The approval is confirmed. The reviewer can claim the reward.

PaidSource of truth: escrow contract

Step 7 of 7: Paid

The reviewer claimed the reward. This bounty is complete.

ExpiredSource of truth: GitHub and the Merit server

Step 4 of 5: Expired

The deadline passed. Unapproved funds can be refunded to the funder.

RefundedSource of truth: escrow contract

Step 5 of 5: Refunded

Unapproved funds went back to the funder.

RejectedSource of truth: GitHub and the Merit server

Step 5 of 5: Rejected

The maintainer decided this review does not qualify.

Refusals

These are rules of the escrow contract. When one is broken the contract refuses the transaction and no money moves. The app shows the refusal as what it is: a guardrail working.

A reviewer claims a reward that was already paid

Rejected by the escrow contract

Duplicate claim rejected

This reward was already paid. The escrow contract pays each bounty once, so a second claim is refused and no money moves.

AlreadyClaimed(1)

A wallet that did not fund the bounty tries to approve a payout

Rejected by the escrow contract

Only the funder can approve

The escrow contract accepts an approval only from the wallet that funded this bounty. This wallet is not it.

NotFunder(7, 0x5a5a…5a5a)

An approval asks for more than the bounty holds

Rejected by the escrow contract

Over budget

The approval asked for $10.000001 USDC, but this bounty holds $10.00 USDC. A payout can never exceed what was escrowed.

AmountExceedsBalance(7, 10000001, 10000000)

An approval arrives after the deadline

Rejected by the escrow contract

This bounty has expired

Approvals close at the deadline. Funds that were not approved can be refunded to the funder.

BountyExpired(4)

Someone who is not a maintainer of the repository tries to approve, before any wallet is involved