Created
October 29, 2021 16:18
-
-
Save z0r0z/6818e06b3bfc0cb4f9a41066a48a94e6 to your computer and use it in GitHub Desktop.
Teapot.sol
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: MIT | |
pragma solidity 0.8.9; | |
contract Short { | |
string public s; | |
function short(string memory _s) public { | |
s = _s; | |
} | |
} | |
contract Stout is Short { | |
string public st; | |
function stout(string memory _st) public { | |
st = _st; | |
} | |
} | |
contract LittleTeapot is Stout { | |
function teapot() public { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice work!