Skip to content

Instantly share code, notes, and snippets.

@RareSkills
Created April 1, 2023 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save RareSkills/d6727a7f161bdfbf7ec7352bfbe02ba3 to your computer and use it in GitHub Desktop.
Save RareSkills/d6727a7f161bdfbf7ec7352bfbe02ba3 to your computer and use it in GitHub Desktop.
contract ExampleContract {

  // We will explain the significance of the indexed parameter later.
  event ExampleEvent(address indexed sender, uint256 someValue);

  function exampleFunction(uint256 someValue) public {
    emit ExampleEvent(sender, someValue);
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment