Can't use tokensOfOwner
function in ERC721AQueryable
#459
batmanbury
started this conversation in
General
Replies: 1 comment
-
Hi @batmanbury, I replied here: #460 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added a function to the contract file, which uses
tokensOfOwner
from ERC721AQueryable.sol. This is clearly imported at the top of the YourNftToken.sol file:And here is my new function, checking for ownership of a wallet:
But my VSCode editor is underlining this, and I am unable to deploy. All dependencies have been installed, and I have no errors otherwise. I clearly see the file containing
tokensOfOwners
inside node_modules after installation. I really have no idea why it would do this. Any ideas?Beta Was this translation helpful? Give feedback.
All reactions