clober-dex / coupon-finance

Coupon Finance Solidity Contracts
Other
1 stars 0 forks source link

Rename `setCollateralAllowance()` #110

Closed detectivekim closed 11 months ago

detectivekim commented 1 year ago

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).