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)
Last updated