RoC Stable Platform - Collateral RIF Token
  • Introduction
  • RIF On Chain platform
    • Main concepts
    • System states
    • Public actions
      • User actions
      • Process actions
    • Contracts architecture
      • MoC
      • CommissionSplitter
      • MoCState
      • MoCBucketContainer
      • MoCSettlement
      • MoCHelperLib
      • MoCLibConnection
      • MoCConverter
      • MoCExchange
      • MoCConnector
      • MoCRiskProxManager
      • MoCInrate
      • MoCVendors
      • MoCWhitelist
      • MoCBase
      • OwnerBurnableToken
      • RiskProToken
      • StableToken
      • MoCToken
      • PriceProvider
    • Contract mocks
    • Relevant patterns and choices
    • Data dictionary
    • Getting started
  • Integration with RoC platform
    • Introduction to RoC
      • The MoC Contract
      • RoC Precisions
      • RoC State Contracts
    • Getting RIFPros
      • Minting RIFPros
      • Redeeming RIFPros
    • Getting USDRIF
      • Minting USDRIF
      • Redeeming USDRIF
        • On Settlement: redeemStableTokenRequest
        • On Settlement: alterRedeemRequestAmount
        • Outside Settlement: redeemFreeStableToken
        • On Liquidation State: redeemAllStableToken
        • How-to
    • Commission fees values
    • Vendors
    • Fees calculation
    • From outside the blockchain
      • Using RSK nodes
      • Using web3
      • Official RIF On Chain ABIs
      • Events
      • Example code minting RIFPros
      • Example code minting RIFPros without Truffle
      • Example code redeeming RIFPros
      • Example code redeeming RIFPros without Truffle
      • Example code minting USDRIF
      • Example code redeeming free USDRIF
      • Example code redeeming USDRIF Request
      • Example code redeeming all USDRIF
  • Smart contracts
    • Contracts verification
    • ABIs documentation
      • Blockable
      • Blocker
      • ERC20Mintable
      • Governed
      • Initializable
      • MakeStoppable
      • MakeUnstoppable
      • MoC
      • MoCBucketContainer
      • MoCConnector
      • MoCConverter
      • MoCEMACalculator
      • MoCExchange
      • MoCHelperLib
      • MoCHelperLibMock
      • MoCInrate
      • MoCInrateRiskproxChanger
      • MoCLibConnection
      • MoCPriceProviderMock
      • MoCReserve
      • MoCRiskProxManager
      • MoCSettlement
      • MoCSettlementMock
      • MoCState
      • MoCStateMock
      • MoCToken
      • MoCVendors
      • MoCWhitelist
      • MocInrateStableChanger
      • MockBlocker
      • MockMakeStoppable
      • MockMakeUnstoppable
      • MockStopper
      • MockUpgradeDelegator
      • MockUpgraderTemplate
      • OwnerBurnableToken
      • Pausable
      • PriceFeed
      • PriceFeederAdder
      • PriceFeederRemover
      • PriceProvider
      • PriceProviderChanger
      • PriceProviderMock
      • ReserveToken
      • RiskProToken
      • StableToken
      • Stoppable
      • Stopper
      • UpgradeDelegator
      • UpgraderTemplate
Powered by GitBook
On this page
  • Bucket
  • Coverage
  • Tokens
  • USDRIF
  • RIFPro
  • MoC
  • Oracle
  1. RIF On Chain platform

Main concepts

PreviousIntroductionNextSystem states

Last updated 1 year ago

Bucket

A bucket (MoCBucket struct) is a Tokens/RIF grouping abstraction that represents certain state and follows certain rules. It's identified by a name (currently C0). It has a "balance" of RIF, USDRIF, and RIFPro. Balance accounting between buckets is articulated by a series of Smart Contracts that constitute the RoC ecosystem.

Coverage

Is the ratio between the RIF locked (backing USDRIF) and the total amount of RIF, be it in a particular bucket or the whole system (usually referred as global). Locked RIF amount is a result of the amount of USDRIF and their price in RIF (RIF/USD rate).

Tokens

USDRIF

Its value is pegged to one dollar, in the sense that the SC (using rif/usd price) will always return the equivalent amount of rif to satisfy that convertibility. It's targeted towards users seeking to avoid crypto's market volatility. It's implemented as an ERC20 token, it can be traded freely, but minted/burned only by the RoC system.

RIFPro

It's targeted towards users seeking to hodl RIFs and also receive a passive income from it. It's implemented as an ERC20 token, it can be traded freely, but minted/burned only by the RoC system. The more RIFPro minted (introducing RIF to the system), the more coverage the system has, since they add value to the system without locking any.

MoC

The MoC token is designed to govern a decentralized autonomous organization (DAO), and can also be used to pay fees for the use of the platform at a lower rate than those to be paid with RIF. MoC holders will also be able to get a reward for staking and providing services to the platform. MoC token holders will vote on contract modifications and new features. On a basic level, the DAO decides whether or not to update the code of the smart contract.

Oracle

It's crucial to the system workflow to have an up to date RIF-USD rate price feed to relay on. This is currently achieved by a separate contract so that it can be easily replaced in the future without affecting the RoC system. See .

PriceProvider
Oracle's