Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 659 Bytes

Name Collision.md

File metadata and controls

23 lines (21 loc) · 659 Bytes

It is an error when any of the following pairs in a contract have the same name due to inheritance:

  1. A function and a modifier
  2. A function and an event
  3. An event and a modifier

Slide Screenshot

112.jpg


Slide Text

  • Pairs -> Same Name
  • Inheritance -> Errors
  • Function & Modifier
  • Function & Event
  • Event & Modifier

References


Tags

FunctionsEventsModifiers