Remove outdated comment in ERC-20 (#4964)

This commit is contained in:
Alexander González
2024-03-18 23:21:34 +01:00
committed by GitHub
parent e682c7e5b5
commit 6ae2c17bfe

View File

@ -25,11 +25,6 @@ import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";
* instead returning `false` on failure. This behavior is nonetheless * instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC-20 * conventional and does not conflict with the expectations of ERC-20
* applications. * applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the ERC may not emit
* these events, as it isn't required by the specification.
*/ */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
mapping(address account => uint256) private _balances; mapping(address account => uint256) private _balances;