contract Parent1 { function theMeaningOfLife() public pure virtual returns (uint256) { return 42; } } contract Parent2 { function hackerFavoriteNumber() public pure virtual returns (uint256) { return 1337; } } contract Child is Parent1, Parent2 { }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter