ZLX-Check
Spot the Bug: spot price from reserves
Question 1 of 3Score 0/3
A lending protocol prices collateral with getPrice(), which reads pair.getReserves() and returns r1 * 1e18 / r0. The math is right and the pool is real. What is still wrong?
A lending protocol prices collateral with getPrice(), which reads pair.getReserves() and returns r1 * 1e18 / r0. The math is right and the pool is real. What is still wrong?