Created
September 30, 2015 15:54
-
-
Save pipermerriam/3291be6a539c972f3b28 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| contract SomeLib { | |
| uint value; | |
| function getValue() returns (uint) { | |
| return value; | |
| } | |
| function setValue(uint _value) { | |
| value = _value; | |
| } | |
| } | |
| contract Main { | |
| function fetchValue() returns (uint) { | |
| return SomeLib.getValue(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment