To access system status information, retrieve the ETH CDP Service through Maker.service('cdp').
const service = maker.service('cdp');
Returns: promise (resolves to system collateralization ratio)
getSystemCollateralization() returns the collateralization ratio for the entire system, e.g. 2.75
const systemRatio = await service.getSystemCollateralization();
Returns: promise (resolves to target price)
getTargetPrice() returns the target price of Dai in USD, that is, the value to which Dai is soft-pegged, which historically has been 1. It returns a
USD_DAI price unit.
const targetPrice = await service.getTargetPrice();