Maker Protocol Technical Docs
Search…
Maker Protocol Technical Docs
MakerDAO Technical Docs
Getting Started
Maker Protocol 101
Smart Contract Modules
Dai Module
Core Module
Collateral Module
Liquidation 2.0 Module
System Stabilizer Module
Oracle Module
MKR Module
Governance Module
Rates Module
Proxy Module
Flash Mint Module
Maker Protocol Emergency Shutdown
Glossary
MCD Glossaries
Smart Contract Annotations
Deployment Addresses
Maker Protocol Deployments
Security
Security for the Maker Protocol
Building on top of the Maker Protocol
Developer Guides and Tutorials
The Dai Javascript Library of the Maker Protocol
Getting started
Configuration
Vault manager
Collateral types
Dai Savings Rate
Currency units
System data
Advanced
Single-Collateral Sai
Pymaker
Keepers
The Auctions of the Maker Protocol
Auction Keepers
Market Maker Keepers
Cage Keeper
Simple Arbitrage Keeper
Chief Keeper
Command-line Interfaces
Seth
Multi Collateral Dai (MCD) CLI
Dai and Collateral Redemption during Emergency Shutdown
Emergency Shutdown (ES) CLI
Miscellaneous
Liquidations 1.2 System (Deprecated)
SCD <> MCD Migration
Upgrading to Multi-Collateral Dai Guide
Powered By
GitBook
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
getAnnualBaseRate()
Returns the base rate applied to all collateral types, in addition to their individual risk premiums.
const
base
=
await
service
.
getAnnualBaseRate
();
getSystemWideDebtCeiling()
Returns the debt ceiling for the entire system.
const
line
=
await
service
.
getSystemWideDebtCeiling
();
isGlobalSettlementInvoked()
Returns a boolean that is true if emergency shutdown has been triggered.
const
dead
=
await
service
.
isGlobalSettlementInvoked
();
Previous
Currency units
Next
Advanced
Last modified
2yr ago
Export as PDF
Copy link
Outline
Instance methods
getAnnualBaseRate()
getSystemWideDebtCeiling()
isGlobalSettlementInvoked()