Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 804 Bytes

File metadata and controls

18 lines (16 loc) · 804 Bytes

ERC777 tokens have the concept of a hook function that is called before any calls to send, transfer, operatorSend, minting and burning. While these hooks enable a lot of interesting use cases, care should be taken to make sure they do not make external calls because that can lead to reentrancies. (See here)


Slide Screenshot

0106.jpg


Slide Text

  • ERC777 Hooks
  • send/trasnfer/mint/burn/operatorSend
  • External Calls -> Reentrancy
  • Check Hooks -> External Calls

References


Tags