gitlab.com/flarenetwork/coreth@v0.1.1/chain/counter.sol (about) 1 pragma solidity >=0.6.0; 2 3 contract Counter { 4 uint256 x; 5 6 constructor() public { 7 x = 42; 8 } 9 10 function add(uint256 y) public returns (uint256) { 11 x = x + y; 12 return x; 13 } 14 }