In the getPoolLPTokenValue function of UpliftOnlyExample.sol, This function is responsible for getting pool data for each tokens tokens in the pool . But for tokens like usdt with less than 18 decimal the value is inflated and scaled up returning inflated values
The pool's total USD value is overestimated due to incorrect scaling of token prices.
Manual
Enforce proper check of prices of tokens with different tokens decimals
Order of magnitude: Price = 1e18 (already scaled and normalized by ChainlinkOracle). PriceScaled = 1e36 PoolValueInUSD = 1e36 (mulDown) PoolTotalSupply = 1e18 PoolValueInUSD / PoolTotalSupply = 1e18. Everything seems fine here.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.