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
{{ message }}
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.
Summary
Using a division sign, does not round up or down and return correct value
Decimals need to be handled in a safe way
Vulnerability Detail
Impact
Code Snippet
2023-11-olympus/bophades/src/modules/PRICE/OlympusPrice.v2.sol
Line 160 in 9c8df76
2023-11-olympus/bophades/src/modules/PRICE/OlympusPrice.v2.sol
Line 252 in 9c8df76
2023-11-olympus/bophades/src/modules/PRICE/OlympusPrice.v2.sol
Line 275 in 9c8df76
2023-11-olympus/bophades/src/modules/PRICE/OlympusPrice.v2.sol
Line 294 in 9c8df76
2023-11-olympus/bophades/src/modules/PRICE/OlympusPrice.v2.sol
Line 681 in 9c8df76
Tool used
Manual Review
Recommendation
Use Solidity's SafeMath to mitigate these errors
The text was updated successfully, but these errors were encountered: