Created
June 11, 2018 04:08
-
-
Save morenoh149/c5974bd6382983cb44fddbf4c0c983bc to your computer and use it in GitHub Desktop.
Compiled with `$ solcjs temp.sol {--abi,--bin}`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. | |
pragma solidity ^0.4.24; | |
contract SimpleStore { | |
function set(uint _value) public { | |
value = _value; | |
} | |
function get() public constant returns (uint) { | |
return value; | |
} | |
uint value; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"set","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"get","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
608060405234801561001057600080fd5b5060df8061001f6000396000f3006080604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806360fe47b114604e5780636d4ce63c146078575b600080fd5b348015605957600080fd5b5060766004803603810190808035906020019092919050505060a0565b005b348015608357600080fd5b50608a60aa565b6040518082815260200191505060405180910390f35b8060008190555050565b600080549050905600a165627a7a72305820583237ec35ca7ee69c1f81bb39a01883957242d34a1cdddac916f2dc160687eb0029 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment