Created
November 8, 2022 21:55
-
-
Save Dan-Nolan/a3d8779a949d82bc5e0481d357e0d51a to your computer and use it in GitHub Desktop.
First Test
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.13; | |
contract HelloWorld { | |
bool public success; | |
function doTheMath(uint _x, uint _y) external { | |
require(_x + _y == 42); | |
require(_x > 0 && _y > 0); | |
success = true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment