# Contracts

This section covers Market 2.0 contract integration for product developers and contract integrators.

## Contract Development Basics

When designing a contract to integrate with Curio:

1. Prefer read-only verification interfaces for deal checks.
2. Use explicit interface versioning.
3. Keep verification input and deal-state semantics stable and deterministic.
4. Use a deterministic not-found contract error for missing deal references.
5. Treat provider allowlisting as a separate operational policy.

## DDO

Current DDO integration uses:

1. [CurioDealView v1](/market-2.0/contracts/curiodealview.md)
2. [DDO contract review and allowlisting](/market-2.0/contracts/ddo-contract-review.md)

Future products can add their own contract interfaces without changing the top-level Market 2.0 deal envelope.


---

# Agent Instructions: 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:

```
GET https://docs.curiostorage.org/market-2.0/contracts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
