SHARE
TWEET

Untitled

a guest Jul 19th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pragma solidity 0.5.10;
  2.  
  3. contract A {
  4.  
  5.     event LogMsgSender(address who);
  6.  
  7.     function callMe() public {
  8.         emit LogMsgSender(msg.sender);
  9.     }
  10. }
  11.  
  12. contract B {
  13.  
  14.     function callMe(address a) public {
  15.         A(a).callMe();
  16.     }
  17. }
  18.  
  19. contract C {
  20.  
  21.     function callMe(address a, address b) public {
  22.         B(b).callMe(a);
  23.     }
  24. }
  25.  
  26. contract D {
  27.  
  28.     function callMe(address a, address b, address c) public {
  29.         C(c).callMe(a, b);
  30.     }
  31. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top