safeApprove is deprecated #93
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Something isn't working
duplicate
This issue or pull request already exists
Handle
pants
Vulnerability details
Vulnerability details
You use safeApprove of openZeppelin although it's deprecated. (see https://github.com/OpenZeppelin/openzeppelin-contracts/blob/566a774222707e424896c0c390a84dc3c13bdcb2/contracts/token/ERC20/utils/SafeERC20.sol#L38)
IERC20(DAI).approve(address(uniswap), amount);
(For example line 37 ExchangeHelpers.sol)
The text was updated successfully, but these errors were encountered: