Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update StarNotary.sol - It needs a a constructor to compile now! #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

noahfigueras
Copy link

I was trying to compile the sample code for my course and It throws me the following compiler error:

node_modules/openzeppelin-solidity/contracts/token/ERC721/ERC721.sol:93:5: Missing implementation:
constructor (string memory name, string memory symbol) public {
^ (Relevant source part starts here and spans across multiple lines).

It looks like it needs the ERC721 token to Initialize with name and symbol as parameters in the constructor if I'm not wrong. I implemented that and now it compiles with no errors.

@noahfigueras
Copy link
Author

Also, just found out _transferFrom function doesn't exist. The one currently available is _transfer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant