Skip to content

Instantly share code, notes, and snippets.

@AyDeveloper
Created August 9, 2022 21:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save AyDeveloper/0676aaeda94809096a77dbcb41222601 to your computer and use it in GitHub Desktop.
contract A {}
contract B {}
contract C is A, B {}
// Setting Constructor in base contract
contract A {
uint a;
constructor(uint _a) { a = _a; }
}
contract B is A {
constructor(uint _b) A(_b) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment