Created
December 11, 2018 16:40
-
-
Save shingonu/2916263bf512315a3bde31d680cc49f6 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
pragma solidity ^0.4.24; | |
contract A { | |
uint256 public a; | |
uint256 public b; | |
} | |
contract B { | |
uint256 public c; | |
uint256 public d; | |
} | |
contract C is A, B { | |
uint256 public e; | |
constructor() public { | |
a = 10; | |
b = 20; | |
c = 30; | |
d = 40; | |
e = 50; | |
} | |
} |
Author
shingonu
commented
Apr 17, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment