> For the complete documentation index, see [llms.txt](https://docs.moneyonchain.com/rdoc-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/rdoc-contract/rif-on-chain-platform/contracts-architecture.md).

# Contracts architecture

RoC system is a network of cooperative contracts working together to ultimately provide an US dollar pegged ERC20 Token (USDRIF). In this sense, be can categorize then into 4 categories:

* *RoC state Contracts*: They keep RoC state variables and logic (MoC, MoCState, MoCBucketContainer, MoCSettlement)
* *RoC pure logic Contracts & Libraries*: Functional extensions of the above merely to have responsibility separation and contracts size (aka deploy fee) low. (MoCHelperLib, MoCLibConnection, MoCConverter, MoCExchange, MoCConnector, MoCRiskProxManager, MoCInrate, MoCWhitelist, MoCBase)
* *Tokens*: Tokens backed by the system (OwnerBurnableToken, StableToken, RiskProToken, MoCToken)
* *External Dependencies*: External contracts the system relies on, in this case the Oracle or price provider; this could evolved independently of RoC system as along as the interface is maintained. (PriceProvider)
