Thu Mar 30 2023 11:20:15 GMT+0000 (Coordinated Universal Time)
Saved by @RareSkills
contract ExampleContract { function mustNotBeFive(uint256 x) public pure returns (uint256) { // valid, but bad practice require(x != 5); return x * 2; } }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments