mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-21 19:28:08 +00:00
Remove racist language (#4333)
* Remove racist language * Add GitHub username
This commit is contained in:
parent
c5cec20712
commit
43381c7a10
@ -1,7 +1,7 @@
|
||||
---
|
||||
eip: 721
|
||||
title: Non-Fungible Token Standard
|
||||
author: William Entriken <github.com@phor.net>, Dieter Shirley <dete@axiomzen.co>, Jacob Evans <jacob@dekz.net>, Nastassia Sachs <nastassia.sachs@protonmail.com>
|
||||
author: William Entriken (@fulldecent), Dieter Shirley <dete@axiomzen.co>, Jacob Evans <jacob@dekz.net>, Nastassia Sachs <nastassia.sachs@protonmail.com>
|
||||
discussions-to: https://github.com/ethereum/eips/issues/721
|
||||
type: Standards Track
|
||||
category: ERC
|
||||
@ -287,7 +287,7 @@ Additionally, an authorized operator may set the approved address for an NFT. Th
|
||||
The transfer and accept functions' documentation only specify conditions when the transaction MUST throw. Your implementation MAY also throw in other situations. This allows implementations to achieve interesting results:
|
||||
|
||||
- **Disallow transfers if the contract is paused** — prior art, CryptoKitties deployed contract, line 611
|
||||
- **Blacklist certain address from receiving NFTs** — prior art, CryptoKitties deployed contract, lines 565, 566
|
||||
- **Blocklist certain address from receiving NFTs** — prior art, CryptoKitties deployed contract, lines 565, 566
|
||||
- **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)
|
||||
- **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
|
||||
- **Read only NFT registry** — always throw from `unsafeTransfer`, `transferFrom`, `approve` and `setApprovalForAll`
|
||||
|
Loading…
x
Reference in New Issue
Block a user