PreviewRedeem may under-price the value of the asset
Summary
previewRedeem will return an incorrect result based on address(0)
If you get the partnership the fee changes, the address could change the value
This may enable: Unfairer (bps wise), liquidations when they shouldn't happen, also will enable marginally higher profit for liquidators as they may be able to benefit from the reduction of the fee
Vulnerability Detail
Impact
A user may get liquidated earlier, and the accounting would be incorrect
GalloDaSballo
medium
PreviewRedeem
may under-price the value of the assetSummary
previewRedeem will return an incorrect result based on
address(0)
If you get the partnership the fee changes, the address could change the value This may enable: Unfairer (bps wise), liquidations when they shouldn't happen, also will enable marginally higher profit for liquidators as they may be able to benefit from the reduction of the fee
Vulnerability Detail
Impact
A user may get liquidated earlier, and the accounting would be incorrect
Code Snippet
https://arbiscan.io/address/0x13f0d29b5b83654a200e4540066713d50547606e#code
Tool used
Manual Review
Recommendation
Use the account to determine the price