The use of safeApprove() for token approvals is deprecated, and continued use of this function could result in failures in subsequent transactions.
The safeApprove() function is deprecated, and its use in contracts could cause reverts and failures in token transfers.
safeApprove() is used:
https://github.com/Cyfrin/2024-12-alchemix/blob/main/src/StrategyArb.sol#27
https://github.com/Cyfrin/2024-12-alchemix/blob/main/src/StrategyArb.sol#37
https://github.com/Cyfrin/2024-12-alchemix/blob/main/src/StrategyArb.sol#44
https://github.com/Cyfrin/2024-12-alchemix/blob/main/src/StrategyMainnet.sol#35
https://github.com/Cyfrin/2024-12-alchemix/blob/main/src/StrategyMainnet.sol#45
https://github.com/Cyfrin/2024-12-alchemix/blob/main/src/StrategyOp.sol#L27
https://github.com/Cyfrin/2024-12-alchemix/blob/main/src/StrategyOp.sol#L39
https://github.com/Cyfrin/2024-12-alchemix/blob/main/src/StrategyOp.sol#L50
The protocol may fail to function as intended, and transactions with unsupported tokens could be blocked.
Manual analysis
Replace safeApprove() with safeIncreaseAllowance or safeDecreaseAllowance as recommended by OpenZeppelin.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.