Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity ^0.4.20;
- // StandardToken is from zepplin-solidity.
- import "./StandardToken.sol";
- contract Callee {
- address public caller_;
- function setCaller() public {
- caller_ = msg.sender;
- }
- }
- contract DirectCaller is Callee, StandardToken {
- }
- contract IndirectCaller {
- function call() public {
- // "0xb87..cfa" is the address of DirectCaller contract
- Callee(0xb87213121fb89cbd8b877cb1bb3ff84dd2869cfa).setCaller();
- }
- }
Add Comment
Please, Sign In to add comment