MoCRiskProxManager
Last updated
Last updated
View Source:
↗ Extends:
MoCRiskProxManager - version: 0.1.10
Constants & Variables
Arguments
connectorAddress
address
_governor
address
_c0Cobj
uint256
_x2Cobj
uint256
returns user balance
Returns
total balance for the userAddress
Arguments
bucket
bytes32
RiskProx corresponding bucket to get balance from
userAddress
address
user address to get balance from
verifies that this user has assigned balance for the given bucket
Returns
true if the user has assigned balance
Arguments
bucket
bytes32
corresponding Leveraged bucket to get balance from
userAddress
address
user address to verify balance for
index
uint256
index, starting from 1, where the address of the user is being kept
Assigns the amount of RiskProx
Arguments
bucket
bytes32
bucket from which the RiskProx will be removed
account
address payable
user address to redeem for
riskProxAmount
uint256
riskProx amount to redeem [using mocPresicion]
totalCost
uint256
ReserveToken value of riskProxAmount [using reservePrecision]
Removes the amount of RiskProx and substract ReserveTokens from bucket
Arguments
bucket
bytes32
bucket from which the RiskProx will be removed
userAddress
address payable
user address to redeem for
riskProxAmount
uint256
riskProx amount to redeem [using mocPresicion]
totalCost
uint256
reserveToken value of riskProxAmount [using reservePrecision]
Sets the amount of RiskProx
Arguments
bucket
bytes32
bucket from which the RiskProx will be setted
userAddress
address payable
user address to redeem for
value
uint256
riskProx amount to redeem [using mocPresicion]
intializes values of the contract
Arguments
_governor
address