DebtTokenBase
Base contract for different types of debt tokens, like StableDebtToken or VariableDebtToken
_borrowAllowances
DELEGATION_WITH_SIG_TYPEHASH
_underlyingAsset
constructor
Constructor.
approveDelegation
Delegates borrowing power to a user on the specific debt token. Delegation will still respect the liquidation constraints (even if delegated, a delegatee cannot force a delegator HF to go below 1)
Parameters
delegationWithSig
Delegates borrowing power to a user on the specific debt token via ERC712 signature
Parameters
borrowAllowance
Returns the borrow allowance of the user
Parameters
Return Values
_approveDelegation
Updates the borrow allowance of a user on the specific debt token.
Parameters
_decreaseBorrowAllowance
Decreases the borrow allowance of a user on the specific debt token.