We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 444ec4e commit a3670f1Copy full SHA for a3670f1
src/contracts/mocks/ERC20Mock.sol
@@ -191,7 +191,7 @@ contract ERC20 is IERC20, IERC165 {
191
* @param interfaceID The ERC-165 interface ID that is queried for support.
192
* @return Whether ERC-165 or ERC-20 interfaces are supported.
193
*/
194
- function supportsInterface(bytes4 interfaceID) public override view returns (bool) {
+ function supportsInterface(bytes4 interfaceID) public override pure returns (bool) {
195
return interfaceID == type(IERC165).interfaceId || interfaceID == type(IERC20).interfaceId;
196
}
197
0 commit comments