# Contracts

Overview of the source code of the contracts [here](https://github.com/Mojoflower-garden/Carbon-Registry-Contracts/tree/main).&#x20;

### Carbon Contract Registry

Our [`CarbonContractRegistry`](https://github.com/Mojoflower-garden/Carbon-Registry-Contracts/blob/main/contracts/CarbonContractRegistry.sol) contract deploys all project contracts.\
\
Polygon mumbai - testnet

```
0x825CcCB05D82fcD0381E523116A03b9301E91C61
```

Polygon Test / Development contracts - mainnet

```
0x0B0fCaCD2336A5f000661fF5E69aA70c28fD526D
```

Polygon - mainnet

<pre><code><strong>0x9f87988FF45E9b58ae30fA1685088460125a7d8A
</strong></code></pre>

### Carbon Registry Token Vault

Our [`CarbonRegistryTokenVault`](https://github.com/Mojoflower-garden/Carbon-Registry-Contracts/blob/main/contracts/TokenVault.sol) contract stores credits that have been validated / verified and issued but proponent has not requested to receive the credits. It also stores a portion of credits as insurance.

Polygon mumbai - testnet

```
0xCbf5bC0E76E490C432477506F2033587a60B5Fac
```

Polygon - mainnet

```
0x219BaB4AC1FD5b83940ea52A1E1B5Ea6d5ACE23F
```

We also have a [subgraph](https://thegraph.com/hosted-service/subgraph/skjaldbaka17/carbon-registry-polygon) created using [theGraph](https://thegraph.com/) ([testnet subgraph](https://thegraph.com/hosted-service/subgraph/skjaldbaka17/carbon-registry-test) - [mainnet test contracts subgraph](https://thegraph.com/hosted-service/subgraph/skjaldbaka17/carbon-registry-main-test)). Developers can use the indexed data for getting the most important on chain data for each credit, like supply and serialization.&#x20;


---

# 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://documentation.carbonregistry.com/documentation/carbonregistry.com/on-chain/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.
