System data

Use the mcd:systemData service to look up system-wide parameters. In the code, this is called SystemDataService.
const service = maker.service('mcd:systemData');

Instance methods


Returns the base rate applied to all collateral types, in addition to their individual risk premiums.
const base = await service.getAnnualBaseRate();


Returns the debt ceiling for the entire system.
const line = await service.getSystemWideDebtCeiling();


Returns a boolean that is true if emergency shutdown has been triggered.
const dead = await service.isGlobalSettlementInvoked();