Преглед на файлове

Remove deprecated 'ERC20FailedDecreaseAllowance' error (#4604)

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Trevor Johnson преди 2 години
родител
ревизия
05205ab2e1
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0 5
      contracts/token/ERC20/ERC20.sol

+ 0 - 5
contracts/token/ERC20/ERC20.sol

@@ -41,11 +41,6 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
     string private _name;
     string private _symbol;
 
-    /**
-     * @dev Indicates a failed `decreaseAllowance` request.
-     */
-    error ERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
-
     /**
      * @dev Sets the values for {name} and {symbol}.
      *