Unspent allowance may break functionality in AMO
The AMO contract uses safeApprove to grant the Curve pool an allowance, but safeApprove reverts if the current allowance is not zero. Any leftover allowance causes addLiquidity and addLiquidityOnlyStETH to revert, potentially bricking the contract.
xETH - Versus Contest
Medium