You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EIPS/eip-721.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Differences between this standard and EIP-20 are examined below.
37
37
38
38
## Specification
39
39
40
-
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
40
+
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
41
41
42
42
**Every ERC-721 compliant contract must implement the `ERC721` and `ERC165` interfaces** (subject to "caveats" below):
43
43
@@ -47,7 +47,7 @@ pragma solidity ^0.4.20;
47
47
/// @title ERC-721 Non-Fungible Token Standard
48
48
/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
49
49
/// Note: the ERC-165 identifier for this interface is 0x6466353c
50
-
interface ERC721 /* is ERC165 */ {
50
+
interface ERC721 /* is ERC165 */ {
51
51
/// @dev This emits when ownership of any NFT changes by any mechanism.
52
52
/// This event emits when NFTs are created (`from` == 0) and destroyed
53
53
/// (`to` == 0). Exception: during contract creation, any number of NFTs
@@ -287,7 +287,7 @@ The transfer and accept functions' documentation only specify conditions when th
287
287
288
288
-**Disallow transfers if the contract is paused** — prior art, CryptoKitties deployed contract, line 611
289
289
-**Blacklist certain address from receiving NFTs** — prior art, CryptoKitties deployed contract, lines 565, 566
290
-
-**Disallow unsafe transfers** — `transferFrom` throws unless `_to` equals `msg.sender` or `countOf(_to)` is non-zero or was non-zero previously (because such cases are safe)
290
+
-**Disallow unsafe transfers** — `transferFrom` throws unless `_to` equals `msg.sender` or `countOf(_to)` is non-zero or was non-zero previously (because such cases are safe)
291
291
-**Charge a fee to both parties of a transaction** — require payment when calling `approve` with a non-zero `_approved` if it was previously the zero address, refund payment if calling `approve` with the zero address if it was previously a non-zero address, require payment when calling any transfer function, require transfer parameter `_to` to equal `msg.sender`, require transfer parameter `_to` to be the approved address for the NFT
292
292
-**Read only NFT registry** — always throw from `unsafeTransfer`, `transferFrom`, `approve` and `setApprovalForAll`
0 commit comments