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
there is strict equality check in usdAmountOut != usdBalanceAfter - usdBalanceBefore
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
No response
PoC
No response
Mitigation
No response
The text was updated successfully, but these errors were encountered:
sherlock-admin2
changed the title
Loud Beige Starfish - strict equality in SolidlyV2AMO will cause mintAndSellBoost to revert
FonDevs - strict equality in SolidlyV2AMO will cause mintAndSellBoost to revert
Oct 30, 2024
FonDevs
Medium
strict equality in
SolidlyV2AMO
will causemintAndSellBoost
to revertSummary
because of the strict equality check in
usdAmountOut != usdBalanceAfter - usdBalanceBefore
,_mintAndSellBoost
might failhttps://github.com/sherlock-audit/2024-10-axion/blob/main/liquidity-amo/contracts/SolidlyV2AMO.sol#L187
Root Cause
there is strict equality check in
usdAmountOut != usdBalanceAfter - usdBalanceBefore
Internal pre-conditions
No response
External pre-conditions
No response
Attack Path
No response
Impact
No response
PoC
No response
Mitigation
No response
The text was updated successfully, but these errors were encountered: