MoCInrate
Structs
InrateParams
struct InrateParams {
uint256 tMax,
uint256 tMin,
uint256 power
}InitializeParams
struct InitializeParams {
address connectorAddress,
address governor,
uint256 btcxTmin,
uint256 btcxPower,
uint256 btcxTmax,
uint256 bitProRate,
uint256 blockSpanBitPro,
address payable bitProInterestTargetAddress,
address payable commissionsAddressTarget,
uint256 docTmin,
uint256 docPower,
uint256 docTmax
}Contract Members
InrateDailyPay
Name
Type
Description
RiskProHoldersInterestPay
Name
Type
Description
Modifiers
onlyOnceADay
onlyWhenBitProInterestsIsEnabled
Functions
setDoCTmin
Name
Type
Description
setDoCTmax
Name
Type
Description
setDoCPower
Name
Type
Description
getDoCTmin
getDoCTmax
getDoCPower
docInrateAvg
Name
Type
Description
initialize
Name
Type
Description
getBtcxTmin
getBtcxTmax
getBtcxPower
getBitProInterestBlockSpan
setBtcxTmin
Name
Type
Description
setBtcxTmax
Name
Type
Description
setBtcxPower
Name
Type
Description
getBitProRate
setBitProRate
Name
Type
Description
setBitProInterestBlockSpan
Name
Type
Description
getBitProInterestAddress
setBitProInterestAddress
Name
Type
Description
setCommissionsAddress
Name
Type
Description
spotInrate
btcxInrateAvg
Name
Type
Description
dailyInrate
calcMintInterestValues
Name
Type
Description
calcDocRedInterestValues
Name
Type
Description
calcFinalRedeemInterestValue
Name
Type
Description
calcCommissionValue
Name
Type
Description
calcCommissionValue
Name
Type
Description
calculateVendorMarkup
Name
Type
Description
calcRedeemInterestValue
Name
Type
Description
dailyInratePayment
isDailyEnabled
isBitProInterestEnabled
calculateBitProHoldersInterest
payBitProHoldersInterestPayment
setCommissionRateByTxType
Name
Type
Description
inrateToSettlement
Name
Type
Description
calcProportionalInterestValue
Name
Type
Description
calcFullRedeemInterestValue
Name
Type
Description
simulateDocMovement
Name
Type
Description
inrateDayCount
Name
Type
Description
initializeContracts
initializeValues
Name
Type
Description
Last updated