Closed detectivekim closed 11 months ago
The allowance given to the LoanPositionManager applies not just to collateral tokens, but debt tokens too.
LoanPositionManager
Consider renaming to something more generic but purposeful, such as giveLoanManagerAllowance(address token).
giveLoanManagerAllowance(address token)
Details
The allowance given to the
LoanPositionManager
applies not just to collateral tokens, but debt tokens too.Mitigation
Consider renaming to something more generic but purposeful, such as
giveLoanManagerAllowance(address token)
.