ETH_PROJET/Test.eth

13 lines
206 B
Text
Raw Normal View History

2018-02-01 10:06:19 +01:00
pragma solidity ^0.4.18;
contract Test {
int256 a = 0;
function set(int256 n) public {
a += n;
}
function get() public constant returns(int256) {
return a;
}
}