Undeclared Identifier tokensOfOwner
(ERC721AQueryable.sol)
#460
Labels
duplicate
This issue or pull request already exists
tokensOfOwner
(ERC721AQueryable.sol)
#460
General information
Describe the bug
I added a function to the contract file, which uses
tokensOfOwner
from ERC721AQueryable.sol, which is clearly imported at the top of the YourNftToken.sol file:And here is my new function, checking for ownership of an NFT in a wallet:
But my VSCode editor is underlining the use of 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.Expected behavior
tokensOfOwners function should be imported correctly
Screenshots
The text was updated successfully, but these errors were encountered: