Skip to content

Instantly share code, notes, and snippets.

@coburncoburn
Created April 8, 2019 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coburncoburn/0310dff65bc8c8d96497c4c63eb93000 to your computer and use it in GitHub Desktop.
Save coburncoburn/0310dff65bc8c8d96497c4c63eb93000 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.7+commit.6da8b019.js&optimize=false&gist=
pragma solidity ^0.5.7;
contract Logalitos {
event Log(address x, string y);
function logger() public {
emit Log(msg.sender, "logger");
}
function outsideLog() public {
emit Log(msg.sender, "outsideLog");
logger();
internalLogger();
}
function internalLogger() internal {
emit Log(msg.sender, "inside");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment