> For the complete documentation index, see [llms.txt](https://docs.vapinetwork.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vapinetwork.ai/tasks/contracts.md).

# Contracts

The Tasks preview uses Base Sepolia test contracts for escrow, disputes, eligibility, fees, and reputation; no mainnet deployment.

{% hint style="info" %}
Tasks is in preview. This page describes the design; the preview accepts no payments or work.
{% endhint %}

Tasks uses one escrow contract per tranche and separate contracts for creation, dispute review, reviewer eligibility, fee routing, and reputation records. You would use this page to identify the onchain component behind each action.

## Contract roles

| Contract                 | Role                                                                                                                                                                                         |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `EscrowV1`               | Holds one tranche amount under its frozen terms hash. It records the client, worker, deadlines, delivery hash, and resolution, and supports release, refund, split, and dispute transitions. |
| `EscrowFactoryV1`        | Creates deterministic `EscrowV1` clones, checks the configured payment token and escrow cap, and records which escrow addresses belong to the factory.                                       |
| `DisputeResolverV2`      | Opens the reviewer case after counter-evidence, selects three reviewers, records votes, resolves after two matching votes, and distributes the reviewer fee to voters.                       |
| `ReviewerRegistryV2`     | Stores reviewer seats, checks live eligibility through its stake gate, and holds the configured maximum escrow amount.                                                                       |
| `ThresholdReviewersGate` | Checks a reviewer's live staking balance against the configured threshold. Threshold changes use a seven-day delay.                                                                          |
| `FeeRouterV1`            | Splits the worker allocation into the net worker transfer and the configured fee transfer.                                                                                                   |
| `ReputationRegistryV1`   | Attests resolved escrows and records settlement outcome counts for the client and worker.                                                                                                    |

## Base Sepolia test deployment

The table below is the `base-sepolia.json` test deployment on chain ID `84532`. Addresses are copied from that deployment record.

| Component             | JSON key               | Address                                                                                                                         |
| --------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Council               | `council`              | [`0xf6997435Ca8DD50d9e9e794320ec87379DCEb09c`](https://sepolia.basescan.org/address/0xf6997435Ca8DD50d9e9e794320ec87379DCEb09c) |
| Fee router            | `feeRouter`            | [`0xB348641288aC8D5B677656119361B412bEd7a039`](https://sepolia.basescan.org/address/0xB348641288aC8D5B677656119361B412bEd7a039) |
| Reviewer stake gate   | `stakeGate`            | [`0x951D78F7DBCff6499cBC5fa94Dc658e28f2D4cfB`](https://sepolia.basescan.org/address/0x951D78F7DBCff6499cBC5fa94Dc658e28f2D4cfB) |
| Reviewer registry     | `reviewerRegistry`     | [`0x9ba516C6754df3506D54B3dE45124662d6659f73`](https://sepolia.basescan.org/address/0x9ba516C6754df3506D54B3dE45124662d6659f73) |
| Dispute resolver      | `disputeResolver`      | [`0x5496794F593ee8548f8e436a2Db2C54F96ab6ED2`](https://sepolia.basescan.org/address/0x5496794F593ee8548f8e436a2Db2C54F96ab6ED2) |
| Escrow factory        | `escrowFactory`        | [`0x6Ba83621eb386B3E093032096251cA504F6ee033`](https://sepolia.basescan.org/address/0x6Ba83621eb386B3E093032096251cA504F6ee033) |
| Escrow implementation | `escrowImplementation` | [`0x60560a16487Fdaf28A6B1B80F80019dE9a3267b7`](https://sepolia.basescan.org/address/0x60560a16487Fdaf28A6B1B80F80019dE9a3267b7) |
| Reputation registry   | `reputationRegistry`   | [`0xd99C4Dbe22c2e4904Da79628143E340c75e9FBf8`](https://sepolia.basescan.org/address/0xd99C4Dbe22c2e4904Da79628143E340c75e9FBf8) |

There is no Base mainnet Tasks deployment yet. The source deployment folder contains the Base Sepolia Tasks record and other network or product records, but no Base mainnet Tasks escrow tuple.

Checked on 2026-10-02.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.vapinetwork.ai/tasks/contracts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
