This repository has been archived by the owner on May 26, 2023. It is now read-only.
0xmuxyz - safeApprove()
function deprecated is used in multiple lines
#32
Labels
0xmuxyz
medium
safeApprove()
function deprecated is used in multiple linesSummary
safeApprove()
function deprecated is used in multiple lines.Vulnerability Detail
safeApprove()
function has been deprecated by OpenZeppelin team: Deprecate SafeERC20.safeApprove OpenZeppelin/openzeppelin-contracts#2268safeApprove()
deprecated is still used in the multiple lines in this repo.Impact
Code Snippet
safeApprove()
function deprecated is used in the following lines in this repo:Tool used
Recommendation
safeIncreaseAllowance()
function andsafeDecreaseAllowance()
function should be used.https://docs.openzeppelin.com/contracts/4.x/api/token/erc20#SafeERC20-safeApprove-contract-IERC20-address-uint256-
The text was updated successfully, but these errors were encountered: