# MoCWhitelist

* Referenced by: MoCConnector
* References/uses: Ownable
* Inherits from: Ownable

Handles contract whitelisting, a list of allowed contracts to call on each other. Due to the big code size, it was necessary to separate the logic into many contracts, and those contracts had to trigger changes in each other that naturally should belonged to internal functions. To solve this, we make this functions public but only accepting calls from certain addresses (whitelisted), which are configured to the necessary contracts while deploy and initialize.


---

# 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.moneyonchain.com/main-rbtc-contract/money-on-chain-platform/contracts-architecture/mocwhitelist.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.
