# Smart Contracts

BOB CDP related smart contracts are located at - <https://github.com/zkBob/bob-cdp-contracts>

The repository contains the necessary NatSpec documentation, used deployment scripts and provides extensive test coverage for the codebase.

<figure><img src="/files/anFkW069RKCr5k5D2UER" alt=""><figcaption><p>BOB CDP smart contract architecture</p></figcaption></figure>


---

# 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://bob-docs.zkbob.com/bob-cdp/technical-docs/smart-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.
