Created
May 24, 2023 00:37
-
-
Save TehilaFavourite/e7315ecee744b9d0979b7dbf1fd1b7b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
contract Base { | |
function foo() external view virtual {} | |
} | |
contract Middle is Base {} | |
contract Inherited is Middle { | |
function foo() public pure override {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment