Skip to content

Commit 19a5f63

Browse files
authored
Correct whitespace
1 parent 438c09e commit 19a5f63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

EIPS/eip-721.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Differences between this standard and EIP-20 are examined below.
3737

3838
## Specification
3939

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.
4141

4242
**Every ERC-721 compliant contract must implement the `ERC721` and `ERC165` interfaces** (subject to "caveats" below):
4343

@@ -47,7 +47,7 @@ pragma solidity ^0.4.20;
4747
/// @title ERC-721 Non-Fungible Token Standard
4848
/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
4949
/// Note: the ERC-165 identifier for this interface is 0x6466353c
50-
interface ERC721 /* is ERC165 */ {
50+
interface ERC721 /* is ERC165 */ {
5151
/// @dev This emits when ownership of any NFT changes by any mechanism.
5252
/// This event emits when NFTs are created (`from` == 0) and destroyed
5353
/// (`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
287287

288288
- **Disallow transfers if the contract is paused** — prior art, CryptoKitties deployed contract, line 611
289289
- **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)
291291
- **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
292292
- **Read only NFT registry** — always throw from `unsafeTransfer`, `transferFrom`, `approve` and `setApprovalForAll`
293293

0 commit comments

Comments
 (0)