Description:Description\
the function getLiquidationCollateralAmount
get price for collateral amount used in a liquidation , but if updated if false or _exchangeRate if 0 it use stored rate , the attacker can use this as arbitrage opportunity by get sgl._exchangeRate()
Github username: -- Twitter username: -- Submission hash (on-chain): 0x9e0752047390b6c474af4d3f74224a005c3b4f9de472a9aa9c48661bfe12b15e Severity: medium
Description: Description\ the function
getLiquidationCollateralAmount
get price for collateral amount used in a liquidation , but if updated if false or_exchangeRate
if 0 it use stored rate , the attacker can use this as arbitrage opportunity by get sgl._exchangeRate()Attack Scenario\
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional)