Add missing apostrophe `owner` s to `owner`'s (#5462)

Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
typo-fixes
XxAlex74xX 3 days ago committed by GitHub
parent 9cfcf8bbfe
commit 8e91d91d2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      contracts/token/ERC20/ERC20.sol
  2. 2
      contracts/token/ERC20/extensions/draft-ERC20TemporaryApproval.sol

@ -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.

@ -61,7 +61,7 @@ abstract contract ERC20TemporaryApproval is ERC20, IERC7674 {
}
/**
* @dev Sets `value` as the temporary allowance of `spender` over the `owner` s tokens.
* @dev Sets `value` as the temporary allowance of `spender` over the `owner`'s tokens.
*
* This internal function is equivalent to `temporaryApprove`, and can be used to e.g. set automatic allowances
* for certain subsystems, etc.

Loading…
Cancel
Save