Dai Savings Rate
const service = maker.service('mcd:savings');
Deposit the specified amount of Dai into the Dai Savings Rate (DSR) contract.
Withdraw the specified amount of Dai from the DSR contract.
Withdraw all Dai owned by the current account from the DSR contract.
Return the amount of Dai in the DSR contract owned by the current address. Strictly speaking, this method returns the amount of Dai owned by the proxy contract for the current address. to work with the methods above.
Return the amount of Dai in the DSR contract owned by the specified address.
Get the total amount of Dai in the DSR contract for all users.
Get the current annual savings rate.