Open code423n4 opened 3 years ago
cmichel
Usually, the functions to increase the allowance are called increaseAllowance and decreaseAllowance but in SherXERC20 they are called increaseApproval and decreaseApproval
increaseAllowance
decreaseAllowance
SherXERC20
increaseApproval
decreaseApproval
Rename these functions to the more common names.
Good point https://docs.openzeppelin.com/contracts/2.x/api/token/erc20#ERC20
0 non-critical
I agree with warden, low risk looks reasonable here.
Handle
cmichel
Vulnerability details
Usually, the functions to increase the allowance are called
increaseAllowance
anddecreaseAllowance
but inSherXERC20
they are calledincreaseApproval
anddecreaseApproval
Recommendation
Rename these functions to the more common names.