contract ExampleContract { function getTopLeaderboardScore() public pure returns (address, uint256) { return (0xd8da6bf26964af9d7eed9e03e53415d37aa96045, 100); } function highestScoreIsOver9000() public pure returns (bool) { (address leader, uint256 score) = getTopLeaderboardScore(); if (score > 9000) { return true; } return false; } }
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