Created
June 3, 2023 22:58
-
-
Save TehilaFavourite/9da0dda497e06453da9fda8360d86567 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.6.0 <0.9.0; | |
abstract contract Performer { | |
function rules() public pure virtual returns (bytes32); | |
} | |
contract Singer is Performer { | |
function rules() public pure override returns (bytes32) { | |
return "sing"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment