|
|
|
@ -241,7 +241,7 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. |
|
|
|
|
* @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens. |
|
|
|
|
* |
|
|
|
|
* This internal function is equivalent to `approve`, and can be used to |
|
|
|
|
* e.g. set automatic allowances for certain subsystems, etc. |
|
|
|
@ -291,7 +291,7 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @dev Updates `owner` s allowance for `spender` based on spent `value`. |
|
|
|
|
* @dev Updates `owner`'s allowance for `spender` based on spent `value`. |
|
|
|
|
* |
|
|
|
|
* Does not update the allowance value in case of infinite allowance. |
|
|
|
|
* Revert if not enough allowance is available. |
|
|
|
|