> For the complete documentation index, see [llms.txt](https://docs.moneyonchain.com/main-rbtc-contract/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moneyonchain.com/main-rbtc-contract/integration-with-moc-platform/introduction-to-moc/the-moc-state-contract.md).

# MoC State Contracts

## MoCInrate

Deals defines the interest rates to trade with DOC. Also with the commission rates to operate on the Money on Chain platform.

* mainnet: [0xc0f9B54c41E3d0587Ce0F7540738d8d649b0A3F3](https://explorer.rsk.co/address/0xc0f9B54c41E3d0587Ce0F7540738d8d649b0A3F3)
* testnet: [0x76790f846FAAf44cf1B2D717d0A6c5f6f5152B60](https://explorer.testnet.rsk.co/address/0x76790f846FAAf44cf1B2D717d0A6c5f6f5152B60)

## MoCState

This contract holds the system variables to manage the state, whether it's the state itself or the liquidation thresholds, as well as many `view` functions to access and evaluate it.

* mainnet: [0xb9C42EFc8ec54490a37cA91c423F7285Fa01e257](https://explorer.rsk.co/address/0xb9C42EFc8ec54490a37cA91c423F7285Fa01e257)
* testnet: [0x0adb40132cB0ffcEf6ED81c26A1881e214100555](https://explorer.testnet.rsk.co/address/0x0adb40132cB0ffcEf6ED81c26A1881e214100555)

## RBTC/USD Price Provider (Decentralized Oracle)

Coinpair, a contract that provide RBTC/USD price. Please read [Decentralized oracle ](https://github.com/money-on-chain/OMoC-Decentralized-Oracle)to obtain more information.

* mainnet: [0xe2927A0620b82A66D67F678FC9b826B0E01B1bFD](https://explorer.rsk.co/address/0xe2927A0620b82A66D67F678FC9b826B0E01B1bFD)
* testnet: [0xbffBD993FF1d229B0FfE55668F2009d20d4F7C5f](https://explorer.testnet.rsk.co/address/0xbffBD993FF1d229B0FfE55668F2009d20d4F7C5f)

## MoC Token (Optionally)

To pay optionally fees with MoC Token (lower fees). If you don't have MoC Token you can pay fees with RBTC (base coin).

* mainnet: [0x9aC7Fe28967b30e3a4E6E03286D715B42B453d10](https://explorer.rsk.co/address/0x9aC7Fe28967b30e3a4E6E03286D715B42B453d10)
* testnet: [0x45A97b54021A3F99827641AFE1bFae574431E6ab](https://explorer.testnet.rsk.co/address/0x45A97b54021A3F99827641AFE1bFae574431E6ab)

## MoCVendors

Deals with those [vendors](/main-rbtc-contract/integration-with-moc-platform/vendors.md) who want to integrate their platform with the MoC ecosystem.

* mainnet: [0x2d442aA5D391475b6Af3ad361eA3b9818fb35BcA](https://explorer.rsk.co/address/0x2d442aA5D391475b6Af3ad361eA3b9818fb35BcA)
* testnet: [0x84b895A1b7be8fAc64d43757479281Bf0b5E3719](https://explorer.testnet.rsk.co/address/0x84b895A1b7be8fAc64d43757479281Bf0b5E3719)


---

# 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.moneyonchain.com/main-rbtc-contract/integration-with-moc-platform/introduction-to-moc/the-moc-state-contract.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.
