Last active
August 14, 2022 09:42
-
-
Save ac12644/8c1007b51b5c23fa7972a20b7ff4202d to your computer and use it in GitHub Desktop.
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
// Event declaration | |
event TokenPurchase( | |
address indexed purchaser, | |
address indexed investor, | |
uint256 value, | |
uint256 amount | |
); | |
// Event emit | |
emit TokenPurchase(msg.sender, _investor, msg.value, tokens); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment