Skip to content

Commit b2a4309

Browse files
authored
Merge pull request #257 from 0xcert/Add-missing-notice
[WIP] Add missing @notice tags
2 parents cd8be6e + 0e3f232 commit b2a4309

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/contracts/tokens/erc721.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ interface ERC721
123123
/**
124124
* @dev Returns the number of NFTs owned by `_owner`. NFTs assigned to the zero address are
125125
* considered invalid, and this function throws for queries about the zero address.
126+
* @notice Count all NFTs assigned to an owner.
126127
* @param _owner Address for whom to query the balance.
127128
* @return Balance of _owner.
128129
*/
@@ -136,6 +137,7 @@ interface ERC721
136137
/**
137138
* @dev Returns the address of the owner of the NFT. NFTs assigned to the zero address are
138139
* considered invalid, and queries about them do throw.
140+
* @notice Find the owner of an NFT.
139141
* @param _tokenId The identifier for an NFT.
140142
* @return Address of _tokenId owner.
141143
*/
@@ -161,6 +163,7 @@ interface ERC721
161163

162164
/**
163165
* @dev Returns true if `_operator` is an approved operator for `_owner`, false otherwise.
166+
* @notice Query if an address is an authorized operator for another address
164167
* @param _owner The address that owns the NFTs.
165168
* @param _operator The address that acts on behalf of the owner.
166169
* @return True if approved for all, false otherwise.

0 commit comments

Comments
 (0)