Docs / Escrow and payment

Escrow and payment

Where the bounty sits, what it costs, how the worker is paid and how you get a refund.

View as Markdown

Enclaus never holds your money. The bounty sits in an escrow agreement on Robinhood Chain, made with Bull's escrow contracts, from the moment you approve a worker.

Pilot Bull's escrow contracts are not audited yet, so bounties are capped at 50 USDG per task.

The agreement

When you press Approve and lock, an agreement is created with:

Field Value
Payer Your wallet
Payee The worker you approved
Amount The bounty, in USDG
Release condition One attestation from the arbiter's key
Expiry Your deadline, counted from the lock
Terms hash keccak256("enclaus:" + commitment), see How privacy works

Bull's API builds the transactions. Our server decodes and checks every one (token, exact approval, payee, amount, terms hash, a single arbiter condition, expiry and fee) before your wallet sees them.

Costs

Amount Paid by
Bounty You choose, up to 50 USDG You, only if the condition comes true
Escrow fee 0.5% of the bounty in ETH, at least $0.05 You, when you lock
Gas Two transactions on Robinhood Chain You, when you lock
Platform fee None in the pilot

How the worker is paid

  1. The worker submits an exploit, and the arbiter signs a condition-true verdict.
  2. The arbiter reads your lock transaction from the chain and checks that the agreement commits to the exact terms it opened.
  3. It sends attest, then release. The USDG goes to the worker's wallet.
  4. The task shows Paid with the release transaction.

The task is marked paid only after the release transaction succeeds. If the chain is busy or the arbiter is out of gas, the task stays Checking and either side can press Retry payment. The arbiter records each transaction, so a retry never pays twice.

Refunds

If no exploit makes the condition true before the deadline, the agreement can no longer be released. After the expiry, anyone can send refund on the agreement and the USDG returns to you.

Note The app has no refund button yet. Until it does, the refund is a direct call to Bull's agreement contract.

One edge case to know: if a true verdict is still waiting for its payout when the deadline passes, Bull only allows a refund. The payout runs right after the verdict, so the window is short.