MockCollateralizationOracle
Functions
constructor
function constructor(
address core,
uint256 exchangeRate
) public
Parameters
Name | Type | Description |
---|---|---|
core | address | |
exchangeRate | uint256 |
set
function set(
uint256 _userCirculatingFei,
uint256 _pcvValue
) public
Parameters
Name | Type | Description |
---|---|---|
_userCirculatingFei | uint256 | |
_pcvValue | uint256 |
isOvercollateralized
function isOvercollateralized() public returns (bool)
pcvEquityValue
function pcvEquityValue() public returns (int256)
pcvStats
function pcvStats() public returns (uint256, uint256, int256, bool)