Skip to content

Instantly share code, notes, and snippets.

@RareSkills
Created April 1, 2023 08:42
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