We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
interface Temp { function supportsInterface(bytes4 interfaceId) external pure returns (bool); } contract Tmp is Temp { function supportsInterface(bytes4 interfaceId) external pure override returns (bool) { return true; } }``` 使用: ` const selectorERC721 = "0x80ac58cd" const isERC721 = await contractbayc.supportsInterface(selectorERC721) ` 将返回true ,但实际上该合约并不是erc721标准的
The text was updated successfully, but these errors were encountered:
这是根据erc165标准检测的,可以满足绝大多数情况。 一般不会有合约故意实现这个接口。
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: