huffc
huffc copied to clipboard
ERC721: path towards completion V2
trafficstars
This PR makes the ERC721 implementation more compliant with the standard.
1. Interface fix
Some of the view functions were marked as nonpayable instead of view.
2. Support for constructor arguments
Support for both name and symbol have been added.
You can find the function to properly encode the arguments in scripts/deploy.js.
For it to work, it's required that both the name and symbol are short strings (at most 31 bytes).
The corresponding view functions return the appropriate data.
What is the reason for the changes to package-lock.json?
What is the reason for the changes to package-lock.json?
None, it was an error! I rolled it back.