Skip to content

Instantly share code, notes, and snippets.

@z0r0z
Created October 29, 2021 16:18
Show Gist options
  • Save z0r0z/6818e06b3bfc0cb4f9a41066a48a94e6 to your computer and use it in GitHub Desktop.
Save z0r0z/6818e06b3bfc0cb4f9a41066a48a94e6 to your computer and use it in GitHub Desktop.
Teapot.sol
// 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 {
}
}
@jaredcohe
Copy link

Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment