-
Notifications
You must be signed in to change notification settings - Fork 12.3k
Closed
Description
If there is another issue that discusses the same topic, feel free to close this one.
I wanted to quickly get your opinion on whether it would make sense to remove the functions increaseAllowance and decreaseAllowance from the ERC20 contract and move it to an extension contract instead. My arguments are the following:
- These functions are not part of the EIP-20 specs.
- These functions may allow for further phishing possibilities (instead of the common
approveorpermitones; see e.g. just 12 hours ago someone lost $24m since he got tricked into signing a maliciousincreaseAllowancepayload https://etherscan.io/tx/0xcbe7b32e62c7d931a28f747bba3a0afa7da95169fcf380ac2f7d54f3a2f77913). - The security concerns that fix
increaseAllowanceanddecreaseAllowanceare not critical nor high in the wild (anddecreaseAllowancecan be frontrunned also) and thus I think the responsibility can be delegated to the devs to decide whether to include it or not. - If such a change is implemented, the upcoming breaking version
5.0.0would be suitable.
hjorthjort, rube-de, tserg, qckhp96565463, cypherbadger and 15 moreSuplabsYiadu-web3
Metadata
Metadata
Assignees
Labels
No labels