Created
December 7, 2023 15:10
-
-
Save mingderwang/1f36cccb240fa255997a228d50801c61 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.7; | |
contract CountEmitLog { | |
event WantsToCount(address indexed msgSender); | |
constructor() {} | |
function emitCountLog() public { | |
emit WantsToCount(msg.sender); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment