Address audit findings (5.3 diff audit) (#5584)

Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
Hadrien Croubois
2025-03-19 17:00:49 +01:00
committed by GitHub
parent bfdbb67ebc
commit 994399d3cf
10 changed files with 34 additions and 14 deletions

View File

@ -49,7 +49,8 @@ interface IERC6909 is IERC165 {
function isOperator(address owner, address spender) external view returns (bool);
/**
* @dev Sets an approval to `spender` for `amount` tokens of type `id` from the caller's tokens.
* @dev Sets an approval to `spender` for `amount` of tokens of type `id` from the caller's tokens. An `amount` of
* `type(uint256).max` signifies an unlimited approval.
*
* Must return true.
*/