Closed c4-submissions closed 1 year ago
L-18 from the bot.
raymondfam marked the issue as low quality report
raymondfam marked the issue as primary issue
raymondfam marked the issue as duplicate of #28
kirk-baird marked the issue as unsatisfactory: Invalid
Lines of code
https://github.com/code-423n4/2023-09-ondo/blob/3362e1252f3a54943e2517460e5a7988388bc821/contracts/usdy/rUSDY.sol#L663
Vulnerability details
Impact
no oracle no updated prices. Not sure what happens if try to call getPrice() in this scenario, but IF it returns price of zero, then number of tokens from getRUSDYByShares() will be zero for any amount of USDY shares...
Proof of Concept
Tools Used
Recommended Mitigation Steps
Assessed type
Invalid Validation