Javascript SDK of WoopChain protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sdk/examples/contracts/Calc.sol

19 lines
252 B

pragma solidity ^0.5.1;
contract Calc {
uint count;
function getCount() public returns (uint) {
return count;
}
function add(uint a, uint b) public returns (uint) {
count++;
return a + b;
}
}