Richa-iitr / EthereumDefi

0 stars 0 forks source link

Token Standards #1

Open Richa-iitr opened 2 years ago

Richa-iitr commented 2 years ago

ERC721

Questions

  1. Fungible tokens store value as Bitcoin and ERC20 whereas NonFungible Tokens store data. What does data and value refer to here?
  2. What does quantity or totalSupply of token denotes? The tokens are unique so how can we have more than one of the same token?
  3. Use of data parameter while calling safeTransferFrom? What it actually contains?
  4. 'The ERC721 smart contract calls onERC721Received on the recipient after a transfer. This function may throw to revert and reject the transfer. Return of other than the magic value MUST result in the transaction being reverted'. What is the magic value here?
Richa-iitr commented 2 years ago

ERC1155

CodeLikeLisa commented 2 years ago

Hey Richa - I dm'd you on twitter just looking for a little assistance on some testing on smart contract development I'm currently attempting - would highly appreciate any advice/links/resources to guides that may assist me.