You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 2 standard functions for approve: approve setApprovalForAll
There are no call in ERC721 standard functions to check is ERC721 tokenId is approved for given address or approved all tokenIds for given address to check it in one function.
So we need to check two functions at once, but currently we check only is tokenId approved for given address.
So we need to change the check in DepositBoxERC721:
There are 2 standard functions for approve:
approve
setApprovalForAll
There are no call in ERC721 standard functions to check is ERC721 tokenId is approved for given address or approved all tokenIds for given address to check it in one function.
So we need to check two functions at once, but currently we check only is tokenId approved for given address.
So we need to change the check in DepositBoxERC721:
on
And in TokenManagerERC721 and TokenManagerERC721WithMetadata
on
Also add test
The text was updated successfully, but these errors were encountered: