The SolidlyV3AMO contract calls burnAndCollect to remove liquidity, but SolidlyV3 does not accrue LP fees in the pool like UniswapV3, so the fees are never collected and remain stuck. An attacker cannot directly exploit this, but the protocol loses the fees permanently.
The contract's check to prevent selling BOOST below peg only ensures the minimum output is at least the input amount, but does not stop sales that push the pool below the peg. An admin could sell BOOST below peg, causing the protocol to lose funds.
The boostPrice function in SolidlyV3AMO suffers from precision loss when the square root price is at or above Q96, causing the computed price to round down to 1 instead of the correct value. This incorrect price causes the unfarmBuyBurn function to revert because the price check fails.
The smart contracts are not strictly compliant with ERC-1504 as claimed in the README, because they use OpenZeppelin upgradeable contracts that lack a separate data contract. This breaks the stated compliance but no direct security impact is described.
The `_unfarmBuyBurn` function in the V3AMO contract calculates the amount of liquidity to burn based on the pool's token reserves, which is invalid for V3/CL pools because they allow single-sided liquidity. An attacker can add boost-only liquidity to make the contract overestimate the liquidity to burn, pushing the boost token price above the peg and profiting from the price movement.
The SolidlyV2AMO contract's interfaces for gauges and routers do not match those of Velodrome/Aerodrome, so calls to get rewards or perform swaps would fail. This prevents the contract from working with those DEXes as intended.
The liquidity calculation in addLiquidity() for V3AMO is incorrect because it uses the pool's total liquidity and USD balance, which can be manipulated by adding an unbalanced LP position. An attacker can deposit a large amount of BOOST without USD, inflating the required USD for minting liquidity, causing addLiquidity() and mintSellFarm() to fail.
The MasterAMO contract's initialize function used the initializer modifier, which prevents child contracts from initializing it. This could cause deployment failures for inheriting contracts.
The `_mintAndSellBoost()` function calls the `swap()` function on SolidlyV3 DEX pools with parameters that do not match the actual `swap()` signature used by Velodrome, Aerodrome, Fenix, Thena and Ramses. As a result, the function reverts, preventing the protocol from minting and selling BOOST tokens to restore the peg.
AX
AXION
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.