add Available since 4.1 comments

(cherry picked from commit 9a698e6b7b)
This commit is contained in:
Hadrien Croubois
2021-04-19 20:55:16 +02:00
parent 915109b2c4
commit df7996b671
13 changed files with 24 additions and 2 deletions

View File

@ -77,6 +77,8 @@ abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
/**
* @dev "Consume a nonce": return the current value and increment.
*
* _Available since v4.1._
*/
function _useNonce(address owner) internal virtual returns (uint256 current) {
Counters.Counter storage nonce = _nonces[owner];