-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Add a tokenId field to the nullifier.
- For ERC20,
tokenIdwould always be 0 - For ERC721,
amountwould always be 1 - For ERC1155, both fields would be used
Split would not allow an ERC721 (amount of 1) to be split fractionally of course.
Question: how can the Solidity distinguish between ERC20 and ERC1155/ERC721 interfaces without a type field?
NOTE: technically if we wanted only ERC20 and ERC721 we could use the token field for everything.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers