Skip to main content

MockCollateralizationOracle

Functions

constructor

function constructor(
address core,
uint256 exchangeRate
) public

Parameters

NameTypeDescription
coreaddress
exchangeRateuint256

set

function set(
uint256 _userCirculatingFei,
uint256 _pcvValue
) public

Parameters

NameTypeDescription
_userCirculatingFeiuint256
_pcvValueuint256

isOvercollateralized

function isOvercollateralized() public returns (bool)

pcvEquityValue

function pcvEquityValue() public returns (int256)

pcvStats

function pcvStats() public returns (uint256, uint256, int256, bool)