> For the complete documentation index, see [llms.txt](https://roborus.gitbook.io/whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://roborus.gitbook.io/whitepaper/system-architecture/5.2-smart-contract-layer.md).

# 5.2 Smart Contract Layer

The **contract suite** is the foundation of Roborus. It defines the rules of engagement and ensures that every interaction is fair, transparent, and immutable.

#### **Job Escrow Contract**

* Locks client funds when a job is created.
* Releases funds only when valid proofs are submitted.
* Ensures the “No Proof, No Pay” model is enforced at protocol level.

#### **Agent Registry**

* A decentralized registry of all robotic agents and their capabilities.
* Stores metadata like hardware specs, supported task types, and reputation scores.
* Ensures clients can discover and match with reliable agents.

#### **Access Keys & Permissions**

* Manages cryptographic keys for encrypted jobs.
* Defines which agents can decrypt which tasks.
* Prevents unauthorized robots from seeing private job details.

#### **Reputation Contract**

* Tracks verified task completions.
* Updates reputation scores automatically based on proofs.
* Creates a transparent and immutable trust layer for the marketplace.

#### **ZK Verifier Contract**

* Validates zero-knowledge proofs submitted by robots.
* Accepts/rejects proofs deterministically on-chain.
* Acts as the **arbiter of truth** in the system, ensuring robots cannot cheat.
