Created
May 16, 2018 04:14
-
-
Save muellerberndt/0bfc0b52f9ec1926a1d4397dbb9c82b3 to your computer and use it in GitHub Desktop.
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
pragma solidity ^0.4.17; | |
contract Callee { | |
function theFunction(uint value) public returns(bool retval) { | |
if (value == 1){ | |
return true; | |
} else { | |
return false; | |
} | |
} | |
} | |
contract Caller { | |
Callee callee = new Callee(); | |
function start(uint value) { | |
callee.theFunction(value) ; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment