Comment on page
Debt tokens are interest-accruing tokens that are minted and burned on borrow and repay, representing the debt owed by the token holder.
Although debt tokens are modeled on the ERC20 standard, they are non-transferrable. Therefore they do not implement any of the standard ERC20 functions relating to transfer() and allowance().
balanceOf() will always return the most up to date accumulated debt of the user.
totalSupply() will always return the most up to date total debt accrued by all protocol users for debt token.
Returns the address of the underlying asset of this debtToken.
Returns the address of the lend pool where this debtToken is used.
Returns the principal debt balance of user.
Returns the scaled total supply of the debt token.
Returns the principal balance of the user and principal total supply.