How Retainer works
One contract holds every deal. These are all the rules it follows.
A deal
The client names the worker, the asset (HYPE or a token), up to 12 milestones with amounts, and a review period of 1 to 30 days. The whole budget moves into the contract when the deal is created. Tokens that tax transfers are refused, so every milestone is exact.
A milestone's life
- Open: the worker calls
deliver, the client mayapproveearly orrefundit to themselves. - Delivered: the client may
approveor, within the review period,dispute. After the review period the worker mayclaimit. - Disputed: only the client's
approveor the worker'srefundcan move it. - Paid or Refunded: final.
Fees
| A paid milestone | 1% of its amount, to the treasury |
| Creating, delivering, disputing, refunding | 0, only gas |
Safeguards
- No owner and no arbiter, no pause, no upgrade.
- Money moves two ways: to the worker when a milestone is paid, or back to the client when it's refunded.
- Tested: approvals, timeouts, disputes and refunds. Not audited.
Contract
| Retainer deals | Published at launch |
| Treasury | - |
Elysium, chain id 99901.