You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In V2 markets, liquidation can occur on up to 50% of the total borrowed and repaid with the given collateralized asset. However, in V3 markets, there is no restriction to how much of the total borrowed is repaid with the collateralized asset. Up to 100% can be repaid on a liquidationCall call on the contract. Thus, the tooltip is misleading for V3 markets.
Also, it can be argued that even the 50% restriction makes little sense, as a user can get liquidated for 50% of their borrowed positions, but then the same bot/address that calls liquidationCall to liquidate the user's supplied collateral can immediately do a secondary call to repay the other 50%. So it may be useful to just update the text altogether and remove the details about percentages.
Otherwise, there should be distinguishable text content between V2 and V3 markets for this tooltip, with respect to 50% and 100%.
To Reproduce
Steps to reproduce the behavior:
Go to any reserve page in V2
Hover over the "Liquidation penalty" tooltip
View text
Repeat steps 1-3 on a V3 market for any given reserve
View the same text which is innaccurate
Expected behavior
The tooltip text should be updated to include content that to be either one singular, more generic and agnostic statement about liquidations, or relevant to the given market, i.e. V2/V3.
Screenshots
Notice the V3 market and the text stating up to 50%.
The text was updated successfully, but these errors were encountered:
Describe the bug
In V2 markets, liquidation can occur on up to 50% of the total borrowed and repaid with the given collateralized asset. However, in V3 markets, there is no restriction to how much of the total borrowed is repaid with the collateralized asset. Up to 100% can be repaid on a
liquidationCall
call on the contract. Thus, the tooltip is misleading for V3 markets.Also, it can be argued that even the 50% restriction makes little sense, as a user can get liquidated for 50% of their borrowed positions, but then the same bot/address that calls
liquidationCall
to liquidate the user's supplied collateral can immediately do a secondary call to repay the other 50%. So it may be useful to just update the text altogether and remove the details about percentages.Otherwise, there should be distinguishable text content between V2 and V3 markets for this tooltip, with respect to 50% and 100%.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The tooltip text should be updated to include content that to be either one singular, more generic and agnostic statement about liquidations, or relevant to the given market, i.e. V2/V3.
Screenshots
Notice the V3 market and the text stating up to 50%.
The text was updated successfully, but these errors were encountered: