Deprecated usage of safeApprove
function in strategy contracts
According to Openzeppelin codebase, safeApprove
function is deprecated.
According to Openzeppelin codebase, safeApprove
function has issues similar to the ones found in IERC20.approve
, and its usage is discouraged.
Here's what's written in openzeppelin codebase:
safeApprove
function is deprecated:
This usage is present in multiple instances across the strategy contracts, including the constructor
, _initStrategy
, setRouter
, and others.
Using a deprecated function may lead to unexpected issues.
Manual Review
Consider using safeIncreaseAllowance
and safeDecreaseAllowance
functions fo SafeERC20.
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.