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
![image](https://user-images.githubusercontent.com/5461429/236100282-34b7af76-20f0-438b-921a-3bb55f4fcd36.png)
![Screen Shot 2023-05-03 at 10 47 35 PM](https://user-images.githubusercontent.com/5461429/236100509-72b09bf0-c950-475a-85f2-45624cf035d9.png)
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