Unverified Commit be3c5ca5 by Alexander Committed by GitHub

clarify _spendAllowance natspec (#3188)

parent 4cb0926f
...@@ -320,7 +320,7 @@ contract ERC20 is Context, IERC20, IERC20Metadata { ...@@ -320,7 +320,7 @@ contract ERC20 is Context, IERC20, IERC20Metadata {
} }
/** /**
* @dev Spend `amount` form the allowance of `owner` toward `spender`. * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
* *
* Does not update the allowance amount in case of infinite allowance. * Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available. * Revert if not enough allowance is available.
......
...@@ -502,7 +502,7 @@ contract ERC777 is Context, IERC777, IERC20 { ...@@ -502,7 +502,7 @@ contract ERC777 is Context, IERC777, IERC20 {
} }
/** /**
* @dev Spend `amount` form the allowance of `owner` toward `spender`. * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
* *
* Does not update the allowance amount in case of infinite allowance. * Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available. * Revert if not enough allowance is available.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment