Boost _ Folks Finance 33981 - [Smart Contract - Low] The PythNode library process function implement
Description
Brief/Intro
Vulnerability Details
/// @dev adjust the price to 18 d.p., exponent is a int32 so it could be negative or positive
int256 factor = PRECISION + pythData.expo;
uint256 price = factor > 0
? pythData.price.toUint256() * (10 ** factor.toUint256())
: pythData.price.toUint256() / (10 ** factor.toUint256());Impact Details
References
Proof of concept
Proof of Concept
PreviousBoost _ Folks Finance 33978 - [Smart Contract - Critical] Attacker can Inflate effectiveCollateralVaNextBoost _ Folks Finance 33987 - [Smart Contract - Medium] Incorrect access control in receiveMessage l
Last updated
Was this helpful?