Openzeppelin has deprecated several functions and replaced with newer versions
Found in src/StrategyArb.sol Line: 27
Found in src/StrategyArb.sol Line: 37
Found in src/StrategyArb.sol Line: 44
Found in src/StrategyMainnet.sol Line: 35
Found in src/StrategyMainnet.sol Line: 45
Found in src/StrategyOp.sol Line: 27
Found in src/StrategyOp.sol Line: 39
Found in src/StrategyOp.sol Line: 50
Found in src/mock/TokenAdapterMock.sol Line: 32
safeApprove() was deprecated because it can lead to transaction failures in certain scenarios, particularly when trying to modify an existing non-zero allowance. This can cause transactions to revert unexpectedly.
aderyn
slither
manual review
OpenZeppelin recommends using safeIncreaseAllowance() and safeDecreaseAllowance() instead, as these functions handle allowance modifications more safely by preventing race conditions.
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.