Created
July 17, 2017 01:47
-
-
Save PhyrexTsai/a492bb525d82af17f0a62636ae8d2c6c 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
pragma solidity ^0.4.11; | |
contract Caller { | |
event Log(address _address, uint256 _value, bytes _data); | |
function invoke(address _address, uint256 _value, bytes _data) { | |
if (_address.call.value(_value)(_data)) { | |
Log(_address, _value, _data); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment