Skip to content

Instantly share code, notes, and snippets.

@yongkangc
Created August 28, 2023 04:24
Show Gist options
  • Save yongkangc/63e7d52235b44d1d7123b4bc48aa3066 to your computer and use it in GitHub Desktop.
Save yongkangc/63e7d52235b44d1d7123b4bc48aa3066 to your computer and use it in GitHub Desktop.
Add.sol
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