- Variable debt tokens, representing a debt to the protocol with a variable interest rate
Although debt tokens are modelled on the ERC20/EIP20 standard, they are non-transferrable. Therefore they do not implement any of the standard ERC20/EIP20 functions relating to
Returns the underlying asset of the debt token.
function approveDelegation(address delegatee, uint256 amount)
amountof allowance for
delegateeto borrow of a particular debt token.
function borrowAllowance(address fromUser, address toUser)
Returns the borrow allowance
toUserhas been given by
Returns the current allowance of
toUserfor a particular debt token.
function scaledBalanceOf(address user)
Returns the principal debt balance of
Returns the scaled total supply of the variable debt token.
function getScaledUserBalanceAndSupply(address user)
Returns the principal balance of the
userand principal total supply.