SHARE
TWEET

Untitled

a guest Apr 18th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pragma solidity ^0.5.7;
  2.  
  3. contract Logalitos {
  4.    
  5.   event Log(address x, string y);
  6.   function logger() public {
  7.       emit Log(msg.sender, "logger");
  8.   }
  9.  
  10.   function outsideLog() public {
  11.       emit Log(msg.sender, "outsideLog");
  12.       logger();
  13.       internalLogger();
  14.   }
  15.  
  16.   function internalLogger() internal {
  17.       emit Log(msg.sender, "inside");
  18.   }
  19. }
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
 
Top