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
  • Contract Members
  • Functions
  • execute
  • setStableTmin
  • setStableTmax
  • setStablePower
  1. Smart contracts
  2. ABIs documentation

MocInrateStableChanger

PreviousMoCWhitelistNextMockBlocker

Last updated 3 years ago

View Source:

↗ Extends: ,

MocInrateStableChanger - version: 0.1.10

This contract is used to update the configuration of MocInrate with MoC --- governance.

Contract Members

Constants & Variables

contract MoCInrate private mocInrate;

uint256 public stableTmin;

uint256 public stableTmax;

uint256 public stablePower;

Functions

function (MoCInrate _mocInrate, uint256 _stableTmin, uint256 _stableTmax, uint256 _stablePower) public nonpayable

Arguments

Name
Type
Description

_mocInrate

MoCInrate

_stableTmin

uint256

_stableTmax

uint256

_stablePower

uint256

execute

⤾ overrides ChangeContract.execute

function execute() external nonpayable

Arguments

setStableTmin

function setStableTmin(uint256 _stableTmin) public nonpayable onlyOwner 

Arguments

Name
Type
Description

_stableTmin

uint256

setStableTmax

function setStableTmax(uint256 _stableTmax) public nonpayable onlyOwner 

Arguments

Name
Type
Description

_stableTmax

uint256

setStablePower

function setStablePower(uint256 _stablePower) public nonpayable onlyOwner 

Arguments

Name
Type
Description

_stablePower

uint256

contracts/changers/MoCInrateStableChanger.sol
ChangeContract
Ownable
(MoCInrate _mocInrate, uint256 _stableTmin, uint256 _stableTmax, uint256 _stablePower)
execute()
setStableTmin(uint256 _stableTmin)
setStableTmax(uint256 _stableTmax)
setStablePower(uint256 _stablePower)