Skip to content

Instantly share code, notes, and snippets.

@gwenf
gwenf / Calculator.sol
Last active June 5, 2021 01:07
Ethereum Supple Chain Demo
pragma solidity ^0.5.1;
contract Calculator {
int public num;
constructor() public {
num = 1;
}
function getNum() view public returns(int) {