github.com/annchain/OG@v0.0.9/vm/vm_test/contracts/setter.sol (about) 1 pragma solidity ^0.4.20; 2 3 contract setter { 4 uint public i; 5 uint public blc; 6 7 function setter() public { 8 i = 10; 9 blc = 0; 10 } 11 12 function() public payable { 13 blc = msg.value; 14 } 15 16 function helloWorld() public pure returns (string){ 17 return 'helloWorld'; 18 } 19 20 function set(uint n) public { 21 i = n; 22 } 23 }