Created
August 28, 2023 04:24
-
-
Save yongkangc/63e7d52235b44d1d7123b4bc48aa3066 to your computer and use it in GitHub Desktop.
Add.sol
This file contains hidden or 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
pragma solidity 0.6.7 | |
contract AddOne { | |
uint16 private a = 3; | |
function aPlusOne() external view returns(uint 256) { | |
return a + 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment