Created
April 8, 2019 18:22
-
-
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=
This file contains 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.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